Re: [csswg-drafts] [css-view-transitions-2] Specificity of view transition pseudos with classes (#9887)

Time for a new specificity category?

- D = the specificity of the inner “selectors” of the pseudo-element

That way:

- `div::view-transition-group(foo)`  = [0, 0, 1, [1, 0, 0]]
- `::view-transition-image-pair(*.bar)` = [0, 0, 0, [0, 1, 0]] 
- `.foo::view-transition-group(.bar)` = [0, 1, 0, [0, 1, 0]]

_(Oh, did I just net specificity? 🙈)_

-- 
GitHub Notification of comment by bramus
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9887#issuecomment-1928339067 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 22:33:50 UTC