Re: [w3ctag/design-reviews] View Transition Classes (Issue #938)

> Your '.class-name' example isn't a regular class though, it's a `view-transition-class` (in which case I object to using the class syntax as it's confusing to authors, you're conflating the concept of class), what we're referring to is just using a regular class, or an Id, or any other kind of selector.
> 
> e.g.: Instead of:
> 
> ```
> div.thing1, div.thing2 { view-transition-class: my-transition }
> ::view-transition-group(.my-transition)
> ```
> 
> just use:
> 
> ```
> ::view-transition-group(div.thing1, div.thing2)
> ```

Ah that's not viable because for exit transitions the selector is invalid by the time the view transition starts.
When @vmpstr is back from leave we'll update the explainer.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3ctag/design-reviews/issues/938#issuecomment-2271647009
You are receiving this because you are subscribed to this thread.

Message ID: <w3ctag/design-reviews/issues/938/2271647009@github.com>

Received on Tuesday, 6 August 2024 16:07:22 UTC