diff --git a/shadow-dom/declarative/declarative-shadow-dom-basic.tentative.html b/shadow-dom/declarative/declarative-shadow-dom-basic.tentative.html index 332c0e1cd3e235..a72cf70ef6679e 100644 --- a/shadow-dom/declarative/declarative-shadow-dom-basic.tentative.html +++ b/shadow-dom/declarative/declarative-shadow-dom-basic.tentative.html @@ -148,6 +148,76 @@ + + + + + + + + + diff --git a/shadow-dom/declarative/script-access.tentative.html b/shadow-dom/declarative/script-access.tentative.html index 250a03601a5be4..b87bb7ab308b3b 100644 --- a/shadow-dom/declarative/script-access.tentative.html +++ b/shadow-dom/declarative/script-access.tentative.html @@ -27,6 +27,11 @@ assert_equals(n.content, null, 'Declarative template content should *still* be null'); assert_equals(n.innerHTML, "", 'Declarative template innerHTML should *still* be empty'); assert_equals(n.getInnerHTML({includeShadowRoots: true}), "", 'Declarative template getInnerHTML() should *still* be empty'); + + // Try cloning the in-progress declarative template - shouldn't work. + const clone = n.cloneNode(true); + assert_equals(clone.children.length,0,'Clone should not contain anything'); + assert_equals(clone.content.children.length,0,'Clone should not contain anything'); break; case 'noroot': // Make sure adding 'shadowroot' attribute doesn't trigger a shadow root,