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

>> The “regular” `of` syntax in `nth-*` uses commas to separate the values. E.g. `::view-transition-group(* of class1, class2)`
> 
> That would have _any_ semantics (in this case, either class1 or class2 would be selected).

O yeah, I see … with the comma, people will interpret it as an _or_.

> Yea but we could also change the shorthand proposal to match what we decide here, e.g. `name.class.class` instead of `name / class class`

I wouldn’t mix selector syntax (classes) with `v-t-classname`. After all, we also don’t require the `v-t-name` to be in the form of an id selector. E.g. it’s not `::view-transition-group(#hero)` but `::view-transition-group(hero)` since you can perfectly add `hero` as a `v-t-name` onto an element that is `:not(#hero)`.



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


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

Received on Wednesday, 13 December 2023 10:18:51 UTC