- From: Ryosuke Niwa <notifications@github.com>
- Date: Fri, 04 Dec 2015 12:03:06 -0800
- To: w3c/webcomponents <webcomponents@noreply.github.com>
Received on Friday, 4 December 2015 20:03:52 UTC
There is nothing that prevents authors from exposing shadow DOM via JavaScript. e.g. you can add `shadowRoot` property on the shadow host during the testing. The whole point of this flag is so that components can enforce the encapsulation as they wish. In the case of debugging and testing, each component should be either: 1. made by the page author in which case the author can expose the shadow root during testing, 2. provided by a third party in which case standards compliance, accessibility, and other kinds of testing should be done separately. --- Reply to this email directly or view it on GitHub: https://github.com/w3c/webcomponents/issues/354#issuecomment-162068116
Received on Friday, 4 December 2015 20:03:52 UTC