Re: [csswg-drafts] [css-scroll-snap] Visibility requirement makes x and y axis snapping dependent

Hmm, that's a good point.

(Your exact example shouldn't trigger anything, as they're far enough 
away from the scroll direction that they can't both be alignable *and*
 within the target viewport. But you could put them much closer 
together and get it to trigger.)

@fantasai Thoughts? I think Majid's suggestion that we have an 
explicit out for "if aligning to both axises would make you hide at 
least one of the aligning elements, just don't align one of the 
axises" is a good one.

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

Received on Monday, 23 January 2017 21:55:16 UTC