Bug 1838625 [wpt PR 40567] - Fix wpt tests for css math functions to handle NaN and...
commita52e7bd11b634a06831736cdbaa1afca645d32ca
authorBlink WPT Bot <blink-w3c-test-autoroller@chromium.org>
Thu, 6 Jul 2023 16:20:54 +0000 (6 16:20 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Wed, 12 Jul 2023 07:53:26 +0000 (12 07:53 +0000)
tree4ada26daef5a9706ee915ffcfd000525917876ab
parenta17edc5e1c86808993d7ea4ec24b4afe29c99a46
Bug 1838625 [wpt PR 40567] - Fix wpt tests for css math functions to handle NaN and infinity, a=testonly

Automatic update from web-platform-tests
Fix wpt tests for css math functions to handle NaN and infinity (#40567)

Change tests results to see that NaN goes to 0 on top-level as per:
https://drafts.csswg.org/css-values-4/#top-level-calculation

And correctly handle the infinity expectations. Remove -infinity for
matrix as it can't round-trip.

Reviewed: https://github.com/web-platform-tests/wpt/pull/40567
Discussed: https://github.com/web-platform-tests/interop/issues/337

Change-Id: I4a0a7273c9e82a7f6e21b3bf8ed877b62076e3d3

Co-authored-by: Daniil Sakhapov <sakhapov@chromium.org>
--

wpt-commits: 4e1fc86b7e59919575c9832142e8d81217b3ff02
wpt-pr: 40567
testing/web-platform/tests/css/css-values/exp-log-serialize.html
testing/web-platform/tests/css/css-values/round-mod-rem-serialize.html