Re: [webcomponents] Sharing styles across custom elements (#282)

Someone provided this example to me - perhaps you can adapt it :

```
var eStyle = document.createElement("style");
eStyle.textContent = "div.boilerplate { color: blue; }"
document.querySelector("#ex2bNameTag").shadowRoot.appendChild(eStyle);
```

I wonder if it will also work if you have a stylesheet link...

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

Received on Thursday, 16 July 2015 20:40:33 UTC