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

> Going back further into the discussion, I’d like to bring back the idea of using attr() fallback for the proposed `auto` behavior. If it turns out this is useful and prevalent, we can then talk later about giving it a name for ease of use.
> 
> Perhaps we have just these three options?
> 
> 1. Spec/implement `auto` and `match-element`
> 2. Spec/implement `match-element` only for now, and use `attr(id, match-element)` for the proposed auto functionality
> 3. Do not spec/implement either `auto` OR `match-element` yet (was @jakearchibald suggesting this?)

Note with (2), that `match-element` as a fallback in `attr` doesn't work out of the box, unless we say that `match-element` generates a string or `ident` that's observable in means other than view transition.

I'm personally in favor of (3), OK with (2), and opposing 1 (in its current form).


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


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

Received on Wednesday, 20 November 2024 20:23:27 UTC