Intent to Prototype: Allow infinity, -infinity and NaN in CSS calc()

105 views
Skip to first unread message

Seokho Song

unread,
Dec 15, 2020, 11:29:00 AM12/15/20
to blin...@chromium.org

Contact emails

0xde...@gmail.com

Explainer

https://github.com/DevSDK/calc-infinity-and-NaN/blob/master/explainer.md

Specification

https://drafts.csswg.org/css-values/#ref-for-math-function%E2%91%A1%E2%91%A0

Design docs


https://bit.ly/349gXjq

Summary

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)'.


Blink component

Blink>CSS

Motivation

This feature improves conformance with the spec.


Initial public proposal

None

Search tags

csscalcinfinitynan

TAG review

Not required. It's a very small part of CSS.

TAG review status

Not applicable

Risks


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: No signal (https://bugs.webkit.org/show_bug.cgi?id=219832)

Web developers: No signals


Is this feature fully tested by web-platform-tests?

No

Tracking bug

https://bugs.chromium.org/p/chromium/issues/detail?id=1133390

Link to entry on the Chrome Platform Status

https://chromestatus.com/feature/5657825571241984

This intent message was generated by Chrome Platform Status.
Reply all
Reply to author
Forward
0 new messages