no bug - Import translations from android-l10n r=release a=l10n CLOSED TREE
[gecko.git] / layout / base / tests / test_bug93077-1.html
blob780f9c24a3b4799e2bfec2d1428810b2e7caccfa
1 <!DOCTYPE HTML>
2 <html>
3 <!--
4 https://bugzilla.mozilla.org/show_bug.cgi?id=93077
5 -->
6 <head>
7 <title>Test for Bug 93077</title>
8 <script src="/tests/SimpleTest/SimpleTest.js"></script>
9 <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
10 <style>
11 #filler { height: 200cm; background: papayawhip; }
12 </style>
13 </head>
14 <body>
15 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=93077">Mozilla Bug 93077</a>
16 <p id="display"></p>
17 <div id=filler>...</div>
18 <p id=below></p>
19 <pre id="test">
20 <script type="application/javascript">
21 /** Test for Bug 93077 **/
22 ["#top", "#TOP", "#Top"].forEach(function(fragid) {
23 document.getElementById("below").scrollIntoView()
24 isnot(window.scrollY, 0)
25 location.hash = fragid
26 is(window.scrollY, 0)
28 </script>
29 </pre>
30 </body>
31 </html>