- From: Noam Rosenthal via GitHub <sysbot+gh@w3.org>
- Date: Tue, 15 Aug 2023 09:06:56 +0000
- To: public-css-archive@w3.org
> Summarizing the proposal and adding this issue to the agenda.
>
> * When the developer starts a transition, they get to specify an identifier for for the transition.
> ```js
> document.startViewTransition({updateCallback: doDOMUpdate, transition-type: foo});
> ```
Nit: Probably `transitionType`. Though I'd use the word class instead of type, type implies selecting from an enum.
> * This type can now be used in a pseudo-class with any selector.
> ```css
> #my-element:view-transition-type(foo) {
> view-transition-name: my-element;
> }
>
> html::view-transition-group(my-element):view-transition-type(foo) {
> animation: none;
> }
> ```
>
>
> Not sure if we need to disallow combining with any pseudo-class.
Why would we do that? `:view-transitiontype(foo):has(img#hero)` seems fine to me.
--
GitHub Notification of comment by noamr
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8960#issuecomment-1678629278 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 15 August 2023 09:06:58 UTC