On Tue, 25 Mar 2025 at 10:31, Yoav Weiss <yoav.we...@shopify.com> wrote:

> On Tuesday, March 25, 2025 at 5:12:17 AM UTC-4 Jake Archibald wrote:
>
> This issue wouldn't happen if any of the following was done instead:
>
>
>    - Each element was assigned a unique view-transition-name ident
>    - view-transition-name: match-element was used. It doesn't do anything
>    with the ID attribute.
>    - Each element was given a unique data-vtn attribute, and
>    view-transition-name: attr(data-vtn type(<custom-ident>)) - this is ok
>    because it isn't overloading an existing attribute with new behaviours, and
>    developers can easily search the codebase for data-vtn to see how it's 
> used.
>
> Were any of these alternatives considered?
>

To be clear, all of those are already possible. Developers just have to use
one of those options rather than `view-transition-name: auto`. The
existence of `view-transition-name: auto` misdirects them to a solution
that will give them tricky problems later.

-- 
You received this message because you are subscribed to the Google Groups 
"blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to blink-dev+unsubscr...@chromium.org.
To view this discussion visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAJ5xic_4Xxtr1S6Q%3Dh76d6QYrRRdHwhgrcTm5BwohygNuxLQUw%40mail.gmail.com.

Reply via email to