Skip to content

Commit ed0a9a4

Browse files
committed
[css-values] measurement -> quantity
1 parent 484a7dd commit ed0a9a4

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

css-values/Overview.bs

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -662,13 +662,14 @@ Percentages: the <<percentage>> type</h3>
662662
It corresponds to the <<percentage-token>> production
663663
in the <a href="https://www.w3.org/TR/css-syntax/">CSS Syntax Module</a> [[!CSS3SYN]].
664664

665-
Percentage values are always relative to another measurement,
665+
Percentage values are always relative to another quantity,
666666
for example a length.
667-
Each property that allows percentages also defines the measurement to which the percentage refers.
668-
This measurement can be a value of another property for the same element,
669-
that of a property for an ancestor element,
670-
or a measurement of the formatting context
671-
(e.g., the width of a <a>containing block</a>).
667+
Each property that allows percentages also defines the quantity to which the percentage refers.
668+
This quantity can be a value of another property for the same element,
669+
the value of a property for an ancestor element,
670+
a measurement of the formatting context
671+
(e.g., the width of a <a>containing block</a>),
672+
or something else.
672673

673674
In cases where a <<percentage>> can represent the same quantity
674675
as a <a>dimension</a> or <a>number</a> in the same <a>component value</a> position,

0 commit comments

Comments
 (0)