W3C home > Mailing lists > Public > public-css-archive@w3.org > January 2017

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

From: Majid Valipour via GitHub <sysbot+gh@w3.org>
Date: Wed, 25 Jan 2017 17:00:52 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-275166187-1485363650-sysbot+gh@w3.org>
> (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.)

Probably my diagram is not clear but I was picturing a case where user
 scroll gesture ends at this situation and we are looking for snap 
alignment in both axis. If I read the spec correctly in this situation
 both elements are visible within the snapport and thus valid 
candidate in their respective axis. 

I included the direction arrow to emphasis that user scrolling both 
horizontally and vertically which is why the logic is looking for snap
 alignments in **both** axis. Presumably if the user was only 
scrolling in one direction the UA may decide to only consider snapping
 in that axis.

GitHub Notification of comment by majido
Please view or discuss this issue at 
using your GitHub account
Received on Wednesday, 25 January 2017 17:00:58 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:07 UTC