gecko/layout/html/tests/table/bugs/bug11321.html

18 lines
476 B
HTML
Raw Normal View History

<HTML>
<BODY onload="run()">
<SCRIPT>
<!--
function run(){
var tbl = document.body.appendChild(document.createElement("TABLE"));
//alert("Appending TR to TABLE");
var tr = tbl.appendChild(document.createElement("TR"));
var tmp_td = document.createElement("TD")
var td1 = tr.appendChild(tmp_td); // <-- Causes Crash
var td1_text = td1.appendChild(document.createTextNode("testing"));
}
//-->
</SCRIPT>
</BODY>
</HTML>