RESOLVED CONFIGURATION CHANGED 223875
WPT failures due to calc() serialization
https://bugs.webkit.org/show_bug.cgi?id=223875
Summary WPT failures due to calc() serialization
Antoine Quint
Reported 2021-03-28 23:40:20 PDT
We fail several animation-related tests due to how calc() is serialized.
Attachments
Antoine Quint
Comment 1 2021-03-28 23:56:20 PDT
Some affected tests: - css-values/animations/calc-interpolation.html - css-transitions/animations/vertical-align-interpolation.html - css-backgrounds/animations/background-position-origin-interpolation.html - css-backgrounds/animations/border-image-width-interpolation.html There may be more.
Simon Fraser (smfr)
Comment 2 2021-03-29 09:44:40 PDT
Linky?
Antoine Quint
Comment 3 2021-03-30 05:16:43 PDT
It would probably be wise to start with https://wpt.fyi/results/css/css-values/animations/calc-interpolation.html?label=master&label=experimental&aligned. My guess is that other test failures are all due to issues that are present in this test.
Antoine Quint
Comment 4 2021-03-30 05:32:54 PDT
Other WPT tests under css/ which have calc-related issues: - css-backgrounds/animations/background-position-interpolation.html - css-backgrounds/animations/border-radius-interpolation.html - css-shapes/animation/shape-outside-interpolation.html
Radar WebKit Bug Importer
Comment 5 2021-04-04 23:41:14 PDT
Antoine Quint
Comment 6 2021-04-08 03:58:57 PDT
Bug 224322 will already improve the situation but not fix every case.
Antoine Quint
Comment 7 2021-04-08 06:42:46 PDT
Here's an example where we fail to simplify at all: <div style="border-top-left-radius: calc(5px + (0.5 * (100% - 80px)))"> <script> console.assert(document.querySelector("div").style.borderTopLeftRadius == "calc(50% - 35px)"); </script>
Antoine Quint
Comment 8 2021-04-09 10:09:31 PDT
Bug 224376 will fix some more cases.
Antoine Quint
Comment 9 2021-04-15 09:32:33 PDT
Yet more cases will be fixed by bug 224611.
Antoine Quint
Comment 10 2021-04-16 06:37:43 PDT
A few more cases are covered by bug 224670.
Antoine Quint
Comment 11 2021-04-16 08:48:39 PDT
The issues I was tracking are all fixed by the fixed bugs this bug depended on. Closing.
Note You need to log in before you can comment on or make changes to this bug.