summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/564054-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/bugs/564054-1.html')
-rw-r--r--layout/reftests/bugs/564054-1.html33
1 files changed, 33 insertions, 0 deletions
diff --git a/layout/reftests/bugs/564054-1.html b/layout/reftests/bugs/564054-1.html
new file mode 100644
index 0000000000..40ce2fc616
--- /dev/null
+++ b/layout/reftests/bugs/564054-1.html
@@ -0,0 +1,33 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript">
+
+function boom()
+{
+ var tbody = document.getElementById("tbody");
+ var trX = document.createElement('tr');
+ tbody.insertBefore(trX, tbody.getElementsByTagName("tr")[0]);
+ var trY = document.createElement('tr');
+ tbody.insertBefore(trY, trX);
+ var tdY1 = document.createElement('td');
+ tdY1.setAttribute('rowspan', 0);
+ trY.appendChild(tdY1);
+}
+</script>
+<style>
+td {width: 30px; height: 30px;}
+
+</style>
+</head>
+
+<body onload="boom();">
+ <table border cellspacing="10px" cellpadding="10px">
+ <tbody id="tbody">
+ <tr>
+ <td></td>
+ </tr>
+ </tbody>
+ </table>
+</body>
+</html>