diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-21 11:44:51 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-21 11:44:51 +0000 |
commit | 9e3c08db40b8916968b9f30096c7be3f00ce9647 (patch) | |
tree | a68f146d7fa01f0134297619fbe7e33db084e0aa /layout/tables/crashtests/344000-1.html | |
parent | Initial commit. (diff) | |
download | thunderbird-9e3c08db40b8916968b9f30096c7be3f00ce9647.tar.xz thunderbird-9e3c08db40b8916968b9f30096c7be3f00ce9647.zip |
Adding upstream version 1:115.7.0.upstream/1%115.7.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'layout/tables/crashtests/344000-1.html')
-rw-r--r-- | layout/tables/crashtests/344000-1.html | 45 |
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 0000000000..407d47c42f --- /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.remove(); + trA.remove(); + trB.remove(); + 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>
|