Re: [csswg-drafts] [css-anchor-position] custom @position-try should allow transform-origin and translate (#11666)

There is now an [explainer](https://github.com/w3c/csswg-drafts/blob/main/css-anchor-position-1/anchored_container_query.md) for CSS Anchored Fallback Container Queries which Chrome is going to [prototype](https://groups.google.com/a/chromium.org/g/blink-dev/c/9NCtqAWS8KA/m/NWSnzdfCAAAJ). 

The motivation use cases include: "Run different animations based on the position of the anchored element".

However, there is a caveat: it can only be used to style the descendants of the anchor positioned element:

> the anchored element itself cannot be styled with such queries. 

So it doesn't sound like it would solve the animation direction issue? The explainer goes on to say:

> If it is possible to allow more properties than the ones currently allow in @position-try rules, the spec could instead extend that list and allow the queries outlined here to offer a more rich styling for the anchored element subtree.

-- 
GitHub Notification of comment by o-t-w
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11666#issuecomment-2916383778 using your GitHub account


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

Received on Wednesday, 28 May 2025 13:33:16 UTC