- From: Noam Rosenthal via GitHub <sysbot+gh@w3.org>
- Date: Mon, 05 Feb 2024 19:07:19 +0000
- To: public-css-archive@w3.org
The only thing that's clearto is that when the external selector has a tie, the internal one should work, as in `::view-transition-group(*.foo)` should be stronger than `::view-transition-group(*)`, and `::view-transition-group(bar)` should be stronger than both. In terms of mixed-spaces, envision the following css; ```css html:has(.loaded-hero)::view-transition-group(*) { animation-duration: 1s; } html::view-transition-group(*.box) { animation-duration: 100ms; } ``` I'm not sure I'd expect from seeing this that the duration should be 1s because normal classes receive precedence over vt classes. And I'm not sure we can find any solution that would meet expectations in a self-explanatory way TBH. So the best we can probably do is be consistent with the existing sometimes-surprising behavior and just pick *something*, probably vt-name maps to ID and vt-class maps to class, and recommend that people use layers if they need things to be different. -- GitHub Notification of comment by noamr Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9887#issuecomment-1927851800 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 5 February 2024 19:07:21 UTC