summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-scroll-anchoring/support/history-restore-anchors-new-window.html
blob: bd8290e793dff28de516e84518a88498b35a307b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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>