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

Side by Side Diff: LayoutTests/fast/dom/shadow/layout-tests-can-access-shadow.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 <keygen id="keys" /> 7 <keygen id="keys" />
8 <p id="peas" /> 8 <p id="peas" />
9 <pre id="console"> 9 <pre id="console">
10 This tests that layout tests can access shadow DOM. 10 This tests that layout tests can access shadow DOM.
(...skipping 19 matching lines...) Expand all
30 // Ordinary element should not have shadow 30 // Ordinary element should not have shadow
31 var p = document.getElementById('peas'); 31 var p = document.getElementById('peas');
32 shouldBe('internals.shadowRoot(p)', 'null'); 32 shouldBe('internals.shadowRoot(p)', 'null');
33 33
34 // Can bless ordinary elements with shadows 34 // Can bless ordinary elements with shadows
35 shadow = internals.ensureShadowRoot(p); 35 shadow = internals.ensureShadowRoot(p);
36 shouldBe('shadow.nodeName', '"#document-fragment"'); 36 shouldBe('shadow.nodeName', '"#document-fragment"');
37 shouldBe('shadow === internals.shadowRoot(p)', 'true'); 37 shouldBe('shadow === internals.shadowRoot(p)', 'true');
38 } 38 }
39 </script> 39 </script>
40 <script src="../../js/resources/js-test-post.js"></script>
41 </body> 40 </body>
42 </html> 41 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/shadow/input-shadow-nochange.html ('k') | LayoutTests/fast/dom/shadow/link-in-shadow-tree.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698