docshell/test/file_bug385434_1.html

Wed, 31 Dec 2014 13:27:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 13:27:57 +0100
branch
TOR_BUG_3246
changeset 6
8bccb770b82d
permissions
-rw-r--r--

Ignore runtime configuration files generated during quality assurance.

     1 <!--
     2 Inner frame for test of bug 385434.
     3 https://bugzilla.mozilla.org/show_bug.cgi?id=385434
     4 -->
     5 <html>
     6 <head>
     7   <script type="application/javascript">
     8     function hashchange() {
     9       parent.onIframeHashchange();
    10     }
    12     function load() {
    13       parent.onIframeLoad();
    14     }
    16     function scroll() {
    17       parent.onIframeScroll();
    18     }
    19   </script>
    20 </head>
    22 <body onscroll="scroll()" onload="load()" onhashchange="hashchange()">
    23 <a href="#link1" id="link1">link1</a>
    24 <!-- Our parent loads us in an iframe with height 100px, so this spacer ensures
    25      that switching between #link1 and #link2 causes us to scroll -->
    26 <div style="height:200px;"></div>
    27 <a href="#link2" id="link2">link2</a>
    28 </body>
    29 </html>

mercurial