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

@domenic Yes, I think  [#468 (comment)](https://github.com/w3c/webcomponents/issues/468#issuecomment-203807233) is a reasonable simplification.

To be clear, I do not think it's a good idea to expose the ability to style descendants (children). The initial proposal did include styling shadowRoot elements (shadowRoot children), but this can always be addressed in the traditional way. Since you're already making a shadowRoot in that case putting a style element there is straightforward.

@hayatoito's approach solves the fundamental problem here: an element has no desire to create a shadowRoot and just wants to style itself cheaply and easily.

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

Received on Friday, 8 April 2016 22:14:28 UTC