- From: vmpstr via GitHub <sysbot+gh@w3.org>
- Date: Mon, 05 Feb 2024 18:41:55 +0000
- To: public-css-archive@w3.org
> The only concern, I guess would be that it would mean `div::view-transition-group(foo)` would beat `.foo::view-transition-group(.bar)` Yeah, that's the only reason why reflecting straight into normal specificity is questionable. > Is either option _very likely_ to be the right choice, or is it going to be a contextual decision always? This is something that I'm struggling to answer. Personally, it makes far more sense for `div::view-transition-group(...)` to be lower specificity than `.foo::view-transition-group(...)` _regardless_ of what `...` actually is. That is, in my mind, the selector outside of the view transition argument is a stronger specificity indicator. Once those are resolved, and if there's a tie, then look at the argument. I can't picture a scenario where that should not be the case, but that's not to say that those cases don't exist. -- GitHub Notification of comment by vmpstr Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9887#issuecomment-1927784613 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 18:41:57 UTC