summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/table/canvas-column-in-column-group.html
blob: aca3e035db79aa2ad8885125285c1164dd68b914 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!DOCTYPE html>
<p>Test for bug <a href="http://webkit.org/b/87314">87314</a>: Crash in LayoutTableCol::nextColumn</p>
<table>
    <colgroup>
    </colgroup>
    <tbody>
        <td></td>
    </tbody>
</table>
<script>
    if (window.testRunner)
        testRunner.dumpAsText();

    var canvas = document.createElement("canvas");
    canvas.style.display = "table-column";
    document.getElementsByTagName("colgroup")[0].appendChild(canvas);
    document.body.offsetTop;
    document.body.appendChild(document.createTextNode("PASSED, this test didn't crash or ASSERT."));
</script>