From c4ed9161e9796c5cc28553796f14193c0b0b13de Mon Sep 17 00:00:00 2001 From: Sebastian Zartner Date: Fri, 24 Nov 2023 00:59:29 +0100 Subject: [PATCH] [css-values-5] Defined more clearly --- css-values-5/Overview.bs | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/css-values-5/Overview.bs b/css-values-5/Overview.bs index e8f4dd38c1b6..3bc41e19b37c 100644 --- a/css-values-5/Overview.bs +++ b/css-values-5/Overview.bs @@ -127,19 +127,18 @@ Other Quantities -->

-Flexible lengths: the <> type

- - Fraction values are denoted by <fraction>, - and indicate a value that is some fraction of another reference value. - A fraction is a <>. - Its unit identifier is fr. - - These values specify - flexible lengths. - Each length defines a portion of a given space - which is specified by the context the type is used in. - - The allowed range of <>> values +Proportional Fractions: the <> type + + Proportional fractions are denoted by <>, + which is a <> with the fr unit. + They represent a fraction of a reference value + (typically a length) + as a proportion in relation to other [=flex fractions=] referencing that same value, + i.e. a value of ''Nfr'' represents N / max(sum of all ''fr'' values, 1). + For example, leftover space in [=grid layout=] + is distributed to a ''1fr'' track and a ''2fr'' track in a 1:2 ratio. + + The allowed range of <> values always excludes negative values, in addition to any explicit ranges that might be specified.