summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/block/positioning/removing-inside-relpositioned-inline-crash.html
blob: 11a5a3cab42152ace6732e652ae2ce6668501235 (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
<html>
    <body onload="runTest()">
        <style>
            a { position: relative; }
            span { position: absolute; }
        </style>
        <script>
            if (window.testRunner)
                testRunner.dumpAsText();

            function runTest()
            {
                document.body.offsetTop;
                child = document.getElementById('test');
                child.parentNode.removeChild(child);
                document.body.offsetTop;
                document.body.innerHTML = 'PASS';
            }
        </script>
        <script></script>
        <div><a><span>
            <table id="test">
            <isindex>
        </span></a></div>
    </body>
</html>