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

I humbly suggest that there should be some sort of new mechanism to enable specific styles to slotted components without breaking the current behavior. Having to add "!important" on all ::slotted rules is a very ugly work-around. Web components are a breath of fresh air for improving old code-bases with cool new functionality, but it's also the old code-bases which tend to have a lot of weird global CSS rules. 

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


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

Received on Monday, 5 August 2024 13:07:51 UTC