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

Regarding complex selectors. I think it's OK to add a limitation to only allow class (and ID) selector for View transitions as @bramus suggested.

> e.g. `::v-t-x(* of #id)` and `::v-t-x(* of .cls)`.

I'm completely in agreement with @bramus on his last comment, including this:

> The use-case for an explicit view-transition-name: ident would then be limited to situations where the transition happens between two states that don’t share an id or classes

I didn't consider this use-case, but this might be useful when the author of the CSS has no control over the HTML markup.

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


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

Received on Sunday, 10 December 2023 21:43:30 UTC