Skip to content

Commit 52732ea

Browse files
committed
[css-values-4] Don't imply that NaN and -0 censoring rules only apply to <number> calculations.
1 parent 3eeafc3 commit 52732ea

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

css-values-4/Overview.bs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3485,10 +3485,11 @@ Type Checking</h3>
34853485

34863486
If a <dfn export>top-level calculation</dfn>
34873487
(a [=math function=] not nested inside of another [=math function=])
3488-
would produce a NaN,
3489-
it instead produces +∞.
3490-
If a [=top-level calculation=] would produce 0⁻,
3491-
it instead produces the standard "unsigned" zero.
3488+
would produce a value whose numeric part is NaN,
3489+
it instead act as though the numeric part is +∞.
3490+
If a [=top-level calculation=]
3491+
would produce a value whose numeric part is 0⁻,
3492+
it instead acts as though the numeric part is the standard "unsigned" zero.
34923493

34933494
<div class=example>
34943495
For example, ''calc(-5 * 0)'' produces an unsigned zero--

0 commit comments

Comments
 (0)