Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / frames / resources / sandboxed-iframe-navigation-targetlink.html
blobde156c5d88c722eb7f62d83f595df4083b22007d
1 <html>
2 <head>
3 <script>
5 /*
6 * Set the target of the link to 'X_target', where X is the name of
7 * this frame.
9 * Then click the link.
12 function click_link()
14 var event = document.createEvent('MouseEvent');
15 event.initEvent('click', true, true);
16 var link = document.getElementById('link');
17 link.target = self.name + '_target';
18 link.dispatchEvent(event);
21 </script>
22 </head>
24 <body onload='click_link();'>
26 <a href="sandboxed-iframe-navigated.html" id="link">
27 (link triggered by script)
28 </a>
30 </body>
31 </html>