-
Hiroyuki Ikezoe authored
Bug 1551806 - Don't try to snap if there is no valid snap positions for the scroll-snap v1 implementation. r=botond From the spec [1]; If a valid snap position exists then the scroll container must snap at the termination of a scroll (if none exist then no snapping occurs). Both of test cases in this commit fail without this change. [1] https://drafts.csswg.org/css-scroll-snap-1/#valdef-scroll-snap-type-mandatory Differential Revision: https://phabricator.services.mozilla.com/D31409 --HG-- extra : moz-landing-system : lando
f2920c13