summaryrefslogtreecommitdiffstats
path: root/layout/tables/crashtests/580481-1.xhtml
blob: 32ba0dd5411d423c5a5bfab7bacc4292679b97d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script>
<![CDATA[

var HTML_NS = "http://www.w3.org/1999/xhtml";
function placeBefore(n, r) { r.parentNode.insertBefore(n, r); }

function boom()
{
  placeBefore(document.createElementNS(HTML_NS, 'td'), document.getElementById("td1"));
  placeBefore(document.createElementNS(HTML_NS, 'tr'), document.getElementById("tr1"));
}

]]>
</script>
</head>

<body onload="boom();">
<table rules="groups"><tbody><tbody><tr id="tr1" style="border-left: 6px inset green;"><td id="td1"></td></tr></tbody></tbody></table>
</body>

</html>