bzbarsky%mit.edu 858861db17 Make sure to reflow the caption if it gets inserted into our table before
another caption.  Bug 389924, r=bernd, sr+a=dbaron


git-svn-id: svn://10.0.0.236/trunk@231361 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-02 21:34:59 +00:00

22 lines
413 B
HTML

<!DOCTYPE html>
<html>
<head>
<script>
function boom()
{
var table = document.getElementById("table");
var newCaption = document.createElement('caption');
newCaption.appendChild(document.createTextNode("THIS SHOULD BE VISIBLE"));
table.appendChild(newCaption);
table.appendChild(document.createElement("tbody"));
}
</script>
</head>
<body onload="boom();">
<table id="table"></table>
</body>
</html>