Skip to content

Commit adcc4ee

Browse files
committed
[css-properties-values-api] Specify that calc expressions get reduced
during computation for <number> and <percentage> values. w3c#69
1 parent 634d71e commit adcc4ee

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

css-properties-values-api/Overview.bs

+6-1
Original file line numberDiff line numberDiff line change
@@ -209,9 +209,14 @@ described in [[!css3-values]] and [[!css-cascade-4]] respectively. Otherwise:
209209

210210
For &lt;length> values, the computed value is the absolute length expressed in pixels.
211211

212-
For &lt;number>, &lt;percentage>, &lt;custom-ident>, string or "*" values, the
212+
For &lt;custom-ident>, string or "*" values, the
213213
computed value is identical to the specified value.
214214

215+
For &lt;number> and &lt;percentage> values which are not calc expressions, the
216+
computed value is identical to the specified value. Calc expressions that are
217+
&lt;number> and &lt;percentage> values get reduced during computation to simple
218+
numbers and percentages respectively.
219+
215220
For values with a syntax that references a CSS property, the computed value
216221
is defined by that property.
217222

0 commit comments

Comments
 (0)