| <html> |
| <meta http-equiv="refresh" content="2"> |
| <script> |
| |
| if (window.testRunner) { |
| testRunner.waitUntilDone(); |
| testRunner.dumpAsText(); |
| } |
| |
| function testScroll() { |
| window.setTimeout(function() { |
| if (window.pageYOffset != 0) { |
| document.body.innerHTML = "SUCCESS"; |
| testRunner.notifyDone(); |
| } else |
| location.assign('scrollstate-after-http-equiv-refresh-fragment-identifier-2.html#1'); |
| }, 0); |
| } |
| |
| onload = testScroll; |
| |
| </script> |
| |
| <body> |
| This test checks that a page reloaded by http-equiv="refresh" respects the user's navigation to |
| fragment identifiers within the page when reloading. |
| https://bugs.webkit.org/show_bug.cgi?id=62482 |
| <br> |
| <br> |
| <br> |
| <br> |
| <br> |
| <br> |
| <br> |
| <br> |
| <br> |
| <br> |
| <br> |
| <br> |
| <br> |
| <br> |
| <br> |
| <br> |
| <div id="1"></div> |
| <br> |
| <br> |
| <br> |
| <br> |
| <br> |
| <br> |
| <br> |
| <br> |
| <br> |
| <br> |
| <br> |
| <br> |
| <br> |
| <br> |
| <br> |
| <br> |
| <br> |
| <br> |
| <br> |
| <br> |
| <br> |
| <br> |
| <br> |
| <br> |
| <br> |
| <br> |
| <br> |
| <br> |
| <br> |
| <br> |
| <br> |
| <br> |
| <br> |
| <br> |
| <br> |
| <br> |
| <br> |
| <br> |
| <br> |
| <br> |
| <br> |
| <br> |
| <br> |
| <br> |
| <br> |
| <br> |
| <br> |
| <br> |
| <br> |
| <br> |
| <br> |
| <br> |
| <br> |
| <br> |
| <br> |
| <br> |
| <br> |
| <br> |
| <br> |
| <br> |
| <br> |
| <br> |
| <br> |
| <br> |
| <br> |
| <br> |
| <br> |
| <br> |
| <br> |
| <br> |
| <br> |
| </body> |
| </html> |