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

Ok, so this acts like it's the first sheet in the shadow; if there's no shadow, it still *acts* like there's one, and it's the only thing in there. That's nice and consistent.

> We need to confirm with CSS WG that :host works in this setup.

Yeah, as long as the stylesheet exists in the shadow tree (or some imaginary shadow context), `:host` will work.

-- 
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-370671279

Received on Tuesday, 6 March 2018 05:49:28 UTC