summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/389924-1b.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/bugs/389924-1b.html')
-rw-r--r--layout/reftests/bugs/389924-1b.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/layout/reftests/bugs/389924-1b.html b/layout/reftests/bugs/389924-1b.html
new file mode 100644
index 000000000..4c6af6fee
--- /dev/null
+++ b/layout/reftests/bugs/389924-1b.html
@@ -0,0 +1,21 @@
+<!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>