Internals::shadowRoot and ensureShadowRoot are ambiguous to get the youngest shadow root or oldest shadow root.