Skip to content

Commit 5afd5de

Browse files
committed
[css-values-5] Mark progress() as a math function, call out the other *-progress() functions as *not* math functions.
1 parent 4da8f9f commit 5afd5de

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

css-values-5/Overview.bs

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -566,6 +566,7 @@ Calculated Progress Values: the ''progress()'' notation</h3>
566566
between two other [=calculations=]
567567
(the [=progress start value=]
568568
and [=progress end value=]).
569+
''progress()'' is a [=math function=].
569570

570571
The syntax of ''progress()'' is defined as follows:
571572

@@ -589,7 +590,8 @@ Calculated Progress Values: the ''progress()'' notation</h3>
589590
or do enough places auto-convert that it's not necessary?
590591

591592
Note: The ''progress()'' function is essentially syntactic sugar
592-
for a particular pattern of ''calc()'' notations.
593+
for a particular pattern of ''calc()'' notations,
594+
so it's a [=math function=].
593595

594596
<h3 id="media-progress-func">
595597
Media Query Progress Values: the ''media-progress()'' notation</h3>
@@ -624,6 +626,9 @@ Media Query Progress Values: the ''media-progress()'' notation</h3>
624626
The result will be a <<number>>,
625627
determined by [=calculating a progress function=].
626628

629+
Note: ''media-progress()'' is <em>not</em> a [=math function=];
630+
it's just a function that evaluates to a <<number>>.
631+
627632
<h3 id="container-progress-func">
628633
Container Query Progress Values: the ''container-progress()'' notation</h3>
629634

@@ -660,6 +665,9 @@ Container Query Progress Values: the ''container-progress()'' notation</h3>
660665
''container-progress()'' resolves its <<size-feature>> query
661666
against the [=small viewport size=].
662667

668+
Note: ''media-progress()'' is <em>not</em> a [=math function=];
669+
it's just a function that evaluates to a <<number>>.
670+
663671

664672
<!-- Big Text: *-mix()
665673

0 commit comments

Comments
 (0)