summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/table/add-before-anonymous-child.html
blob: 130a78c5911f3b0e45df188aa3623ab8631ce0e7 (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
<head>
<style>
    tr { width: 100px; height: 100px; }
</style>
</head>
<body>
<p>
    This tests for a regression against
    <i><a href="https://bugs.webkit.org/show_bug.cgi?id=5868">http://bugzilla.opendarwin.org/show_bug.cgi?id=5868</a>
    Crash on HP.com with ToT and Safari 2.0.2 in khtml::RenderContainer::detach()</i>.
</p>
<p>
    There should be two 100x100 squares stacked vertically below.
    The green square should be above the blue square.
</p>
<hr>
<table>
<tr style="display:none; background: green;" id="t">
</tr>      
<tr style="display:block; background: blue;"></tr>
</table>
<script language="JavaScript">
    document.getElementById('t').style.display = 'block';
</script>
</body>