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

I think that pseudo-class could look weird, I'm not sure if there can be other use cases for it, and if could be weird in a sense that what if we'd override the `anchor-default` within it?

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”?

What would be the downsides of something like that?

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


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

Received on Saturday, 14 October 2023 17:46:55 UTC