This was created to demonstrate a problem I am running into during in a real project.
Styles from ViewEncapsulation.Emulated
are copied into all #shadow-dom
roots across the DOM tree.
This includes the children of a ViewEncapsulation.ShadowDom
component where the ViewEncapsulation.ShadowDom
component itself is a sibling to a ViewEncapsulation.Emulated
component.