ParentNode.html (885B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>Custom Elements: CEReactions on ParentNode interface</title> 5 <meta name="author" title="Ryosuke Niwa" href="mailto:rniwa@webkit.org"> 6 <meta name="assert" content="prepend and append of ParentNode interface must have CEReactions"> 7 <meta name="help" content="https://dom.spec.whatwg.org/#parentnode"> 8 <script src="/resources/testharness.js"></script> 9 <script src="/resources/testharnessreport.js"></script> 10 <script src="../resources/custom-elements-helpers.js"></script> 11 <script src="./resources/reactions.js"></script> 12 </head> 13 <body> 14 <div id="log"></div> 15 <script> 16 17 testNodeConnector(function (newContainer, customElement) { 18 newContainer.prepend(customElement); 19 }, 'prepend on ParentNode'); 20 21 testNodeConnector(function (newContainer, customElement) { 22 newContainer.append(customElement); 23 }, 'append on ParentNode'); 24 25 </script> 26 </body> 27 </html>