Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / loader / resources / click-fragment-link.html
blob8d23cd1667d11c32e4b3c075101e436c418b336c
1 <script>
3 function loaded() {
4 if (window.testRunner) {
5 var element = document.getElementById("fragmentlink");
6 eventSender.mouseMoveTo(element.offsetLeft + (element.offsetWidth / 2), element.offsetTop + (element.offsetHeight / 2));
7 eventSender.mouseDown();
8 eventSender.mouseUp();
12 function hashChanged()
14 if (window.testRunner)
15 testRunner.notifyDone();
18 </script>
19 <body onhashchange="hashChanged();" onload="loaded();">
20 <a id="fragmentlink" href="#testfragment">Click this link, and there should be a back-list entry for the page without the fragment ID.</a>
21 </body>
22 <html>