Enable CSS inf/nan by default
Categories
(Core :: CSS Parsing and Computation, task)
Tracking
()
People
(Reporter: canadahonk, Assigned: canadahonk)
References
Details
(Keywords: dev-doc-complete)
Attachments
(1 file)
Turn on CSS infinity and NaN handling (in calc()
funcs) by default. Our implementation is currently better than other engines in WPT tests, and Chromium has had it enabled since 99 (~March 2022): https://chromestatus.com/feature/5657825571241984. It has been enabled in Nightly without any issues.
Spec: https://drafts.csswg.org/css-values/#ref-for-math-function%E2%91%A1%E2%91%A0
Intent needed. Also, MDN compat data is completely wrong for this feature for most engines (https://developer.mozilla.org/en-US/docs/Web/CSS/calc-constant#browser_compatibility).
Assignee | ||
Comment 1•7 months ago
|
||
Enable the CSS infinity/NaN calc constants by default.
Assignee | ||
Comment 2•7 months ago
|
||
Updated•7 months ago
|
Pushed by oj@oojmed.com: https://hg.mozilla.org/integration/autoland/rev/5bfbaed628a1 Enable CSS inf/nan by default r=emilio
Comment 4•7 months ago
|
||
bugherder |
Comment 5•7 months ago
|
||
Docs changes for this can be tracked on the following GitHub issue: https://github.com/mdn/content/issues/26693
Assignee | ||
Comment 6•7 months ago
|
||
Release Note Request (optional, but appreciated)
[Why is this notable]: CSS feature now enabled by default (will be on in 114)
[Affects Firefox for Android]: Yes
[Suggested wording]: Not sure exactly. It has been nightly only for quite a while and supported in other browsers pretty long (Chrome >a year, WebKit for a while) for reference.
[Links (documentation, blog post, etc)]: No good docs/posts for this yet?
Not in 114 beta release notes yet so doing this request :)
Comment 7•7 months ago
|
||
Added to our public beta notes with this wording:
CSS: The
infinity
andNaN
constants are now supported inside thecalc()
function.
Updated•7 months ago
|
Updated•6 months ago
|
Description
•