Closed Bug 1485707 Opened 2 years ago Closed 2 years ago
[wpt-sync] Sync PR 12642 - Avoid overflowing snap areas in scroll
To wpt tests
Sync web-platform-tests PR 12642 into mozilla-central (this bug is closed when the sync is complete). PR: https://github.com/web-platform-tests/wpt/pull/12642 Details from upstream follow. Sandra Sun <email@example.com> wrote: > Avoid overflowing snap areas in scrollTo wpt tests > > scrollTo-scrollBy-snaps.html is failing on wpt dashboard. This is > caused by the uncertainty of the window size for testharness tests. > If the window size becomes small enough that the snap area covers the > snapport, the snap won't happen. This test changes the landing position > of scrollTo and scrollBy so that the snap area won't cover ths snapport > regardless of the window size. > > More specifically, the snap area's vertical range is 1000-1600, and the > snap positin is 1000. If we land on 1200 and the window's height is > smaller than 400, the snap area will cover the window. But if we land > on 900, the snap area won't cover the window regardless of the height. > > Bug: 876052 > Change-Id: I448ecb1e3cc2cc458d467472ca38d49bf01d2901 > Reviewed-on: https://chromium-review.googlesource.com/1182299 > WPT-Export-Revision: e470c93ef7aa37c51cd2feebc087beabe99f32d3
2 years ago
Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=f6c6e268d5cbf92957b55587092e316c6059e222
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=f5366ef274ee7e577a97a7dc238157c223c5b860
Pushed by firstname.lastname@example.org: https://hg.mozilla.org/integration/mozilla-inbound/rev/c80e34a74aa7 [wpt PR 12642] - Avoid overflowing snap areas in scrollTo wpt tests, a=testonly https://hg.mozilla.org/integration/mozilla-inbound/rev/8f7e788099da [wpt PR 12642] - Update wpt metadata, a=testonly
Result changes from PR not available.
You need to log in before you can comment on or make changes to this bug.