Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / loader / create-view-target-blank.html
blob448cc9b1b2fb6156933be365af067bec92cb850d
1 <html>
2 <head>
3 <script>
4 if (window.testRunner) {
5 testRunner.dumpAsText();
6 testRunner.dumpCreateView();
7 testRunner.setCanOpenWindows();
8 testRunner.setCloseRemainingWindowsWhenComplete();
9 testRunner.waitUntilDone();
12 function runTest() {
13 var link = document.getElementById("link");
14 var middleMouseButton = 1;
15 eventSender.mouseMoveTo(link.offsetLeft + 2, link.offsetTop + 2);
16 eventSender.mouseDown(middleMouseButton);
17 eventSender.mouseUp(middleMouseButton);
19 </script>
20 </head>
21 <body onload="runTest()">
22 <div>
23 <p>
24 This test opens a new window by middle-clicking on a link with
25 target=_blank. It passes, if the WebViewClient::createView method was
26 invoked with the parameter "done.html".
27 </p>
28 <p>
29 <a href="resources/done.html" id="link" target="_blank">link</a>
30 </p>
31 </div>
32 </body>
33 </html>