Change
Shadow DOM for custom elements?
Issue description
Evaluate if there is any benefits if Topincs custom elements would make use of shadow DOM.
Developer comments
A shadow root is a new DOM root inside another DOM tree's leaf. The outer DOM tree is called _host_. The main motivation is encapsulation of style. When a custom-element is reused on various sites, the intended style gets changed on accident by rules that are applied to the host document.
Seems like a lot of effort for little gain since all custom elements are only available within Topincs.
|
|
We are sorry
This page cannot be displayed in your browser. Use Firefox, Opera, Safari, or Chrome instead.