summaryrefslogtreecommitdiffstats
path: root/devtools/server/tests/chrome/inspector_getOffsetParent.html
blob: 72aac5f70bd347a029423b4c9345058a44f0de8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<html>
<head>
<body>
    <div id="relative_parent" style="position: relative">
        <div id="absolute_child" style="position: absolute"></div>
    </div>
    <div id="static"></div>
    <div id="no_parent" style="position: absolute"></div>
    <div id="fixed" style="position: fixed"></div>
    <script>
       "use strict";

       window.onload = () => {
         window.opener.postMessage("ready", "*");
       };
     </script>
</body>
</html>