If you create a document with padding in the elements contained in the scroll-snap region, we get our calculations wrong and produce incorrect behavior.
<rdar://problem/20923772>
Created attachment 297605 [details] Patch
Comment on attachment 297605 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=297605&action=review Looks good, and EWS is happy. r=me. > LayoutTests/css3/scroll-snap/scroll-snap-children-with-padding-expected.txt:1 > +Scroll-snap offsets are: vertical = { 0, 10, 625, 1240, 1660, 2275, 2890, 2920 } I always get a little nervous about tests with specific pixel positions, since they can be flaky.
Comment on attachment 297605 [details] Patch Clearing flags on attachment: 297605 Committed r210072: <http://trac.webkit.org/changeset/210072>
All reviewed patches have been landed. Closing bug.