Re: [w3c/webcomponents] [WebDriver] Testability of web components (#771)

I don't think "Find shadow elements" as proposed goes against encapsulation? The proposal is specifically not shadow-piercing CSS; it's approximately:
```
fn findShadow(root, selector) {
  return root.querySelectorAll(selector).filter(x => x.shadowRoot).map(x => x.shadowRoot)
}
```
but with the ability to see the shadowRoot irrespective of the open vs closed status.

-- 
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/771#issuecomment-439110335

Received on Thursday, 15 November 2018 16:53:25 UTC