[csswg-drafts] [css-view-transitions-2] Revisiting view-transition-name: auto keyword name (#12091)

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

== [css-view-transitions-2] Revisiting view-transition-name: auto keyword name ==
In #8320 we resolved to add `view-transition-name` keywords that automatically generate names for view transitions. 

We currently have the following:
* `match-element`: means we will use element identity to match elements
* `auto`: means we will use the `id` attribute if one is available, and otherwise fall back to `match-element` behavior. `id` will also not match against explicit `view-transition-name: <ident>` form. 

There is pushback against `auto` value in that it can cause developer mistakes and confusion. @jakearchibald summarized the issue well on the [TAG review](https://github.com/w3ctag/design-reviews/issues/1001#issuecomment-2750966335). The discussion that follows points to the fact that we should reconsider `auto` as the keyword name.

I believe the behavior is still useful, but would like the group to revisit the name specifically.

I don't have great suggestions right now, so trying to source ideas here.

/cc @nt1m @jakearchibald @noamr 


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


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

Received on Wednesday, 16 April 2025 17:32:17 UTC