This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
ShadowRoot inheriting from DocumentFragment and not being its own Node or standalone entity makes it participate in a number of algorithms defined in DOM, which does not seem entirely correct. E.g. appendChild() accepts ShadowRoot as currently defined. Or is that okay?
(In reply to comment #0) > ShadowRoot inheriting from DocumentFragment and not being its own Node or > standalone entity makes it participate in a number of algorithms defined in > DOM, which does not seem entirely correct. E.g. appendChild() accepts > ShadowRoot as currently defined. Or is that okay? Yep, that's the reason we went with a DocumentFragment. It provides the exact behavior we want for ShadowRoot.