| OLD | NEW |
| 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 outside an input element, and must not result in the element
receiving focus. If the test succeeds the element should not have a focus ring.
</p> | 2 <p>This test clicks outside an input element, and must not result in the element
receiving focus. If the test succeeds the element should not 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; |
| 5 eventSender.mouseMoveTo(200, 45); | 7 eventSender.mouseMoveTo(200, 45); |
| 6 eventSender.mouseDown(); | 8 eventSender.mouseDown(); |
| 7 eventSender.mouseUp(); | 9 eventSender.mouseUp(); |
| 8 } | 10 } |
| 9 </script> | 11 </script> |
| OLD | NEW |