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

Side by Side Diff: LayoutTests/fast/dom/shadow/shadow-root-blur.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 <script src="resources/shadow-dom.js"></script> 5 <script src="resources/shadow-dom.js"></script>
6 </head> 6 </head>
7 <body> 7 <body>
8 <div id="console"> 8 <div id="console">
9 </div> 9 </div>
10 <script> 10 <script>
11 description("This tests the blur() on on shadow host should work when a shadow h ost contains a focused element in its shadow DOM subtrees property (bug 81102)") ; 11 description("This tests the blur() on on shadow host should work when a shadow h ost contains a focused element in its shadow DOM subtrees property (bug 81102)") ;
12 12
13 if (!window.internals) 13 if (!window.internals)
14 debug('This test runs on DRT only'); 14 debug('This test runs on DRT only');
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 evalAndLog("getNodeInTreeOfTrees('shadowHostA').blur();"); 66 evalAndLog("getNodeInTreeOfTrees('shadowHostA').blur();");
67 shouldBeEqualToString("document.activeElement.id", "shadowHostC"); 67 shouldBeEqualToString("document.activeElement.id", "shadowHostC");
68 shouldBe("getNodeInTreeOfTrees('shadowHostA/').activeElement", "null"); 68 shouldBe("getNodeInTreeOfTrees('shadowHostA/').activeElement", "null");
69 shouldBe("getNodeInTreeOfTrees('shadowHostA/shadowHostB/').activeElement", "null "); 69 shouldBe("getNodeInTreeOfTrees('shadowHostA/shadowHostB/').activeElement", "null ");
70 shouldBeEqualToString("getNodeInTreeOfTrees('shadowHostC/').activeElement.id", " childInTreeThree"); 70 shouldBeEqualToString("getNodeInTreeOfTrees('shadowHostC/').activeElement.id", " childInTreeThree");
71 71
72 var successfullyParsed = true; 72 var successfullyParsed = true;
73 </script> 73 </script>
74 </body> 74 </body>
75 </html> 75 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/shadow/shadow-root-activeElement.html ('k') | LayoutTests/fast/dom/shadow/shadow-root-new.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698