1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/bugs/389924-1a.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,20 @@ 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.insertBefore(newCaption, table.firstChild); 1.15 +} 1.16 +</script> 1.17 + 1.18 +</head> 1.19 +<body onload="boom();"> 1.20 + 1.21 +<table id="table"><tbody></tbody></table> 1.22 +</body> 1.23 +</html>