Skip to content

Commit c7c366a

Browse files
committed
[css-values-4] Remove outdated issue, and slightly reword note for clarity.
1 parent 3aa42e3 commit c7c366a

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

css-values-4/Overview.bs

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1259,10 +1259,12 @@ Ratios: the <<ratio>> type</h3>
12591259
unless both numbers are zero,
12601260
in which case the computed value is the pair (1, 0) (same as ''1 / 0'').
12611261

1262-
Note: This makes the behavior of ''calc(0 / 0)'' and ''0 / 0'' consistent,
1263-
which is generally true in all other cases.
1264-
1265-
Issue: This is being discussed in <a href="https://github.com/w3c/csswg-drafts/issues/4954">Issue 4954</a>.
1262+
Note: This makes the behavior of ''calc(0 / 0)''
1263+
(an ordinary division,
1264+
which resolves to ''NaN''
1265+
and is then "censored" to ''infinity'')
1266+
consistent with the ratio ''0 / 0'';
1267+
this consistency is generally true in all other cases.
12661268

12671269
If two <<ratio>>s need to be compared,
12681270
divide the first number by the second,

0 commit comments

Comments
 (0)