Open rev087 opened 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.
Implementing Shadow Dom might solve some possible issues and limits: