mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 07:13:20 +00:00
2e77b5dde1
Times like NaN and infinity are now parsed and serialized correctly. Rewrote time to use `calc_clamping_mode` instead of `was_calc` to stop some parse-time clamping which broke these values. Adjusted WPT test expectations, 19 newly pass 🎉 Also added a new WPT test to cover a missing edge case: `calc(1<unit> * NaN)` -> `calc(NaN * 1<canonical_unit>)` The very similar angle tests do this already for angle's units. Differential Revision: https://phabricator.services.mozilla.com/D171911 |
||
---|---|---|
.. | ||
components | ||
ports/geckolib | ||
tests/unit | ||
moz.build | ||
rustfmt.toml |