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

Compared to the proposals in the OP, these new options don't allow you to differentiate between classes present on the old vs new states. That might not matter, and even if it does, we could add it later.

- `::view-transition-group(my-box).box` - `box` was assigned in either the old or new state.
- `::view-transition-group(my-box):view-transition-old-class(box)` - `box` was assigned in the old state.
- `::view-transition-group(my-box):view-transition-new-class(box)` - `box` was assigned in the new state.

I don't think we need to add that feature - just showing that we could in future.

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


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

Received on Wednesday, 18 October 2023 08:57:05 UTC