summaryrefslogtreecommitdiffstats
path: root/tests/auto/httpserver/data/loadprogress/page8.html
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/httpserver/data/loadprogress/page8.html')
-rw-r--r--tests/auto/httpserver/data/loadprogress/page8.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/auto/httpserver/data/loadprogress/page8.html b/tests/auto/httpserver/data/loadprogress/page8.html
new file mode 100644
index 000000000..8ebdddf97
--- /dev/null
+++ b/tests/auto/httpserver/data/loadprogress/page8.html
@@ -0,0 +1,20 @@
+<html>
+ <head>
+ <title>Page with js navigation in the end of document to anchor within the page</title>
+ </head>
+ <style>
+ .fardown {
+ position: absolute;
+ top: 2500px;
+ }
+ </style>
+ <body>
+ <div><a id="anchorLink" href="#anchor">go to the anchor</a></div>
+ <div class="fardown" id="anchor">here is the anchor</div>
+ <script>
+ addEventListener('load', (event) => {
+ window.location.replace(document.getElementById('anchorLink').href)
+ })
+ </script>
+ </body>
+</html>