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