Re: [csswg-drafts] [css-scroll-snap] Support scroll-padding on all elements. (#7931)

@tabatkins 
> (I'm still bothered by us not having a way to set scroll-padding to respond to the actual height of some element; having to hardcode 51px in your example is such a code smell.)

With anchor positioning we might have a better way if `scroll-padding` would support `anchor-size()` function. Here's my suggestion for it: https://github.com/w3c/csswg-drafts/issues/13558

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


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

Received on Wednesday, 25 February 2026 07:04:36 UTC