| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src="../js/resources/js-test-pre.js"></script> | 4 <script src="../js/resources/js-test-pre.js"></script> |
| 5 </head> | 5 </head> |
| 6 <body> | 6 <body> |
| 7 <script type="text/javascript"> | 7 <script type="text/javascript"> |
| 8 description('Tests for the ontextInput event with <input type="text" speech>.
'); | 8 description('Tests for the ontextInput event with <input type="text" speech>.
'); |
| 9 | 9 |
| 10 function onTextInput() { | 10 function onTextInput() { |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 var y = input.offsetTop + input.offsetHeight / 2; | 30 var y = input.offsetTop + input.offsetHeight / 2; |
| 31 eventSender.mouseMoveTo(x, y); | 31 eventSender.mouseMoveTo(x, y); |
| 32 eventSender.mouseDown(); | 32 eventSender.mouseDown(); |
| 33 eventSender.mouseUp(); | 33 eventSender.mouseUp(); |
| 34 } | 34 } |
| 35 } | 35 } |
| 36 | 36 |
| 37 window.onload = run; | 37 window.onload = run; |
| 38 window.jsTestIsAsync = true; | 38 window.jsTestIsAsync = true; |
| 39 </script> | 39 </script> |
| 40 <script src="../js/resources/js-test-post.js"></script> | |
| 41 <input id='speechInput' x-webkit-speech> | 40 <input id='speechInput' x-webkit-speech> |
| 42 </body> | 41 </body> |
| 43 </html> | 42 </html> |
| OLD | NEW |