summaryrefslogtreecommitdiffstats
path: root/layout/tables/crashtests/344000-1.html
diff options
context:
space:
mode:
authorMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
committerMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
commit5f8de423f190bbb79a62f804151bc24824fa32d8 (patch)
tree10027f336435511475e392454359edea8e25895d /layout/tables/crashtests/344000-1.html
parent49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff)
downloadUXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip
Add m-esr52 at 52.6.0
Diffstat (limited to 'layout/tables/crashtests/344000-1.html')
-rw-r--r--layout/tables/crashtests/344000-1.html45
1 files changed, 45 insertions, 0 deletions
diff --git a/layout/tables/crashtests/344000-1.html b/layout/tables/crashtests/344000-1.html
new file mode 100644
index 000000000..0dbfac857
--- /dev/null
+++ b/layout/tables/crashtests/344000-1.html
@@ -0,0 +1,45 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <title>dom cellmap crash</title>
+
+
+
+<script>
+function doit()
+{
+ var doc = window.document;
+ var t1= doc.getElementById('table1');
+ var tbA = doc.createElement('tbody');
+ t1.appendChild(tbA);
+ var trA = doc.createElement('tr');
+ var td = doc.createElement('td');
+ td.setAttribute('rowspan', 2);
+ trA.appendChild(td);
+ tbA.appendChild(trA);
+ var trB = doc.createElement('tr');
+ var tdB = doc.createElement('td');
+ tdB.setAttribute('rowspan', 2);
+ trB.appendChild(tdB);
+ tbA.appendChild(trB);
+ tdB.parentNode.removeChild(tdB);
+ trA.parentNode.removeChild(trA);
+ trB.parentNode.removeChild(trB);
+ var tb = doc.createElement('tbody');
+ trB.appendChild(tdB);
+ tb.appendChild(trB);
+ t1.appendChild(tb);
+}
+</script>
+
+</head>
+
+<body onload="doit()">
+
+<table id="table1"><tbody id="tbody1"><tr id="tr1"><td id="td1">x</td></tr></tbody></table>
+
+
+
+
+</body>
+
+</html>