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

I'm not a huge fan of defining the styles as a string either. But presumably UA styles are going to be pretty small so I can begrudgingly live with it.

I like the idea of it accepting a CSSStyleSheet but I would want that stylesheet to be defined in html via a `<style>` tag and doing that would have unwanted side-effects. So if the only way to use a CSSStyleSheet is by creating it in JavaScript and appending text to it, I don't see it as an improvement.

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

Received on Tuesday, 2 August 2016 20:17:11 UTC