Closed Bug 2066221 Opened 3 months ago Closed 2 months ago

[wpt-sync] Sync PR 62178 - [Interop 2026] Gate relative animation range unit rejection

Categories

(Core :: Layout, task, P4)

task

Tracking

()

RESOLVED FIXED
157 Branch
Tracking Status
firefox157 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 62178 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/62178
Details from upstream follow.

Michael Reeves <michael.reeves077@gmail.com> wrote:

[Interop 2026] Gate relative animation range unit rejection

Web Animations does not define the element context or timing needed to
resolve relative lengths in rangeStart or rangeEnd. CSSWG resolved that
string and Typed OM inputs accept only absolute lengths and percentages
until an evaluation model is specified.

Blink has accepted relative lengths for some time, so changing this
behavior directly could break sites. Gate standards-compliant rejection
behind an experimental runtime feature, preserve legacy behavior
otherwise, and record whether affected inputs are accepted or rejected.
This lets WPT exercise the new behavior while compatibility data is
collected before it is enabled by default.

Validate both input forms consistently, accept absolute Typed OM lengths,
remove obsolete WPT baselines, expand WPT coverage, and add unit coverage
for both runtime-feature states and histogram outcomes.

CSSWG resolution:
https://github.com/w3c/csswg-drafts/issues/13853

Bug: 546237331
Change-Id: Ifa11dcb9977ea52c55e18c265a5b6c2b0f8ef8d4
Reviewed-on: https://chromium-review.googlesource.com/8255374
WPT-Export-Revision: 43767434879bd8cf562ca52181477e953efe6acf

Component: web-platform-tests → Layout
Product: Testing → Core

CI Results

Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 50 tests

Status Summary

Firefox

OK : 1[GitHub] 48[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: 1[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 7[GitHub] 65[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: 14[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 15[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-64-25h2-debug, Gecko-windows11-64-25h2-opt]

Chrome

OK : 1
PASS: 5
FAIL: 2

Safari

OK : 1
PASS: 6
FAIL: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Pushed by wptsync@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/940f76010cba https://hg.mozilla.org/integration/autoland/rev/79cea9c45fbe [wpt PR 62178] - [Interop 2026] Gate relative animation range unit rejection, a=testonly
Status: NEW → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 157 Branch
You need to log in before you can comment on or make changes to this bug.