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

Side by Side Diff: LayoutTests/fast/forms/file-input-hit-test.html

Issue 6542053: Merge 78168 - 2011-02-09 Ryosuke Niwa <rniwa@webkit.org>... (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/648/
Patch Set: Created 9 years, 10 months 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
« no previous file with comments | « no previous file | LayoutTests/fast/forms/file-input-hit-test-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE htlm> 1 <!DOCTYPE htlm>
2 <html> 2 <html>
3 <body> 3 <body>
4 <p>This tests clicking on a region immediately after a file input field. WebKit should not crash and you should see PASS below. 4 <p>This tests clicking on a region immediately after a file input field. WebKit should not crash and you should see PASS below.
5 To manually test this, click on the black region below.</p> 5 To manually test this, click on the black region below.</p>
6 <div id="form" style="width: 200px; height: 200px; position: absolute; top: 20px ; left: 0px; background: black;"> 6 <div id="form" style="width: 200px; height: 200px; position: absolute; top: 20px ; left: 0px; background: black;">
7 <input type="file" style="width: 100px; height: 50px; display: block; padding: 1 0px; background: white;"> 7 <input type="file" style="width: 100px; height: 50px; display: block; padding: 1 0px; background: white;">
8 </div> 8 </div>
9 <script> 9 <script>
10 10
11 if (window.layoutTestController && window.eventSender) { 11 if (window.layoutTestController && window.eventSender) {
12 layoutTestController.dumpAsText(); 12 layoutTestController.dumpAsText();
13 13
14 eventSender.mouseMoveTo(180, 50); 14 eventSender.mouseMoveTo(180, 50);
15 eventSender.leapForward(200); 15 eventSender.leapForward(200);
16 eventSender.mouseDown(); 16 eventSender.mouseDown();
17 eventSender.leapForward(200); 17 eventSender.leapForward(200);
18 eventSender.mouseUp(); 18 eventSender.mouseUp();
19 eventSender.leapForward(200); 19 eventSender.leapForward(200);
20 document.writeln('PASS'); 20 document.writeln('PASS');
21 } 21 }
22 22
23 </script> 23 </script>
24 </body> 24 </body>
25 </html> 25 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/forms/file-input-hit-test-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698