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

The `auto` keyword allows the CSS author to identify an element using selectors (such as class selectors), and to indicate that they should use view transitions to visually transition from one DOM state to another, and let's the JS author figure out how they want to manage the tree and the elements' sense of identity. This is imho a perfectly reasonable way to divide the responsibilities. It is not going to be reasonable for some use cases, but it is going to be very convenient for others. And that's OK.

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


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

Received on Tuesday, 5 November 2024 20:23:54 UTC