Re: [webcomponents] Styling of elements where attachShadow(...) not allowed (#376)

>  To me, it looks "styling from outside by default". :)

Exactly

I have nothing against any alternative approach, the main point just to make this possible.

I do not personally like using imperative syntax for styling purposes, there should be a way to use `<style>` nodes for this. Maybe introduce something like Style Root that can only contain CSS? This would help to avoid any ambiguity.
```javascript
...
createdCallback : function () {
    var s = document.querySelector('style#something');
    this.attachStyle(s); // and/or this.createStyleRoot()
}
...
```

---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/376#issuecomment-179628906

Received on Thursday, 4 February 2016 04:32:00 UTC