Skip to content

Fix scroll-animations/css/scroll-timeline-inactive.html #1273

@kevers-google

Description

@kevers-google

Test List

https://wpt.fyi/results/scroll-animations/css/scroll-timeline-inactive.html

Rationale

The test was originally authored in 2020. In 2023, there was a resolution to reduce the default scoping to ancestors only (w3c/csswg-drafts#7759). The last update to the test predates this resolution.

Adding timeline-scope addresses the problem with resolving the timeline. This test was failing on all browsers. With the following patch:

https://chromium-review.git.corp.google.com/c/chromium/src/+/7736342

the test passes on Chromium-based browsers and Safari.

The patch includes some further refactoring to simplify the test, while providing equivalent coverage.

Interesting that no automatic pull-request was created for the change in blink.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions