- From: Takayoshi Kochi <notifications@github.com>
- Date: Mon, 25 Jan 2016 00:42:34 -0800
- To: w3c/webcomponents <webcomponents@noreply.github.com>
Received on Monday, 25 January 2016 08:43:04 UTC
I don't have strong preference for either options. (2) could be consistent with document.styleSheets case in that the array reflects `<style>` elements which actually affects the rendering (i.e. until a shadow host is attached to document, the content of the stylesheet doesn't make much sense). Although you could argue that (1) is more consistent, in that `<style>` is counted in shadowroot when it is attached to its shadow root's tree, like when `<style>` is counted when it is attached to document as you mentioned in the comment above. --- Reply to this email directly or view it on GitHub: https://github.com/w3c/webcomponents/issues/56#issuecomment-174438133
Received on Monday, 25 January 2016 08:43:04 UTC