Declarative shadow root — shadow tree replaces light children

Expected: box 1 shows only SHADOW; the light-DOM text "light child" is not rendered because the shadow tree has no <slot>. Box 2 has no shadow root and shows its child normally.

If declarative shadow DOM is unsupported, the <template> is inert and box 1 will show "light child" instead — that is the failure signature for this whole directory.

light child
no shadow root, plain child

Host is replaced, not hidden

Expected: the paragraph below reads "before [SHADOW] after" on one line — the host <span> is still an inline box in the outer layout, only its contents come from the shadow tree.

before light after