diff options
author | Emilio Cobos Álvarez <emilio@crisal.io> | 2022-08-18 08:54:30 +0000 |
---|---|---|
committer | Martin Robinson <mrobinson@igalia.com> | 2023-10-02 14:37:19 +0000 |
commit | cc09c2ffb14d02c1884d15190d466eb4c2d5e700 (patch) | |
tree | 676dd514f56369a477ede59bb2136f6898745b06 /Info.plist | |
parent | dd849de9d9a44425ed2f4ba787c91fdf37a9ffb5 (diff) | |
download | servo-cc09c2ffb14d02c1884d15190d466eb4c2d5e700.tar.gz servo-cc09c2ffb14d02c1884d15190d466eb4c2d5e700.zip |
style: Add basic support for nan / infinity in calc()
Fix some tests to:
* Not assume `double` precision.
* Account for recent working group resolution with regards to NaN: https://github.com/w3c/csswg-drafts/issues/7067#issuecomment-1111211295
Not sure I caught all, but normalizing to 0 was already our existing
behavior. This feature needs more work before it can be enabled more
generally, so make it nightly-only, for now.
Also, it's unclear per spec what the serialization for infinity*1s or so
should be. Right now we serialize to <very-big-number>s, which seems
reasonable, but some tests (but not others!) expect different behavior.
I left those untouched for now.
Differential Revision: https://phabricator.services.mozilla.com/D154883
Diffstat (limited to 'Info.plist')
0 files changed, 0 insertions, 0 deletions