Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / plugins / mouse-click-plugin-clears-selection.html
blob33f80d879be7f335e0ce801b451fa2b4f9e7cfc3
1 <html>
2 <head>
3 <script src="../resources/plugin.js"></script>
4 <script>
5 startAfterLoadAndFinish(function() {
6 inputElement = document.getElementById('frame');
7 inputElement.focus();
8 inputElement.select();
10 if (!window.testRunner) {
11 output.textContent = "Test that clicking on a plugin clears the selection on the currently focused element. Click on the plugin; the text in the input control 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=30355";
12 } else {
13 eventSender.mouseMoveTo(60, 60);
14 eventSender.mouseDown();
15 eventSender.mouseUp();
17 });
18 </script>
19 </head>
20 <body>
21 <embed id="plg" type="application/x-webkit-test-netscape" width="100" height="100" windowedplugin="false"></embed><br>
22 <input id="frame" value="hello"/>
23 <div id="output"></div>
24 </body>
25 </html>