Re: [csswg-drafts] [css-scroll-snap] Choosing a snap position when children have mixed scroll-snap-align values

I think @whsieh's question was related to whether an alignment axis 
contributes multiple points. In his diagram, imagine you start 
scrolling at 45 degrees South East. You could technically snap to the 
point in the bottom left, or along the lines on the right.

So his idea is to treat all snap positions as line segments (where a 
point is just a zero length segment). You then find the closest point 
on any of the line segments to use as the snap destination.

i.e. each element contributes a scroll snap line segment, not a scroll
 snap position.

-- 
GitHub Notification of comment by grorg
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/780#issuecomment-264028631 
using your GitHub account

Received on Wednesday, 30 November 2016 23:21:52 UTC