Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / navigation / scrollstate-after-http-equiv-refresh.html
blobb4bd49d3b2a706f2a7f7a628171e2b771c65dac9
1 <html>
2 <meta http-equiv="refresh" content="2">
3 <script>
4 if (window.testRunner) {
5 testRunner.waitUntilDone();
6 testRunner.dumpAsText();
8 function testScroll() {
9 window.setTimeout(function() {
10 if (window.pageYOffset == 20) {
11 document.body.innerHTML = "SUCCESS";
12 testRunner.notifyDone();
13 } else
14 window.scroll(0,20);
15 }, 0);
17 onload = testScroll;
18 </script>
20 <body>
21 This test checks that a page reloaded by http-equiv="refresh" restores its scroll state.
22 https://bugs.webkit.org/show_bug.cgi?id=62482
23 <br>
24 <br>
25 <br>
26 <br>
27 <br>
28 <br>
29 <br>
30 <br>
31 <br>
32 <br>
33 <br>
34 <br>
35 <br>
36 <br>
37 <br>
38 <br>
39 <br>
40 <br>
41 <br>
42 <br>
43 <br>
44 <br>
45 <br>
46 <br>
47 <br>
48 <br>
49 <br>
50 <br>
51 <br>
52 <br>
53 <br>
54 <br>
55 <br>
56 <br>
57 </body>
58 </html>