- From: pmoleri via GitHub <sysbot+gh@w3.org>
- Date: Thu, 21 Jul 2022 18:00:47 +0000
- To: public-css-archive@w3.org
@castastrophe > I'm not sure I agree with the solution, in part, because it results in potential breaking changes for existing code that has already worked around it Currently, the only way of working around this is with `!important` so I don't think that the proposed solution would break that. IMO current behavior is pretty broken. `::slotted(foo)` is targeting `foo` children of this component, a global `foo` is just that, a global style, should be considered less specific. With the proposed solution, if you need to override it from light DOM, you can always do so by adding more specificity to your selector or with `!important` if you like that. However, I wouldn't mind opt-in, if it's something simple like `:host ::slotted(foo)`. -- GitHub Notification of comment by pmoleri Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6466#issuecomment-1191780624 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 21 July 2022 18:00:48 UTC