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

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

Issue 14859016: Don't force layout for mouse event hit tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix review comment 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 <input type="text" onfocus="this.value=''" value="click to edit"> 1 <input type="text" onfocus="this.value=''" value="click to edit">
2 <p>Tests clicking on an input element that has a value that self-destructs. If t he test succeeds, there should be a blinking caret in the text field.</p> 2 <p>Tests clicking on an input element that has a value that self-destructs. If t he test succeeds, there should be a blinking caret in the text field.</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;
5 eventSender.mouseMoveTo(15, 15); 7 eventSender.mouseMoveTo(15, 15);
6 eventSender.mouseDown(); 8 eventSender.mouseDown();
7 eventSender.mouseUp(); 9 eventSender.mouseUp();
8 } 10 }
9 </script> 11 </script>
OLDNEW
« no previous file with comments | « LayoutTests/fast/forms/input-text-drag-down.html ('k') | LayoutTests/fast/forms/option-mouseevents.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698