OLD | NEW |
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; | |
7 eventSender.mouseMoveTo(15, 15); | 5 eventSender.mouseMoveTo(15, 15); |
8 eventSender.mouseDown(); | 6 eventSender.mouseDown(); |
9 eventSender.mouseUp(); | 7 eventSender.mouseUp(); |
10 } | 8 } |
11 </script> | 9 </script> |
OLD | NEW |