Re: [webcomponents] Closed flag proposal breaks ability to audit and automate tests of web pages (#354)

If you'd like to force components to always use the open shadow DOM, you can just do:
```
var originalAttachShadow = Element.prototype.attachShadow;
Element.prototype.attachShadow = function(options) {
    options['mode'] = 'open';
    return originalAttachShadow(options);
}
```
at the beginning of the document.

---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/354#issuecomment-162383744

Received on Monday, 7 December 2015 01:12:31 UTC