Skip to content

Commit d014ab9

Browse files
committed
[css-values-4] Rephrase example to use px, so there's no distracting computed-value unit change when it's not the point of the example. Fixes #3806.
1 parent 7ba240d commit d014ab9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

css-values-4/Overview.bs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3086,8 +3086,8 @@ Computed Value</h3>
30863086

30873087
Where percentages are not resolved at computed-value time,
30883088
they are not resolved in [=math functions=],
3089-
e.g. ''calc(100% - 100% + 1em)'' resolves to ''calc(1em + 0%)'',
3090-
not to ''1em''.
3089+
e.g. ''calc(100% - 100% + 1px)'' resolves to ''calc(1px + 0%)'',
3090+
not to ''1px''.
30913091
If there are special rules for computing percentages in a value
30923092
(e.g. <a href="https://www.w3.org/TR/CSS21/visudet.html#the-height-property">the <css>height</css> property</a>),
30933093
they apply whenever a [=math function=] contains percentages.

0 commit comments

Comments
 (0)