Revision 343fd25cd72c64ed30da54b650220cca7338cd57 authored by Sandra Sun on 14 March 2018, 17:24:07 UTC, committed by Blink WPT Bot on 14 March 2018, 18:11:13 UTC
According to spec, https://www.w3.org/TR/css-scroll-snap-1/#snap-scope
we should only consider the snap points of visible snap areas.
This patch implements the visibility requirement by adding a field of
visible region for each snap point. It also handles the case of
visibility conflict when snapping to two axes individually.

Bug: 778257
Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.android:android_optional_gpu_tests_rel
Change-Id: I7a3d2aa6b9c1293df3f05118152f105fa3265d29
Reviewed-on: https://chromium-review.googlesource.com/814874
Commit-Queue: Sandra Sun <sunyunjia@chromium.org>
Reviewed-by: Jeremy Roman <jbroman@chromium.org>
Reviewed-by: Ali Juma <ajuma@chromium.org>
Reviewed-by: Majid Valipour <majidvp@chromium.org>
Cr-Commit-Position: refs/heads/master@{#543111}
1 parent ec54ac4
History
File Mode Size
resources
OWNERS -rw-r--r-- 17 bytes
basic.html -rw-r--r-- 2.7 KB
callback-exception.html -rw-r--r-- 827 bytes
callback-idle-periods.html -rw-r--r-- 1.7 KB
callback-iframe.html -rw-r--r-- 479 bytes
callback-invoked.html -rw-r--r-- 515 bytes
callback-multiple-calls.html -rw-r--r-- 1.4 KB
callback-removed-frame.html -rw-r--r-- 1.1 KB
callback-suspended.html -rw-r--r-- 2.5 KB
callback-timeout-when-busy.html -rw-r--r-- 2.8 KB
callback-timeout.html -rw-r--r-- 1.3 KB
callback-xhr-sync.html -rw-r--r-- 515 bytes
cancel-invoked.html -rw-r--r-- 1.0 KB
idlharness.html -rw-r--r-- 1.5 KB

back to top