docshell/test/file_bug385434_1.html
author shindli <shindli@mozilla.com>
Tue, 02 Oct 2018 00:04:57 +0300
changeset 494791 88315c6735dec7bbb70c5933e2b11e7343114f73
parent 494783 docshell/test/mochitest/file_bug385434_1.html@d0d9cd85f3dba3ba7bd08dc54e2279fae2316570
child 494882 58adc643dcdc20eccb4d30bc454b50420e96c020
permissions -rw-r--r--
Backed out 3 changesets (bug 1417383) for bustages in /builds/worker/workspace/build/src/docshell/test/mochitest/moz.build CLOSED TREE Backed out changeset 44d07650e6fe (bug 1417383) Backed out changeset d0d9cd85f3db (bug 1417383) Backed out changeset ddaef0a8de5f (bug 1417383)

<!--
Inner frame for test of bug 385434.
https://bugzilla.mozilla.org/show_bug.cgi?id=385434
-->
<html>
<head>
  <script type="application/javascript">
    function hashchange() {
      parent.onIframeHashchange();
    }

    function load() {
      parent.onIframeLoad();
    }

    function scroll() {
      parent.onIframeScroll();
    }
  </script>
</head>

<body onscroll="scroll()" onload="load()" onhashchange="hashchange()">
<a href="#link1" id="link1">link1</a>
<!-- Our parent loads us in an iframe with height 100px, so this spacer ensures
     that switching between #link1 and #link2 causes us to scroll -->
<div style="height:200px;"></div>
<a href="#link2" id="link2">link2</a>
</body>
</html>