Re: [csswg-drafts] [css-anchor-1] `anchor()` inside an `inset` shorthand (#8582)

The `auto-same` keyword should do what you want, yes. It resolves to the same side as the property it's in, so `inset: anchor(--foo auto-same);` will set all four edges to the corresponding edge of the anchor.

(Because none of the insets will be auto, it won't have any fallback implications.)

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


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

Received on Wednesday, 15 March 2023 23:43:19 UTC