| eventSender.mouseMoveTo(25, 55); |
| function prevDefaultForEvent( evt ) { |
| log(evt.type + " on target " + evt.target); |
| document.getElementById('result').innerHTML = document.getElementById('result').innerHTML + "<br>" + text; |
| This tests that preventDefault called onmousedown will prevent a caret from being placed in the text field. |
| <input id="tf1" style="-khtml-appearance: textfield; position: absolute; top: 50; left: 10;" onmousedown="prevDefaultForEvent(event)" value="No caret should be here"></input> |
| <div id="result" style="position: absolute; top: 70; left: 10;"> |