Skip to content

Commit aa296cb

Browse files
committed
[css-values-5][editorial] Consistency fixup of *progress() definitions
1 parent a9ff488 commit aa296cb

1 file changed

Lines changed: 13 additions & 8 deletions

File tree

css-values-5/Overview.bs

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -853,13 +853,15 @@ Media Query Progress Values: the ''media-progress()'' notation</h3>
853853
</pre>
854854

855855
where the value of the [=media feature=] corresponding to <<mf-name>>
856-
is the [=progress value=],
857-
and the two calculations are the [=progress start value=] and [=progress end value=],
856+
represents the [=progress value=],
857+
and the two <<calc-sum>> values represent
858+
the [=progress start value=] and [=progress end value=],
858859
respectively.
859860

860861
The specified [=media feature=] must be a valid “range” type feature,
861-
and the specified [=progress start value=] and [=progress end value=]
862+
the specified [=progress start value=] and [=progress end value=]
862863
must be valid values for the specified [=media query=],
864+
and both [=calculation=] values must have a [=consistent type=],
863865
or else the function is invalid.
864866
Units in the [=progress start value=] and [=progress end value=]
865867
are interpreted as specified for the [=media feature=]
@@ -890,12 +892,14 @@ Container Query Progress Values: the ''container-progress()'' notation</h3>
890892
the named containers to consider when selecting a container
891893
to resolve them against.
892894
The value of the [=size feature=] is the [=progress value=],
893-
and the two calculations are the [=progress start value=] and [=progress end value=],
895+
and the two <<calc-sum>> values represent
896+
the [=progress start value=] and [=progress end value=],
894897
respectively.
895898

896-
The [=progress start value=] and [=progress end value=]
897-
must be valid values for the specified <<size-feature>>,
898-
and must have a [=consistent type=],
899+
The specified <<mf-name>> must be a valid [=size feature=],
900+
the specified [=progress start value=] and [=progress end value=]
901+
must be valid values for that [=size feature=],
902+
and both [=calculation=] values must have a [=consistent type=],
899903
or else the function is invalid.
900904
Units in the [=progress start value=] and [=progress end value=]
901905
are interpreted as specified for the [=size feature=]
@@ -3264,7 +3268,8 @@ Changes</h2>
32643268
* Added ''inherit()''.
32653269
(<a href="https://github.com/w3c/csswg-drafts/issues/2864">Issue 2864</a>)
32663270
* Redesigned ''attr()''.
3267-
(<a href="https://github.com/w3c/csswg-drafts/issues/10437">Issue 10437</a>)
3271+
(<a href="https://github.com/w3c/csswg-drafts/issues/10437">Issue 10437</a>,
3272+
<a href=")
32683273
* Changed ''*progress()'' functions to use commas for argument separation,
32693274
for consistency with ''*mix()'' and ''clamp()''.
32703275
(<a href="https://github.com/w3c/csswg-drafts/issues/10489">Issue 10489</a>)

0 commit comments

Comments
 (0)