- From: Joseph Orbegoso Pea <notifications@github.com>
- Date: Sun, 01 May 2016 10:53:42 -0700
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Cc:
Received on Sunday, 1 May 2016 17:54:12 UTC
> Why does having a style element inside a shadow tree not solve this problem? Honestly, from the perspective of an outsider who doesn't develop browsers -- a mere "web developer" -- yet library author working on http://infamous.io, putting styles inside a shadow tree in order to style the shadow host (thus breaking out of the shadow encapsulation back into the light tree) seems exactly like a hack. Specifying styles directly onto the custom element definition is much cleaner because the style is associated directly with the element being styled (not with it's shadow root), and I appreciate the cognitive load required to work with that much more (@rniwa) in terms of code clarity, separation of concerns, and maintainability. This is what led me to ask #490. --- 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-216058843
Received on Sunday, 1 May 2016 17:54:12 UTC