- From: Anne van Kesteren <notifications@github.com>
- Date: Wed, 09 Mar 2016 09:49:39 -0800
- To: w3c/webcomponents <webcomponents@noreply.github.com>
Received on Wednesday, 9 March 2016 17:50:15 UTC
`document.styleSheets` doesn't just reflect rendering. Try
```
<script>
var d = new Document()
w(d.styleSheets.length)
d.appendChild(document.createElement("style"))
w(d.styleSheets.length)
</script>
```
in the Live DOM Viewer. It'll log 0, 1.
Given that I think we should go with 1.
---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/56#issuecomment-194421993
Received on Wednesday, 9 March 2016 17:50:15 UTC