Skip to content

Commit feba667

Browse files
committed
[css-values-4] Clarify that simplification happens at used-value time as well, and always reduces the math function to a numeric value.
1 parent c5cd052 commit feba667

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

css-values-4/Overview.bs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3490,7 +3490,7 @@ Computed Value</h3>
34903490

34913491
The [=computed value=] of a [=math function=]
34923492
is its [=calculation tree=] [=simplified=],
3493-
using all the information available at [=computed-value=] time.
3493+
using all the information available at [=computed value=] time.
34943494
(Such as the ''em'' to ''px'' ratio,
34953495
how to resolve percentages in some properties,
34963496
etc.)
@@ -3503,6 +3503,10 @@ Computed Value</h3>
35033503
(e.g. <a href="https://www.w3.org/TR/CSS21/visudet.html#the-height-property">the <css>height</css> property</a>),
35043504
they apply whenever a [=math function=] contains percentages.
35053505

3506+
The [=calculation tree=] is again simplified at [=used value=] time;
3507+
with [=used value=] time information,
3508+
a [=math function=] always simplifies down to a single numeric value.
3509+
35063510
<div class='example'>
35073511
For example,
35083512
whereas 'font-size' computes percentage values at <a>computed value</a> time

0 commit comments

Comments
 (0)