Re: [csswg-drafts] [css-anchor-position] Should scroll-margin/padding have an effect on position-visibility: anchors-visible? (#10410)

Can this be controlled in some way? Very often sticky headers make the anchors in the main content fully hidden, and not always `scroll-padding` is possible to implement. If something can benefit from both use cases (using `scroll-margin` for getting this extra _margin_ from the ), I'd always want a way to configure it (not care too much about the default).

That said, maybe going with “`scroll-padding` has an effect, but `scroll-margin` is not” could be fine, as it will at least allow some control, but in practice I often see those used interchangeably. 

-- 
GitHub Notification of comment by kizu
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10410#issuecomment-3398929462 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 20:15:38 UTC