gecko-dev/servo
CanadaHonk 2e77b5dde1 Bug 1820875 - Parse and serialize NaN and infinity times correctly r=emilio
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
2023-03-08 15:04:13 +00:00
..
components Bug 1820875 - Parse and serialize NaN and infinity times correctly r=emilio 2023-03-08 15:04:13 +00:00
ports/geckolib Bug 1817641 - Convert RGBA to AbsoluteColor for computed/animated/resolved CSS colors r=emilio 2023-03-07 11:28:15 +00:00
tests/unit Bug 1352757 - Add lab(), lch(), oklab(), oklch() to specified colors. r=supply-chain-reviewers,emilio 2023-01-20 10:55:51 +00:00
moz.build
rustfmt.toml