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

At Shopify we have the same case @noamr mentions, but also we don't want cases where it half-works when we choose to do a cross-document transition.

It's much more reliable to have a feature like `match-element` that is designed to work same-document only, and the trade-offs are clear. And, have a way to do it that works consistently same-document and cross-document. We already have the latter, but I don't mind a feature that allows attributes to be involved.

`auto`'s current behaviour is unreliable between cross-document and same-document. `match-element` is at least consistently not intended to work cross-document, and as such I'm glad the name of that feature isn't `auto`.

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


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

Received on Wednesday, 18 December 2024 10:02:52 UTC