Files
firefox/testing/web-platform/tests/css/css-scroll-snap
Sandra Sun 44a5e06cdb Bug 1491960 [wpt PR 13038] - Snap at ScrollIntoView., a=testonly
Automatic update from web-platform-testsSnap at ScrollIntoView.

According to the spec,
https://github.com/w3c/csswg-drafts/issues/2593#issuecomment-386154394
scrollIntoView should
1) Always snap to the target element's snap alignment, and
2) All the affected scrollers should also land on a snap position if
one exists.

This patch does part 2). Before a scrollable_area is added to
the smoothScrollSequencer with its new scroll_offset, we will check if
it has a valid snap offset around, and update the final offset
accordingly.

We'll implement part 1) in a separate patch.

Bug: 842317
Cq-Include-Trybots: luci.chromium.try​:linux_layout_tests_slimming_paint_v2;master.tryserver.blink:linux_trusty_blink_rel
Change-Id: Ica22134ed0b1f9d36f5a017c8dd0be54e907dd3d
Reviewed-on: https://chromium-review.googlesource.com/c/1188746
Reviewed-by: David Bokan <[email protected]>
Reviewed-by: Majid Valipour <[email protected]>
Commit-Queue: Sandra Sun <[email protected]>
Cr-Commit-Position: refs/heads/master@{#607019}

--

wpt-commits: a0610cf468e6208e74b2cfda77a565ab90fbd74e
wpt-pr: 13038
2018-11-14 13:38:22 +00:00
..