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

> Not an objection, but, what is the use case for `match-element` if we already have `auto`?

Fallback value for `attr()`, when you specifically don’t want `[id]` to be used should one ever be added.

```css
[data-view-transition-name] {
  view-transition-name: attr(data-view-transition-name type(<custom-ident>), match-element);
}
```

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


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

Received on Tuesday, 17 December 2024 22:04:12 UTC