Re: [csswg-drafts] [css-view-transitions-2] Syntax for customizing transitions based on their type (#8960)

There's also a possibility of adding a new pseudo class that applies to all elements (including view transition pseudos) that get activated right before the capture element discovery,

something like
```css
::view-transition-old(*):vt(back) {
  ...
}
```
This enables the possibility of having optional view-transition-names on non-view-transition pseudos based on the navigation type:
```css
#foo {
  view-transition-name: foo;
}
#foo:vt(back) {
  view-transition-name: none;
}
```
which is likely desirable as well?

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


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

Received on Wednesday, 9 August 2023 19:04:33 UTC