Bug 1768393 - Use the snap position on the axis only if the scroll snap strictness...
commitb58d2a82a174ebefdc541f7f54af8e1b20ed0ccb
authorHiroyuki Ikezoe <hikezoe.birchill@mozilla.com>
Tue, 12 Sep 2023 01:33:18 +0000 (12 01:33 +0000)
committerHiroyuki Ikezoe <hikezoe.birchill@mozilla.com>
Tue, 12 Sep 2023 01:33:18 +0000 (12 01:33 +0000)
tree71c0d4764ef0c139d9b4ef7901933be5cd7c206f
parent2c18e7014d548a872d3cdbbf4f73208b179c65d1
Bug 1768393 - Use the snap position on the axis only if the scroll snap strictness is not `none` to tell whether the given snap position is inside the scrollport or not. r=botond

Differential Revision: https://phabricator.services.mozilla.com/D184335
layout/generic/ScrollSnap.cpp
layout/generic/ScrollSnapInfo.cpp
layout/generic/ScrollSnapInfo.h
testing/web-platform/meta/css/css-scroll-snap/snap-to-visible-areas-x-axis.html.ini [deleted file]
testing/web-platform/meta/css/css-scroll-snap/snap-to-visible-areas-y-axis.html.ini [deleted file]