summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/table/generated-caption.html
blob: 1b3fe45ac7e2227b60fb054a0f69f991e18f5632 (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
<html>
<head>
    <style>
        span { display: table; caption-side: bottom; }
        span:after { display: table-caption; content: 'after'; }
    </style>
</head>
<body>
    <p>
        Test for <i><a href="http://bugs.webkit.org/show_bug.cgi?id=15309">http://bugs.webkit.org/show_bug.cgi?id=15309</a>
        Crash due to infinite recursion in LayoutTable::addChild</i>.
    </p>
    <p>
        The following should look the same (and have identical render tree hierarchies):
    </p>
    <p>
        <span>table</span>
    </p>
    <p>
        <table cellpadding="0" style="border-collapse: collapse; caption-side: bottom;">
            <tr>
                <td>table</td>
            </tr>
            <caption>after</caption>
        </table>
    </p>
</body>
</html>