Bug 1729735 [wpt PR 30400] - Update scroll-animation tests to be independent of scrol...
commit013bf8a038d5fd6fd9feb06e2b36a0d3ff9406fa
authorKevin Ellis <kevers@chromium.org>
Tue, 14 Sep 2021 10:00:39 +0000 (14 10:00 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Tue, 21 Sep 2021 14:21:48 +0000 (21 14:21 +0000)
tree0fe3a2e6cc9152592878eba01db92a5b4ae9e615
parentbdf77c30845ad54e5a136a6f122b59a55ce82398
Bug 1729735 [wpt PR 30400] - Update scroll-animation tests to be independent of scrollbar width, a=testonly

Automatic update from web-platform-tests
Update scroll-animation tests to be independent of scrollbar width

This patch addresses sources of test failures observed when implementing
a polyfill implementation of scroll timelines. Different platforms can
use different scrollbar widths, which leads to some changes in
expectations. By hiding the scrollbars, we have consistency across
platforms and avoid fractional scroll offsets.

Previous expectations may be the source of Mac failures.
Deferring possible re-enabling of Mac tests to a followup CL.

Bug: 1246372
Change-Id: I6b7ad072af495b23e4acf0654a210847de8cb78b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3149090
Reviewed-by: Xida Chen <xidachen@chromium.org>
Commit-Queue: Kevin Ellis <kevers@chromium.org>
Cr-Commit-Position: refs/heads/main@{#919758}

--

wpt-commits: ef3d38ed29fcc2760eaf3af45d9eb8a0845522ff
wpt-pr: 30400
testing/web-platform/tests/scroll-animations/current-time.html
testing/web-platform/tests/scroll-animations/element-based-offset.html
testing/web-platform/tests/scroll-animations/progress-based-current-time.tentative.html
testing/web-platform/tests/scroll-animations/testcommon.js