- From: Noam Rosenthal via GitHub <sysbot+gh@w3.org>
- Date: Wed, 17 May 2023 16:37:36 +0000
- To: public-css-archive@w3.org
The `:has` thing is just part of an example, It can also be
```css
@media (prefers-reduced-motion) {
::view-transition:cross-document {
animation-name: none;
}
}
```
This allows more fine-grained control over how things behave if this is a cross-document transition rather than totally disabling the transition.
For totally disabling the transitions based on media queries, I'd suggest adding a `media` attribute to the meta tag, like we have for preloads, or as a parameter to the content attribute, e.g. `<meta name="view-transition" content="same-origin;media=(prefers-reduce-motion:no-preference)">`
--
GitHub Notification of comment by noamr
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8048#issuecomment-1551729084 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 17 May 2023 16:37:38 UTC