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

Side by Side Diff: LayoutTests/fast/forms/input-text-click-inside.html

Issue 15508003: Revert "Don't force layout for mouse event hit tests" (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 7 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 | Annotate | Revision Log
OLDNEW
1 <div style="width: 400px; height: 50px; padding: 25px 0 0 25px; background: yell ow;"><input></div> 1 <div style="width: 400px; height: 50px; padding: 25px 0 0 25px; background: yell ow;"><input></div>
2 <p>This test clicks inside an input element, and must result in the element rece iving focus. If the test succeeds the element should have a focus ring.</p> 2 <p>This test clicks inside an input element, and must result in the element rece iving focus. If the test succeeds the element should have a focus ring.</p>
3 <script> 3 <script>
4 if (window.eventSender) { 4 if (window.eventSender) {
5 // Mouse events only work after an initial layout
6 document.body.offsetLeft;
7 eventSender.mouseMoveTo(100, 45); 5 eventSender.mouseMoveTo(100, 45);
8 eventSender.mouseDown(); 6 eventSender.mouseDown();
9 eventSender.mouseUp(); 7 eventSender.mouseUp();
10 } 8 }
11 </script> 9 </script>
OLDNEW
« no previous file with comments | « LayoutTests/fast/forms/input-appearance-preventDefault.html ('k') | LayoutTests/fast/forms/input-text-click-outside.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698