Re: [csswg-drafts] [css-view-transitions-2] view-transition-name determined by element (#8320)

I think that if we wanted to support multiple attributes with the same name in the future we could add something like:

```css
.one[@id1:id] .two[@id2:id] { view-transition-name: "something" @id1 @id2 } 
``` 
(JS destructuring assignments have the same problem and a similar sollution)

If we go with verbose function-style I'd rather use the more conservative attr+CSS-variables.

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


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

Received on Friday, 5 January 2024 10:34:44 UTC