[css-view-transitions-2] view-transition-name: auto when matching id should namespace #11614
Labels
Agenda+
Async Resolution: Proposed
Candidate for auto-resolve with stated time limit
css-view-transitions-2
View Transitions; New feature requests
We have a
view-transition-name: auto
that can use theid
attribute from the element as the view transition name. (https://www.w3.org/TR/css-view-transitions-2/#auto-vt-name)I think it can be confusing if, for example, in the old state we match
id=foo
and on the other side that pairs with cssview-transition-name: foo
.The proposal is to "namespace" id matching. Basically
id=foo
would only match withid=foo
and not withview-transition-name: foo
. Or, in other words, names generated by theid
attribute can only match elements that have names that are also generated by theid
attribute.@nt1m @noamr fyi
The text was updated successfully, but these errors were encountered: