Skip to content

Commit ef78f1e

Browse files
authored
[css-conditional-5] Evaluating unitless zero against <length> values … (#12656)
* [css-conditional-5] Evaluating unitless zero against <length> values in style ranges * Applied review comments
1 parent 25484a4 commit ef78f1e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

css-conditional-5/Overview.bs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1371,7 +1371,8 @@ Style Container Features</h3>
13711371
<<number>>, <<percentage>>, <<length>>, <<angle>>, <<time>>, <<frequency>> or <<resolution>>.
13721372
If this cannot be done, evaluate to false.
13731373
4. If each <<style-range-value>> from the range have the same type,
1374-
compute each and evaluate the comparison.
1374+
compute each and evaluate the comparison;
1375+
a unitless zero must be treated as being a zero-<<length>> when compared against a <<length>> .
13751376
5. Otherwise evaluate to false.
13761377
</div>
13771378

0 commit comments

Comments
 (0)