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

Side by Side Diff: LayoutTests/fast/dom/shadow/layout-tests-can-access-shadow.html

Issue 58533003: Move fast/js/resources files to resources. (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="../../../resources/js-test.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.
11 11
12 </pre> 12 </pre>
13 <script> 13 <script>
14 if (window.internals) { 14 if (window.internals) {
(...skipping 17 matching lines...) Expand all
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 </body> 40 </body>
41 </html> 41 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/shadow/insertion-point-video-crash.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