Re: [csswg-drafts] [css-scroll-anchoring] [css-scroll-snap] What's the optimal viewing rect on the root scroller? (#4393)

I'd agree that snapping should be resolved against the visual viewport: the whole point is to get the thing in view. However, I suspect scroll-padding should resolve against the layout viewport: a lot of its use cases are around avoiding certain fixed-positioned content, for example, and that resolves against the layout viewport if I'm understanding things correctly.

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

Received on Wednesday, 16 October 2019 13:27:50 UTC