rev087 / ng-inspector

The AngularJS inspector pane for your browser
ng-inspector.org
MIT License
782 stars 93 forks source link

Implement Shadow Dom for the inspector pane #94

Open rev087 opened 9 years ago

rev087 commented 9 years ago

Implementing Shadow Dom might solve some possible issues and limits:

DrewML commented 9 years ago

For reference - Browser support:

http://caniuse.com/#feat=shadowdom

Firefox: Available only if the user enables flag dom.webcomponents.enabled

Safari: Not supported :(

Chrome: Full support.

There is a polyfill for Shadow DOM (I believe Polymer uses it). It works by wrapping/patching every DOM API that would "break" shadow DOM otherwise. Last time I heard about it (> 1 year ago), I heard lots of talk that there were big performance implications. It would definitely be worth checking back in on that, though.