diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-scroll-anchoring/support/history-restore-anchors-new-window.html')
-rw-r--r-- | testing/web-platform/tests/css/css-scroll-anchoring/support/history-restore-anchors-new-window.html | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-scroll-anchoring/support/history-restore-anchors-new-window.html b/testing/web-platform/tests/css/css-scroll-anchoring/support/history-restore-anchors-new-window.html new file mode 100644 index 0000000000..bd8290e793 --- /dev/null +++ b/testing/web-platform/tests/css/css-scroll-anchoring/support/history-restore-anchors-new-window.html @@ -0,0 +1,29 @@ +<style> + body { + margin: 0px; + height: 2000px; + width: 2000px; + } + + #first { + height: 1000px; + background-color: #FFA5D2; + } + + #anchor { + position: absolute; + background-color: #84BE6A; + height: 600px; + width: 100%; + } +</style> + +<div id="first"></div> +<div id="changer"></div> +<div id="anchor"></div> + +<script> +onload = function() { + opener.postMessage("loaded", "*"); +} +</script> |