[wpt-sync] Sync PR 45853 - Support multiple simultaneous smooth scrollIntoViews
Categories
(Core :: DOM: CSS Object Model, task, P4)
Tracking
()
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 45853 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/45853
Details from upstream follow.
David Awogbemila <awogbemila@chromium.org> wrote:
Support multiple simultaneous smooth scrollIntoViews
Previously, ScrollRectToVisible would cancel an ongoing smooth
scrollIntoView (a scroll sequence) in favor of running a new/incoming
scrollIntoView. Instead of cancelling the previous scroll sequence,
this patch merges the previous sequence with the new sequence so that
any we still execute any scrolls in the old sequence involving
scrollers which are not involved in the new scroll sequence. Such
scrolls are queued in the new sequence so that their order from the
old sequence is preserved.Bug: 325081538
Change-Id: I3f0cc5860da9c5e9091f59d5dc9fa45c8d27b00b
Reviewed-on: https://chromium-review.googlesource.com/5477991
WPT-Export-Revision: f839f40c65b390bfd3b92d3e6c5df4e452f6a290
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Updated•1 year ago
|
Description
•