Skip to content

Commit c955f5a

Browse files
authored
[css-values-5] Require calc-size() calculation types to match <length-percentage> (#10736)
1 parent 6a9acf1 commit c955f5a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

css-values-5/Overview.bs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1771,7 +1771,8 @@ 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-
it must resolve to a <<length>>.
1774+
its [=CSSNumericValue/type=] must [=CSSNumericValue/match=] <<length-percentage>>,
1775+
and it must resolve to a <<length>>.
17751776

17761777
Within the [=calc-size calculation=],
17771778
if the [=calc-size basis=] is not ''calc-size()/any'',

0 commit comments

Comments
 (0)