Re: [csswg-drafts] [css-anchor-position] Fairly common use-case seems pretty difficult (#13617)

I think a neat(ish) solution to this problem would be if `position-try` was valid within a `@position-try` rule - that way, we could re-specify the order of preference for the different position states. In this specific case would could specify `--squish-up` as the first positioning attempt within `@position --up`, so that it would prefer squishing rather than flipping back down (its default preferred state).


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


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

Received on Monday, 9 March 2026 17:59:10 UTC