- From: vmpstr via GitHub <sysbot+gh@w3.org>
- Date: Fri, 17 Nov 2023 16:05:35 +0000
- To: public-css-archive@w3.org
> @vmpstr can you also add the details of which classes apply to which VT pseudos in the proposal above? Certainly! When capturing the snapshot, the values of `view-transition-class` are captured and stored. These apply to the following elements: `::view-transition-group(*)`, `::view-transition-image-pair(*)`, and `::view-transition-old(*)`. When the state is updated and the animation is ready to begin (ie "new" pseudos are created), the `view-transition-class` value of the element is applied as a class to the following elements _in addition_ to existing captured classes: `::view-transition-group(*)`, `::view-transition-image-pair(*)`, and `::view-transition-new(*)`. Note this means that effectively `::view-transition-group(*)` and `::view-transition-image-pair(*)` get the union of the classes specified, whereas `::view-transition-old(*)` and `::view-transition-new(*)` get classes applied from the captured state and from the live state respectively. -- GitHub Notification of comment by vmpstr Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8319#issuecomment-1816692906 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 17 November 2023 16:05:36 UTC