Re: [csswg-drafts] [css-anchor-position-1] A pseudo class for anchor-positioned state? (#9465)

> and if could be weird in a sense that what if we'd override the anchor-default within it?

Right. That would make it super weird. So a pseudo class is probably not a working idea.

> My first idea for this was something like: could we always set the `inset: auto`, but override the auto to be something “if the element is in the overlay, and does not have an associated anchor, it resolves to 0”?

That would be ideal, but we need a more detailed solution here.

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


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

Received on Sunday, 15 October 2023 01:48:42 UTC