Re: [csswg-drafts] [css-anchor-position-1] Interaction between trying position options and CSS transitions (#13048)

> For 2, yes, transitioning off of a position option change is the entire point of the style/layout interleaving mechanic.

I think there's a misunderstanding here.

Say an element has `position-try: flip-block flip-inline`, the element currently isn't using any position options, and some style changes happen so that only `flip-inline` doesn't overflow. First, style/layout interleaving will try the base style (not using position options). The base style makes it overflow, so it then tries `flip-block` (by applying `flip-block` on the base style, then use that style). `flip-block` still overflows, so it then tries `flip-inline`, which finally doesn't overflow.

My concern is, when trying position options, we apply different styles to see which one doesn't overflow. When trying styles here, should it trigger transitions?

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


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

Received on Wednesday, 5 November 2025 00:26:30 UTC