Re: [csswg-drafts] [css-scroll-snap-1] Improve or clarify nested snap behaviors (#9187)

I added a new option which is a switch between the two behaviours (2 and 4):

5. Join with inner ranges if gap is short - This compares the size of the outer area to the next inner snap area (or end of range). If it's shorter than a scrollport, then it extends the inner area (i.e. option 4). If it's longer, then it is a uniquely snappable area.

@fantasai WDYT of going with this option 5? This is basically saying that you should have a separate snap are for the outer range if it's large enough to view without seeing any of the inner range. It's not great as it will result in a flip of behavior at a particular size but I feel like the better experience for cases like the starting slide or inner diagrams is worth trying to support.

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 23 November 2023 16:08:30 UTC