[wpt-sync] Sync PR 39796 - In smooth scroll test, use elapsed time to measure when scroll has ended
Categories
(Core :: DOM: CSS Object Model, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox115 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 39796 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/39796
Details from upstream follow.
Stefan Zager <szager@chromium.org> wrote:
In smooth scroll test, use elapsed time to measure when scroll has ended
WPT must be designed to run on a wide variety of hardware and refresh
rates. Many of the tests have been retrofitted to accomodate test
hardware with very slow refresh rates, but some tests (like this one)
can fail when run on hardware with very fast refresh rates, because
500 animation frames may not be enough to reach the end of a scroll
animation.With this change, we wait for 200 milliseconds and a minimum of 5
animation frames where the scroll offset doesn't change, with a
timeout after 8 seconds.Bug: chromium:770028
Change-Id: I9c024cf48359dab384356285bba237fed1d57025
Reviewed-on: https://chromium-review.googlesource.com/4497336
WPT-Export-Revision: 193d810257821ee37c4735a3d34f1f2f3890c1e3
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
Assignee | ||
Comment 2•2 years ago
|
||
Assignee | ||
Comment 3•2 years ago
|
||
Comment 5•2 years ago
|
||
bugherder |
Description
•