https://github.com/DevSDK/calc-infinity-and-NaN/blob/master/explainer.md
https://drafts.csswg.org/css-values/#ref-for-math-function%E2%91%A1%E2%91%A0
CSS calc() math function should allow infinity and NaN values by 'infinity', '-infinity', 'NaN' keywords or expressions that could be evaluated into infinity or NaN such as 'calc(1/0)'.
Not required. It's a very small part of CSS.
Not applicable
Interoperability and Compatibility
This feature may have interoperability risks. Other browsers have not yet implemented this feature.
Gecko: No signal (https://bugzilla.mozilla.org/show_bug.cgi?id=1682444)
WebKit: Shipped/Shipping (https://bugs.webkit.org/show_bug.cgi?id=231044)
Web developers: No signals
Other signals:
N/A
Yes
False
https://bugs.chromium.org/p/chromium/issues/detail?id=1133390
99
https://chromestatus.com/feature/5657825571241984
Intent to prototype: https://groups.google.com/a/chromium.org/g/blink-dev/c/4cT9dMkzVXE/m/aCT8B6PDAwAJ
This intent message was generated by Chrome Platform Status.
Contact emails
Explainerhttps://github.com/DevSDK/calc-infinity-and-NaN/blob/master/explainer.md
Specificationhttps://drafts.csswg.org/css-values/#ref-for-math-function%E2%91%A1%E2%91%A0
Design docs
SummaryCSS calc() math function should allow infinity and NaN values by 'infinity', '-infinity', 'NaN' keywords or expressions that could be evaluated into infinity or NaN such as 'calc(1/0)'.
Blink component
Search tags
TAG reviewNot required. It's a very small part of CSS.
TAG review statusNot applicable
RisksInteroperability and Compatibility
This feature may have interoperability risks. Other browsers have not yet implemented this feature.
Looking at
https://wpt.fyi/results/css/css-values?label=master&label=experimental&aligned&q=infinity-nan,
it seems like Chrome and Safari disagree on handling a top-level
calculation that produces NaN, like "calc(NaN * 1px)" - I think
we're treating it as positive Infinity, and they seem to be
treating as (unsigned?) zero?
I filed https://bugs.webkit.org/show_bug.cgi?id=234176 to track
that.
Gecko: No signal (https://bugzilla.mozilla.org/show_bug.cgi?id=1682444)
WebKit: Shipped/Shipping (https://bugs.webkit.org/show_bug.cgi?id=231044)
Web developers: No signals
Other signals:
DebuggabilityN/A
Is this feature fully tested by web-platform-tests?Yes
Flag name
Requires code in //chrome?False
Tracking bughttps://bugs.chromium.org/p/chromium/issues/detail?id=1133390
Estimated milestones99
Link to entry on the Chrome Platform Statushttps://chromestatus.com/feature/5657825571241984
Links to previous Intent discussionsIntent to prototype: https://groups.google.com/a/chromium.org/g/blink-dev/c/4cT9dMkzVXE/m/aCT8B6PDAwAJ
This intent message was generated by Chrome Platform Status.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/f98064ee-9d8a-44a5-bf37-4a32a5471496n%40chromium.org.
WebKit: Shipped/Shipping (https://bugs.webkit.org/show_bug.cgi?id=231044)
Web developers: No signals
Other signals:
DebuggabilityN/A
DevTools should support this out of the box, I think.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/c10dbce3-19ef-462b-965e-b5e5a851e7b1n%40chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAOMQ%2Bw8Wkz6eTEMXWxB2JLKir6LaVgeo9URdN%3DRsANDKRxJMVw%40mail.gmail.com.