[csswg-drafts] [css-view-transitions] view-transition-* does not accept CSS variables (#11785)

tounsoo has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-view-transitions] view-transition-* does not accept CSS variables ==
As I am building libraries, I have a case where a component can be nested, an example would be Tabs.

In that case, I need the `::view-transition-class` and `::view-transition-new` etc to be different between the nested so that transition is isolated for each. I believe using CSS var would be the cleanest way to do this but it doesn't except them.

Ex)
```
::view-transition-new(var(--tab-group-name)) {
   // some animation
}

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11785 using your GitHub account


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

Received on Wednesday, 26 February 2025 18:52:32 UTC