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.

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

mercurial