Closed Bug 1467556 Opened 6 years ago Closed 6 years ago

[wpt-sync] Sync PR 11383 - Allows panning inside overflowing snap areas.

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
mozilla63
Tracking Status
firefox63 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 11383 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/11383
Details from upstream follow.

Sandra Sun <sunyunjia@chromium.org> wrote:
>  Allows panning inside overflowing snap areas.
>  
>  According to the spec, https://drafts.csswg.org/css-scroll-snap-1/#snap-overflow, if an overflowing
>  snap area covers the snapport in one axis and the distance between the previous snap position and
>  the next snap position is larger than the size of the snapport, the current scroll position is a
>  valid snap position.
>  
>  Bug: 826359
>  Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;master.tryserver.blink:linux_trusty_blink_rel
>  Change-Id: Iec1ebe48abe8d2653128ac2af4e6137a14c05502
>  Reviewed-on: https://chromium-review.googlesource.com/1075558
>  WPT-Export-Revision: 05cabc0c844e4c4550619fd34c98892b81d8f43f
Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
Ran 2 tests and 34 subtests
OK     : 2
PASS   : 6
FAIL   : 28

New tests that have failures or other problems:
/css/css-scroll-snap/overflowing-snap-areas.html
    Snap to current scroll position on x as the area is covering x axis.However, we snap to the specified snap position on y as the area is not covering y axis.: FAIL
    Snaps if the distance between the previous(400) and next(800) snap positions is smaller than snapport(500) on x.: FAIL
    Snaps if the distance between the previous(400) and next(800) snap positions is smaller than snapport(500) on y.: FAIL
    Snaps to the snap position if the snap area doesn't cover the snapport on x.: FAIL
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/6e47b2baf52c
[wpt PR 11383] - Allows panning inside overflowing snap areas., a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/bd8afaf5cc71
[wpt PR 11383] - Update wpt metadata, a=testonly
https://hg.mozilla.org/mozilla-central/rev/6e47b2baf52c
https://hg.mozilla.org/mozilla-central/rev/bd8afaf5cc71
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
You need to log in before you can comment on or make changes to this bug.