Re: [w3c/webcomponents] ShadowRoot.styleSheets should return an empty StyleSheetList if the shadow root is not in a shadow-including document (#526)

Right, this is because a window-less document would still load stylesheets. Since `ShadowRoot` and `Document` both have `styleSheets`, it's inconsistent for `styleSheets` on `ShadowRoot` to behave differently based on whether it's connected to a document or not.  That's just some arbitrary restriction that merits nothing.

---
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/526#issuecomment-228654421

Received on Monday, 27 June 2016 05:01:18 UTC