W3C home > Mailing lists > Public > public-css-archive@w3.org > July 2021

Re: [csswg-drafts] [css-scoping-1] Specificity of :host, ::slotted, and :host-context doesn't seem to be defined? (#1915)

From: Jorge del Casar via GitHub <sysbot+gh@w3.org>
Date: Tue, 20 Jul 2021 13:00:54 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-883373178-1626786053-sysbot+gh@w3.org>
@jorenbroekema other way is to use custom properties everywhere because I just tested, and once you put `!important` in your component, there is no way to override it from outside.

It's really painful if you want to build a Design System using the light DOM. It seems standard is forcing us to put all the content in the shadow DOM, with its problems. Then we will need declarative Shadow DOM, SSR, etc... 

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

Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 20 July 2021 13:00:56 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:39 UTC