Re: [csswg-drafts] [css-anchor-position] position-visibility initial value should be `always`, not `anchors-visible` ? (#10425)

> The current impl in Chrome isn't reflecting the spec; it indeed is using "always" as the initial value. But the spec's text is intentional - if your anchor is off-screen or otherwise scrolled off, you _usually_ want it to hide.

Thanks @tabatkins, that makes sense. So as soon as an element becomes an anchor-positioned element, per spec it should adopt the `anchors-visible` behavior? 

The way we've currently written it reflects the current implementation, so I think it is OK to publish it like that for now. We'll just have to change it once behavior updates. 

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


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

Received on Tuesday, 11 June 2024 15:57:54 UTC