[wpt-sync] Sync PR 64089 - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=327660
Categories
(Core :: DOM: Animation, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox162 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 64089 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/64089
Details from upstream follow.
Ahmad Saleem <ahmad.saleem792+github@gmail.com> wrote:
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=327660
WebKit export from bug: linear(<!---->)<!----> easing function rejects a percentage written before the number
<pre>
linear() easing function rejects a percentage written before the numberThis patch aligns WebKit with Gecko / Firefox and Blink / Chromium.
The grammar for a linear() stop is <number> && <percentage>{0,2} [1]. The
"&&" combinator means both components are required but may appear in either
order, so "linear(0% 0, 100% 1)" is valid. We only accepted the number first,
so any stop that began with a percentage caused the whole function to be
rejected.Fall back to consuming the percentages first and then require the number.
A stop with percentages on both sides of the number, such as
"linear(0% 0 50%, 1)", is still rejected, since <percentage>{0,2} must be
contiguous. Serialization is unchanged.[1] <a href="https://drafts.csswg.org/css-easing-2/#funcdef-linear">https://drafts.csswg.org/css-easing-2/#funcdef-linear</a>
WebKit-Bug: <a href="https://bugs.webkit.org/show_bug.cgi?id=327660">https://bugs.webkit.org/show_bug.cgi?id=327660</a>
WebKit-Canonical-Link: <a href="https://commits.webkit.org/323951@main">https://commits.webkit.org/323951@main</a>
</pre>
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Updated•26 days ago
|
| Assignee | ||
Updated•26 days ago
|
| Assignee | ||
Updated•25 days ago
|
| Assignee | ||
Comment 1•25 days ago
|
||
CI Results
Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 15 tests and 22 subtests
Status Summary
Firefox
OK : 1[GitHub] 13[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS: 2[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 11[GitHub] 149[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL: 20
Chrome
OK : 1
PASS: 11
Safari
OK : 1
PASS: 3
FAIL: 8
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /css/css-easing/linear-timing-functions-syntax.html [wpt.fyi]
- e.style['animation-timing-function'] = "linear(0, 1)" should set the property value:
FAIL - e.style['animation-timing-function'] = "linear(-10, -5, 0, 5, 10)" should set the property value:
FAIL - e.style['animation-timing-function'] = "linear(-10 -10%, -5 -5%, 0, 5, 10)" should set the property value:
FAIL - e.style['animation-timing-function'] = "linear(0 calc(0%), 0 calc(100%))" should set the property value:
FAIL - e.style['animation-timing-function'] = "linear(0 calc(50% - 50%), 0 calc(50% + 50%))" should set the property value:
FAIL - e.style['animation-timing-function'] = "linear(0 calc(50%), 0 100%)" should set the property value:
FAIL - e.style['animation-timing-function'] = "linear(0 0% 50%, 1 50% 100%)" should set the property value:
FAIL - e.style['animation-timing-function'] = "linear(0, 0.5 25% 75%, 1 100% 100%)" should set the property value:
FAIL - e.style['animation-timing-function'] = "linear(0, 1.3, 1, 0.92, 1, 0.99, 1, 0.998, 1 100% 100%)" should set the property value:
FAIL - e.style['animation-timing-function'] = "linear(0, 0 40%, 1, 0.5, 1)" should set the property value:
FAIL - e.style['animation-timing-function'] = "linear(0, 1.3, 1, 0.92, 1, 0.99, 1, 1.004, 0.998, 1 100% 100%)" should set the property value:
FAIL - Property animation-timing-function value 'linear(0, 1.3, 1, 0.92, 1, 0.99, 1, 1.004, 0.998, 1 100% 100%)':
FAIL
- e.style['animation-timing-function'] = "linear(0, 1)" should set the property value:
- /css/css-easing/timing-functions-syntax-computed.html [wpt.fyi]
- Property animation-timing-function value 'cubic-bezier(calc(-2), calc(0.7 / 2), calc(1.5), calc(0))':
FAIL - Property animation-timing-function value 'steps(calc(-10), start)':
FAIL - Property animation-timing-function value 'steps(calc(1), jump-none)':
FAIL - Property animation-timing-function value 'steps(calc(2 + sign(100em - 1px)), end)':
FAIL
- Property animation-timing-function value 'cubic-bezier(calc(-2), calc(0.7 / 2), calc(1.5), calc(0))':
- /css/css-easing/timing-functions-syntax-valid.html [wpt.fyi]
- e.style['animation-timing-function'] = "cubic-bezier(calc(-2), calc(0.7 / 2), calc(1.5), calc(0))" should set the property value:
FAIL - e.style['animation-timing-function'] = "cubic-bezier(0, sibling-index(), 1, sign(2em - 20px))" should set the property value:
FAIL - e.style['animation-timing-function'] = "steps(calc(1), jump-none)" should set the property value:
FAIL - e.style['animation-timing-function'] = "steps(calc(2 + sign(100em - 1px)))" should set the property value:
FAIL
- e.style['animation-timing-function'] = "cubic-bezier(calc(-2), calc(0.7 / 2), calc(1.5), calc(0))" should set the property value:
Comment 3•17 days ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/fb62e047d178
https://hg.mozilla.org/mozilla-central/rev/9dbc51062e59
Description
•