Re: [csswg-drafts] [css-view-transitions-2] Creating 'classes' of transition groups (#8319)

> I understand your proposal, I just think it's weird to introduce 'identifier' when other things use 'name', like scroll-timeline-name.

+1 to what Jake said there. We’ve got `container-name`, `scroll-timeline-name`, `anchor-name`… which essentially all are identifiers (😬). Would be weird to have VTs use `view-transition-identifier`.

---

What if the proposed shorthand [^1] was simply `view-transition`? That way `view-transition-name` can be left unchanged (except for adding `auto`, which is a separate issue).

[^1]: https://github.com/w3c/csswg-drafts/issues/8319#issuecomment-1826915590

```
view-transition-name: none | auto | <custom-ident>;
view-transition-class: none | <custom-ident>+;
view-transition: none | <view-transition-class>+ [/ <view-transition-name>]*;
```

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


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

Received on Monday, 27 November 2023 20:18:20 UTC