Re: [csswg-drafts] [css-view-transitions-2] Allow an auto-generated `view-transition-name` that doesn't default to ID (#10995)

These two features you mention already exist:

> One that takes the view-transition-name from an attribute.

`attr()`

> One that generates a view-transition-name for the (pseudo-)element.

`match-element`


`auto` is nice because it tries to do the "right thing" for both SPA and MPA without having to write `attr(id ident, match-element)`. It's essentially just syntax sugar. 

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


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

Received on Thursday, 31 October 2024 13:39:17 UTC