Re: [csswg-drafts] [css-cascade] Evaluate specificity of ::slotted and global styles in the same conditions (#6466)

I also found in this explanation that don't talk about specify.

https://www.w3.org/TR/css-cascade-5/

> When comparing two declarations that are sourced from different encapsulation contexts, then for normal rules the declaration from the outer context wins, and for important rules the declaration from the inner context wins

To compare 2 declaration you don't take only the source of the encapsulation context. Specificity of the selector should be evaluated too.

-- 
GitHub Notification of comment by jorgecasar
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6466#issuecomment-906604010 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 26 August 2021 17:30:57 UTC