Closed Bug 1775483 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 34529 - Remove before/after phase and scroll offsets.

Categories

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

task

Tracking

(firefox104 fixed)

RESOLVED FIXED
104 Branch
Tracking Status
firefox104 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Kevin Ellis <kevers@google.com> wrote:

Remove before/after phase and scroll offsets.

This patch removes deprecated pieces of code from scroll-timelines based
on resolutions and direction in the spec rewrite.

https://drafts.csswg.org/scroll-animations-1/rewrite

Scroll timelines no longer have settable offsets. Instead, each
timeline has a single inferred pair of offsets. For the base
ScrollTimeline class, this is presently based on the scroll range. For
ViewTimelines, the range will likely be based on enter-start to
exit-end (deferred to a followup patch).

Bug: 1338167

Change-Id: I64dc0114befc3432fe8645171c3c0b10995414eb
Reviewed-on: https://chromium-review.googlesource.com/3702953
WPT-Export-Revision: ba0483a6ef33f98a1d0eda826ffc08345985e1bf

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d9e2ecff8d62 [wpt PR 34529] - Remove before/after phase and scroll offsets., a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 104 Branch
You need to log in before you can comment on or make changes to this bug.