Re: [csswg-drafts] [css-scroll-snap-1] Drop 'scroll-padding: auto'? (#12943)

Quick sketch of a herustic:

From each edge of the scrollport establish the current "obscured edge" (initially the scrollport edge). Tracking from the middle of that edge towards the center, recursively check if there is a fixed-positioned box within 1em from the current "obsucred edge"; if so, extend the "obscured edge" to its far border edge.

For the contents of a containing block with sticky boxes, the "obscured edge" is the furthest of the scrollport's global "obscured edge" or the farthest border edge of a sticky-positioned box stuck to that side (as tracked from the center).

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


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

Received on Monday, 13 October 2025 21:11:43 UTC