Skip to content

Conversation

@moz-wptsync-bot
Copy link
Collaborator

Also, we drop ProgressTimelineScheduler since we don't need it anymore.

The update in the test is necessary (just like what we do for wpt) for
make sure getComputedStyle() works after we sample the scroll timelines,
because the updating of stale timelines has no effect on forced style and
layout calculations triggered by getComputedStyle() or similar.
In other words, initially stale timelines are visible as such through those
APIs.

Note: there are two new test failures because the timing of caching the
current time is later than the moment we trigger the animation and
scrollTo API. I will try to fix them in the following patch. In this
patch we focus on switching the sampling way and to make sure we don't
cause lots of regressions.

Differential Revision: https://phabricator.services.mozilla.com/D269666

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1817051
gecko-commit: 239cc012563870819ca11a9eaf5658c4a9090682
gecko-reviewers: firefox-style-system-reviewers, layout-reviewers, hiro, emilio

Also, we drop ProgressTimelineScheduler since we don't need it anymore.

The update in the test is necessary (just like what we do for wpt) for
make sure getComputedStyle() works after we sample the scroll timelines,
because the updating of stale timelines has no effect on forced style and
layout calculations triggered by getComputedStyle() or similar.
In other words, initially stale timelines are visible as such through those
APIs.

Note: there are two new test failures because the timing of caching the
current time is later than the moment we trigger the animation and
scrollTo API. I will try to fix them in the following patch. In this
patch we focus on switching the sampling way and to make sure we don't
cause lots of regressions.

Differential Revision: https://phabricator.services.mozilla.com/D269666

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1817051
gecko-commit: 239cc012563870819ca11a9eaf5658c4a9090682
gecko-reviewers: firefox-style-system-reviewers, layout-reviewers, hiro, emilio
Copy link
Collaborator

@wpt-pr-bot wpt-pr-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The review process for this patch is being conducted in the Firefox project.

@moz-wptsync-bot moz-wptsync-bot merged commit 16fac03 into master Dec 16, 2025
25 checks passed
@moz-wptsync-bot moz-wptsync-bot deleted the gecko/1817051 branch December 16, 2025 19:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants