Closed Bug 2072079 Opened 2 months ago Closed 2 months ago

[wpt-sync] Sync PR 62697 - [svg] Make use-element-web-animations.html actually animate

Categories

(Core :: SVG, task, P4)

task

Tracking

()

RESOLVED FIXED
158 Branch
Tracking Status
firefox158 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Karl Dubost <k_dubost@apple.com> wrote:

[svg] Make use-element-web-animations.html actually animate

Fixes #62696.

Two silent bugs, so the test never ran.

font-size is not a legal identifier in a JS object literal, so the script was a SyntaxError. The fix is fontSize, not "font-size": dashed keyframe keys are dropped in all four engines, already pinned by processing-a-keyframes-argument-001.html ('font-size' in gNonAnimatableProps, 73/73).

steps(2, start) was on the empty first keyframe, where it never reaches font-size: property-less keyframes are removed before interval selection and the synthesized implicit keyframe is linear. The value slid 120px to 80px and matched the reference only at currentTime 50000. Moved to the effect options, which is also what the sibling use-element-animations.html does.

Still fails in all four engines, now because the use copy gets no mirrored animation (ShadowAnimation, unimplemented). No expectation metadata changes.

Component: web-platform-tests → SVG
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

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

Total 98 tests

Status Summary

Firefox

OK : 17
PASS: 2[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 393[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 453[Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 454[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]
FAIL: 1[GitHub] 16[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 34[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] 35[Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]

Chrome

FAIL: 1

Safari

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/440a907edc1c https://hg.mozilla.org/integration/autoland/rev/011d4150a556 [wpt PR 62697] - [svg] Make use-element-web-animations.html actually animate, a=testonly
Status: NEW → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 158 Branch
You need to log in before you can comment on or make changes to this bug.