| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <script src="../resources/plugin.js"></script> | 3 <script src="../resources/plugin.js"></script> |
| 4 <script> | 4 <script> |
| 5 startAfterLoadAndFinish(function() { | 5 startAfterLoadAndFinish(function() { |
| 6 inputElement = document.getElementById('frame'); | 6 inputElement = document.getElementById('frame'); |
| 7 inputElement.focus(); | 7 inputElement.focus(); |
| 8 inputElement.select(); | 8 inputElement.select(); |
| 9 | 9 |
| 10 if (!window.testRunner) { | 10 if (!window.testRunner) { |
| 11 output.textContent = "Test that clicking on a plugin clears the selectio
n on the currently focused element. Click on the plugin; the text in the input c
ontrol should no longer be highlighted. The rendertree for this test should not
contain any selection information. See https://bugs.webkit.org/show_bug.cgi?id=3
0355"; | 11 output.textContent = "Test that clicking on a plugin clears the selectio
n on the currently focused element. Click on the plugin; the text in the input c
ontrol should no longer be highlighted. See https://bugs.webkit.org/show_bug.cgi
?id=30355"; |
| 12 } else { | 12 } else { |
| 13 eventSender.mouseMoveTo(60, 60); | 13 eventSender.mouseMoveTo(60, 60); |
| 14 eventSender.mouseDown(); | 14 eventSender.mouseDown(); |
| 15 eventSender.mouseUp(); | 15 eventSender.mouseUp(); |
| 16 } | 16 } |
| 17 }); | 17 }); |
| 18 </script> | 18 </script> |
| 19 </head> | 19 </head> |
| 20 <body> | 20 <body> |
| 21 <embed type="application/x-blink-test-plugin" width="100" height="100"></embed><
br> | 21 <embed type="application/x-blink-test-plugin" width="100" height="100"></embed><
br> |
| 22 <input id="frame" value="hello"/> | 22 <input id="frame" value="hello"/> |
| 23 <div id="output"></div> | 23 <div id="output"></div> |
| 24 </body> | 24 </body> |
| 25 </html> | 25 </html> |
| OLD | NEW |