Skip to content

Commit 2cded55

Browse files
committed
[css-values-4] Define 0/0 as just *behaving as* 1/0, not computing to. w3c#5084
1 parent 7da35cc commit 2cded55

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

css-values-4/Overview.bs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1263,9 +1263,8 @@ Ratios: the <<ratio>> type</h3>
12631263
defaulting to ''1''.
12641264
However, <<ratio>> is always serialized with both components.
12651265

1266-
The computed value of a <<ratio>> is the pair of numbers provided,
1267-
unless both numbers are zero,
1268-
in which case the computed value is the pair (1, 0) (same as ''1 / 0'').
1266+
The computed value of a <<ratio>> is the pair of numbers provided.
1267+
However, a ratio of ''0 / 0'' behaves as the ratio ''1 / 0'' instead.
12691268

12701269
Note: This makes the behavior of ''calc(0 / 0)''
12711270
(an ordinary division,
@@ -4084,7 +4083,7 @@ Simplification</h4>
40844083

40854084
8. If |root| is a Min or Max node:
40864085

4087-
1. [=For each=] node |child| of |root|’s children:
4086+
1. [=list/For each=] node |child| of |root|’s children:
40884087

40894088
If |child| is a numeric value
40904089
with a unit other than "percent",

0 commit comments

Comments
 (0)