Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1357)

Side by Side Diff: LayoutTests/fast/dom/shadow/content-element-includer.html

Issue 48903019: Delete js-test-post.js. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698