Closed Bug 1784466 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 35449 - [scroll-animations] Enforce new lookup rules on @scroll-timeline

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox106 fixed)

RESOLVED FIXED
106 Branch
Tracking Status
firefox106 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

(Depends on 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

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

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

Anders Hartvoll Ruud <andruud@chromium.org> wrote:

[scroll-animations] Enforce new lookup rules on @scroll-timeline

In the new scroll-animations API, timeline name lookup includes
the element itself, the preceding siblings and ancestors and their
preceding siblings.

This CL enforces this on the existing (old) @scroll-timeline API
in order to make transitioning to the new API easier.

Bug: 1317765
Change-Id: Id40233e5e69533adf0d70868ebd30917dc415df2
Reviewed-on: https://chromium-review.googlesource.com/3827425
WPT-Export-Revision: d7dade3f9b6c4dc0f7201b754ba2ed91e9013922

CI Results

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

Total 7 tests and 1 subtests

Status Summary

Firefox

OK : 7
FAIL: 29

Chrome

OK : 7
PASS: 29

Safari

OK : 7
FAIL: 29

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /scroll-animations/css/animation-timeline-multiple.html [wpt.fyi]
    • animation-timeline works with multiple timelines: FAIL (Chrome: PASS, Safari: FAIL)
  • /scroll-animations/css/at-scroll-timeline-dynamic.tentative.html [wpt.fyi]
    • Switching between document and scroll timelines [immediate]: FAIL (Chrome: PASS, Safari: FAIL)
    • Switching between document and scroll timelines [scroll]: FAIL (Chrome: PASS, Safari: FAIL)
    • Changing computed value of animation-timeline changes effective timeline [immediate]: FAIL (Chrome: PASS, Safari: FAIL)
    • Changing computed value of animation-timeline changes effective timeline [scroll]: FAIL (Chrome: PASS, Safari: FAIL)
    • Changing to/from animation-timeline:none [immediate]: FAIL (Chrome: PASS, Safari: FAIL)
    • Changing to/from animation-timeline:none [scroll]: FAIL (Chrome: PASS, Safari: FAIL)
    • Changing the source descriptor switches effective timeline [immediate]: FAIL (Chrome: PASS, Safari: FAIL)
    • Changing the source descriptor switches effective timeline [scroll]: FAIL (Chrome: PASS, Safari: FAIL)
    • Reverse animation direction [immediate]: FAIL (Chrome: PASS, Safari: FAIL)
    • Reverse animation direction [scroll]: FAIL (Chrome: PASS, Safari: FAIL)
    • Switching timelines while paused [immediate]: FAIL (Chrome: PASS, Safari: FAIL)
    • Switching timelines while paused [scroll]: FAIL (Chrome: PASS, Safari: FAIL)
    • Switching timelines and pausing at the same time [immediate]: FAIL (Chrome: PASS, Safari: FAIL)
    • Switching timelines and pausing at the same time [scroll]: FAIL (Chrome: PASS, Safari: FAIL)
  • /scroll-animations/css/at-scroll-timeline-ignored.tentative.html [wpt.fyi]
    • Changing animation-timeline changes the timeline (sanity check): FAIL (Chrome: PASS, Safari: FAIL)
    • animation-timeline ignored after setting timeline with JS (ScrollTimeline from JS): FAIL (Chrome: PASS, Safari: FAIL)
    • animation-timeline ignored after setting timeline with JS (ScrollTimeline from CSS): FAIL (Chrome: PASS, Safari: FAIL)
    • animation-timeline ignored after setting timeline with JS (document timeline): FAIL (Chrome: PASS, Safari: FAIL)
    • animation-timeline ignored after setting timeline with JS (null): FAIL (Chrome: PASS, Safari: FAIL)
  • /scroll-animations/css/at-scroll-timeline-inactive-phase.html [wpt.fyi]
    • Animation does not apply when timeline is initially inactive: FAIL (Chrome: PASS, Safari: FAIL)
  • /scroll-animations/css/at-scroll-timeline-multi-pass.tentative.html [wpt.fyi]
    • Multiple style/layout passes occur when necessary: FAIL (Chrome: PASS, Safari: FAIL)
  • /scroll-animations/css/at-scroll-timeline-source-invalidation.tentative.html [wpt.fyi]
    • Nonexistent source: FAIL (Chrome: PASS, Safari: FAIL)
    • Setting id attribute: FAIL (Chrome: PASS, Safari: FAIL)
    • Removing id attribute: FAIL (Chrome: PASS, Safari: FAIL)
    • Setting id attribute earlier in the tree: FAIL (Chrome: PASS, Safari: FAIL)
    • Appending a new element: FAIL (Chrome: PASS, Safari: FAIL)
    • Removing source element: FAIL (Chrome: PASS, Safari: FAIL)
  • /scroll-animations/css/progress-based-animation-timeline.html [wpt.fyi]
    • progress based animation timeline works: FAIL (Chrome: PASS, Safari: FAIL)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a9cd0c153547 [wpt PR 35449] - [scroll-animations] Enforce new lookup rules on @scroll-timeline, a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 106 Branch
You need to log in before you can comment on or make changes to this bug.