Re: [w3c/webcomponents] Provide a lightweight mechanism to add styles to a custom element (#468)

> I'm not sure I understand your first question, but it is using the shadow cascading order, so default style is in the same step as shadow styles.

Your first reply answered my question, thanks! :)

So specificity just works normally... which means that `ShadowRoot` `!important` styles may not override these? That seems somewhat unfortunate, since that was one of the reasons why the cascade in Shadow DOM works the way it does AFAIK... Though I guess it's the side effect of not adding a new cascade order.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/468#issuecomment-431012054

Received on Thursday, 18 October 2018 13:39:53 UTC