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•2 years ago
|
||
Enable the CSS infinity/NaN calc constants by default.
Assignee | ||
Comment 2•2 years ago
|
||
Updated•2 years ago
|
Comment 4•2 years ago
|
||
bugherder |
Comment 5•2 years ago
|
||
Docs changes for this can be tracked on the following GitHub issue: https://github.com/mdn/content/issues/26693
Assignee | ||
Comment 6•1 years 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•1 years ago
|
||
Added to our public beta notes with this wording:
CSS: The
infinity
andNaN
constants are now supported inside thecalc()
function.
Updated•1 years ago
|
Updated•1 year ago
|
Description
•