1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/bugs/389924-1b.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,21 @@ 1.4 +<!DOCTYPE html> 1.5 +<html> 1.6 +<head> 1.7 +<script> 1.8 +function boom() 1.9 +{ 1.10 + var table = document.getElementById("table"); 1.11 + 1.12 + var newCaption = document.createElement('caption'); 1.13 + newCaption.appendChild(document.createTextNode("THIS SHOULD BE VISIBLE")); 1.14 + table.appendChild(newCaption); 1.15 + table.appendChild(document.createElement("tbody")); 1.16 +} 1.17 +</script> 1.18 + 1.19 +</head> 1.20 +<body onload="boom();"> 1.21 + 1.22 +<table id="table"></table> 1.23 +</body> 1.24 +</html>