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

Side by Side Diff: LayoutTests/fast/overflow/scrollbar-click-retains-focus.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 2
3 <script src="../js/resources/js-test-pre.js"></script> 3 <script src="../../resources/js-test.js"></script>
4 4
5 <style> 5 <style>
6 /* Float everything so they fit inside the viewport for using eventSender to click */ 6 /* Float everything so they fit inside the viewport for using eventSender to click */
7 section, footer, span, textarea, select { float: left; } 7 section, footer, span, textarea, select { float: left; }
8 </style> 8 </style>
9 9
10 <footer> 10 <footer>
11 <input> 11 <input>
12 </footer> 12 </footer>
13 13
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 }); 110 });
111 111
112 test("Disabled form controls should not move the focus", function() { 112 test("Disabled form controls should not move the focus", function() {
113 document.querySelector("input").focus(); 113 document.querySelector("input").focus();
114 document.querySelector("select").disabled = true; 114 document.querySelector("select").disabled = true;
115 clickVerticalScrollbar("select"); 115 clickVerticalScrollbar("select");
116 shouldBeEqualToString("document.activeElement.tagName", "INPUT"); 116 shouldBeEqualToString("document.activeElement.tagName", "INPUT");
117 }); 117 });
118 </script> 118 </script>
119 119
OLDNEW
« no previous file with comments | « LayoutTests/fast/overflow/scroll-div-hide-show.html ('k') | LayoutTests/fast/parser/block-nesting-cap.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698