Skip to content

Commit 8863e86

Browse files
authored
[css-values-5] Require calc-size() calculation types to match <length-percentage>
1 parent 60b5b16 commit 8863e86

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

css-values-5/Overview.bs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1771,6 +1771,7 @@ The first argument given is the <dfn>calc-size basis</dfn>,
17711771
and the second is the <dfn>calc-size calculation</dfn>.
17721772
For either argument,
17731773
if a <<calc-sum>> is given,
1774+
its [=CSSNumericValue/type=] must [=CSSNumericValue/match=] <<length-percentage>>,
17741775
it must resolve to a <<length>>.
17751776

17761777
Within the [=calc-size calculation=],

0 commit comments

Comments
 (0)