[wpt-sync] Sync PR 41200 - Add a workaround for smooth scroll operations.
Categories
(Core :: DOM: CSS Object Model, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox119 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 41200 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/41200
Details from upstream follow.
Hiroyuki Ikezoe <hiroyuki.ikezoe@gmail.com> wrote:
Add a workaround for smooth scroll operations.
In Gecko there's a bug [1] that smooth scroll operations at the beginning of page loading are sometimes omitted. The bug is caused by a race condition in our architecture that smooth scroll operations are processed in a different process. Because of the bug the first test case in scroll-behavior-main-frame-{root|window}.html sometimes fails on Firefox. Just adding two
awaiting rAFs
avoids the race. And I believe it doesn't spoil the purpose of the test case itself.Also I guess Blink has a similar race since the same test case fails [2] on Chrome. But I am not sure whether this workaround fixes the failure on Blink since I haven't been able to reproduce the Blink's failure locally.
[1] https://bugzilla.mozilla.org/show_bug.cgi?id=1845646
[2] https://wpt.fyi/results/css/cssom-view/scroll-behavior-main-frame-window.html?label=experimental&label=master&product=chrome&product=firefox&product=safari&aligned&view=interop&q=label%3Ainterop-2022-scrolling
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Updated•1 year ago
|
Assignee | ||
Updated•1 year ago
|
Assignee | ||
Comment 1•1 year ago
|
||
Assignee | ||
Comment 2•1 year ago
|
||
Assignee | ||
Comment 3•1 year ago
|
||
Assignee | ||
Comment 4•1 year ago
|
||
Assignee | ||
Comment 5•1 year ago
|
||
Comment 7•1 year ago
|
||
bugherder |
Description
•