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

Side by Side Diff: LayoutTests/fast/forms/checkbox/checkbox-focus-by-mouse.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 <body> 2 <body>
3 <script> 3 <script>
4 enablePixelTesting = true; 4 enablePixelTesting = true;
5 </script> 5 </script>
6 <script src="../../js/resources/js-test-pre.js"></script> 6 <script src="../../../resources/js-test.js"></script>
7 <script src="../resources/common.js"></script> 7 <script src="../resources/common.js"></script>
8 8
9 <input type="checkbox"> 9 <input type="checkbox">
10 <div id="console"></div> 10 <div id="console"></div>
11 11
12 <script> 12 <script>
13 eventSender.mouseMoveTo(800, 600); 13 eventSender.mouseMoveTo(800, 600);
14 description('Clicking on a form control should focus on it.'); 14 description('Clicking on a form control should focus on it.');
15 var target = document.querySelector('input'); 15 var target = document.querySelector('input');
16 target.addEventListener('focus', function() { 16 target.addEventListener('focus', function() {
17 testPassed('Focus event was dispatched.'); 17 testPassed('Focus event was dispatched.');
18 }, false); 18 }, false);
19 clickElement(target); 19 clickElement(target);
20 </script> 20 </script>
21 </body> 21 </body>
OLDNEW
« no previous file with comments | « LayoutTests/fast/forms/checkbox-onchange.html ('k') | LayoutTests/fast/forms/checkbox/checkbox-focus-by-mouse-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698