Closed Bug 1485707 Opened Last year Closed Last year

[wpt-sync] Sync PR 12642 - Avoid overflowing snap areas in scrollTo wpt tests

Categories

(Core :: CSS Parsing and Computation, enhancement, P4)

enhancement

Tracking

()

RESOLVED FIXED
mozilla63
Tracking Status
firefox63 --- fixed

People

(Reporter: wptsync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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 <sunyunjia@chromium.org> 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
Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
Pushed by wptsync@mozilla.com:
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.
https://hg.mozilla.org/mozilla-central/rev/c80e34a74aa7
https://hg.mozilla.org/mozilla-central/rev/8f7e788099da
Status: NEW → RESOLVED
Closed: Last year
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
You need to log in before you can comment on or make changes to this bug.