| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src="../../js/resources/js-test-pre.js"></script> | 4 <script src="../../js/resources/js-test-pre.js"></script> |
| 5 </head> | 5 </head> |
| 6 <body> | 6 <body> |
| 7 <pre id="console"> | 7 <pre id="console"> |
| 8 This tests the correctness of includers of forwarded children. | 8 This tests the correctness of includers of forwarded children. |
| 9 Note that this test needs internals object thus cannot run outside DRT. | 9 Note that this test needs internals object thus cannot run outside DRT. |
| 10 </pre> | 10 </pre> |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 var anotherElementWithShadowContent = document.createElement("div"); | 64 var anotherElementWithShadowContent = document.createElement("div"); |
| 65 container.appendChild(anotherElementWithShadowContent); | 65 container.appendChild(anotherElementWithShadowContent); |
| 66 var anotherShadowRootOfElementWithShadowContent = internals.ensureShadowRoot(ano
therElementWithShadowContent); | 66 var anotherShadowRootOfElementWithShadowContent = internals.ensureShadowRoot(ano
therElementWithShadowContent); |
| 67 var anotherShadowContentOfElementWithShadowContent = internals.createContentElem
ent(); | 67 var anotherShadowContentOfElementWithShadowContent = internals.createContentElem
ent(); |
| 68 anotherShadowRootOfElementWithShadowContent.appendChild(anotherShadowContentOfEl
ementWithShadowContent); | 68 anotherShadowRootOfElementWithShadowContent.appendChild(anotherShadowContentOfEl
ementWithShadowContent); |
| 69 | 69 |
| 70 anotherElementWithShadowContent.appendChild(movingChild); | 70 anotherElementWithShadowContent.appendChild(movingChild); |
| 71 container.offsetLeft; | 71 container.offsetLeft; |
| 72 shouldBe("includerFor(movingChild)", "anotherShadowContentOfElementWithShadowCon
tent"); | 72 shouldBe("includerFor(movingChild)", "anotherShadowContentOfElementWithShadowCon
tent"); |
| 73 </script> | 73 </script> |
| 74 <script src="../../js/resources/js-test-post.js"></script> | |
| 75 </body> | 74 </body> |
| 76 </html> | 75 </html> |
| OLD | NEW |