summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/table/fixed-table-layout/colgroup-removal-crash.html
blob: 2a5d1cb292fa3abf34c18210c8c0333dd7d65cc1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!DOCTYPE html>
<p>Bug <a href="https://bugs.webkit.org/show_bug.cgi?id=88676">88676</a>: Crash in TableLayoutAlgorithmFixed::layout</p>
<p id="console">FAILED, the test didn't run.</p>
<table id="table" width="1" style="table-layout:fixed;">
    <tbody>
        <tr></tr>
    </tbody>
    <colgroup id="colGroup"></colgroup>
</table>
<script>
    if (window.testRunner)
        testRunner.dumpAsText();

    document.body.offsetTop;
    table.removeChild(colGroup);
    document.getElementById("console").innerHTML = "PASSED, the test didn't crash.";
</script>