From 0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 03:47:29 +0200 Subject: Adding upstream version 115.8.0esr. Signed-off-by: Daniel Baumann --- layout/reftests/table-dom/appendCells1-ref.html | 20 ++++ layout/reftests/table-dom/appendCells1.html | 31 +++++ .../table-dom/appendCellsRebuild1-ref.html | 33 ++++++ layout/reftests/table-dom/appendCellsRebuild1.html | 41 +++++++ .../table-dom/appendCellsZeroColspan-ref.html | 28 +++++ .../reftests/table-dom/appendCellsZeroColspan.html | 37 ++++++ layout/reftests/table-dom/appendCol1-ref.html | 17 +++ layout/reftests/table-dom/appendCol1.html | 27 +++++ layout/reftests/table-dom/appendCol2-ref.html | 19 +++ layout/reftests/table-dom/appendCol2.html | 29 +++++ layout/reftests/table-dom/appendColGroup1-ref.html | 22 ++++ layout/reftests/table-dom/appendColGroup1.html | 33 ++++++ .../reftests/table-dom/appendRowsExpand1-ref.html | 22 ++++ layout/reftests/table-dom/appendRowsExpand1.html | 31 +++++ .../reftests/table-dom/appendTbodyExpand1-ref.html | 23 ++++ layout/reftests/table-dom/appendTbodyExpand1.html | 31 +++++ .../deleteCellsExpandZeroColspan-ref.html | 14 +++ .../table-dom/deleteCellsExpandZeroColspan.html | 20 ++++ .../table-dom/deleteCellsRebuild1-ref.html | 19 +++ layout/reftests/table-dom/deleteCellsRebuild1.html | 26 +++++ .../reftests/table-dom/deleteCellsShrink1-ref.html | 16 +++ layout/reftests/table-dom/deleteCellsShrink1.html | 23 ++++ .../reftests/table-dom/deleteCellsShrink2-ref.html | 21 ++++ layout/reftests/table-dom/deleteCellsShrink2.html | 26 +++++ layout/reftests/table-dom/deleteCol1-ref.html | 20 ++++ layout/reftests/table-dom/deleteCol1.html | 30 +++++ layout/reftests/table-dom/deleteCol2-ref.html | 18 +++ layout/reftests/table-dom/deleteCol2.html | 30 +++++ layout/reftests/table-dom/deleteCol3-ref.html | 18 +++ layout/reftests/table-dom/deleteCol3.html | 30 +++++ layout/reftests/table-dom/deleteColGroup1-ref.html | 16 +++ layout/reftests/table-dom/deleteColGroup1.html | 27 +++++ layout/reftests/table-dom/deleteColGroup2-ref.html | 16 +++ layout/reftests/table-dom/deleteColGroup2.html | 27 +++++ .../reftests/table-dom/deleteRowsRebuild1-ref.html | 21 ++++ layout/reftests/table-dom/deleteRowsRebuild1.html | 35 ++++++ .../table-dom/deleteRowsRebuild1a-ref.html | 15 +++ layout/reftests/table-dom/deleteRowsRebuild1a.html | 26 +++++ .../reftests/table-dom/deleteRowsShrink1-ref.html | 20 ++++ layout/reftests/table-dom/deleteRowsShrink1.html | 35 ++++++ .../reftests/table-dom/deleteTbodyExpand1-ref.html | 31 +++++ layout/reftests/table-dom/deleteTbodyExpand1.html | 55 +++++++++ .../table-dom/deleteTbodyRebuild1-ref.html | 20 ++++ layout/reftests/table-dom/deleteTbodyRebuild1.html | 36 ++++++ .../table-dom/insertCaptionsAndRows1-ref.html | 16 +++ .../reftests/table-dom/insertCaptionsAndRows1.html | 45 +++++++ .../table-dom/insertCaptionsAndRows2-ref.html | 19 +++ .../reftests/table-dom/insertCaptionsAndRows2.html | 46 ++++++++ .../table-dom/insertCaptionsAndRows3-ref.html | 18 +++ .../reftests/table-dom/insertCaptionsAndRows3.html | 48 ++++++++ .../table-dom/insertCaptionsAndRows4-ref.html | 18 +++ .../reftests/table-dom/insertCaptionsAndRows4.html | 48 ++++++++ .../reftests/table-dom/insertCellsExpand1-ref.html | 18 +++ layout/reftests/table-dom/insertCellsExpand1.html | 29 +++++ .../reftests/table-dom/insertCellsExpand2-ref.html | 21 ++++ layout/reftests/table-dom/insertCellsExpand2.html | 29 +++++ .../insertCellsExpandZeroRowspan-ref.html | 26 +++++ .../table-dom/insertCellsExpandZeroRowspan.html | 36 ++++++ .../table-dom/insertCellsRebuild1-ref.html | 34 ++++++ layout/reftests/table-dom/insertCellsRebuild1.html | 41 +++++++ .../table-dom/insertCellsRebuild2-ref.html | 22 ++++ layout/reftests/table-dom/insertCellsRebuild2.html | 31 +++++ .../table-dom/insertCellsZeroColspan-ref.html | 15 +++ .../reftests/table-dom/insertCellsZeroColspan.html | 28 +++++ .../reftests/table-dom/insertColGroups1-ref.html | 19 +++ layout/reftests/table-dom/insertColGroups1.html | 30 +++++ .../reftests/table-dom/insertColGroups2-ref.html | 20 ++++ layout/reftests/table-dom/insertColGroups2.html | 33 ++++++ .../table-dom/insertColgroupAndRowgroup-ref.html | 17 +++ .../table-dom/insertColgroupAndRowgroup.html | 43 +++++++ layout/reftests/table-dom/insertCols1-ref.html | 13 +++ layout/reftests/table-dom/insertCols1.html | 25 ++++ layout/reftests/table-dom/insertCols2-ref.html | 13 +++ layout/reftests/table-dom/insertCols2.html | 25 ++++ layout/reftests/table-dom/insertCols3-ref.html | 14 +++ layout/reftests/table-dom/insertCols3.html | 26 +++++ layout/reftests/table-dom/insertCols4-ref.html | 15 +++ layout/reftests/table-dom/insertCols4.html | 26 +++++ layout/reftests/table-dom/insertCols5-ref.html | 15 +++ layout/reftests/table-dom/insertCols5.html | 26 +++++ .../reftests/table-dom/insertRowsExpand1-ref.html | 18 +++ layout/reftests/table-dom/insertRowsExpand1.html | 28 +++++ .../reftests/table-dom/insertRowsRebuild1-ref.html | 18 +++ layout/reftests/table-dom/insertRowsRebuild1.html | 28 +++++ .../reftests/table-dom/insertTbodyExpand1-ref.html | 23 ++++ layout/reftests/table-dom/insertTbodyExpand1.html | 32 +++++ .../table-dom/insertTbodyRebuild1-ref.html | 23 ++++ layout/reftests/table-dom/insertTbodyRebuild1.html | 32 +++++ layout/reftests/table-dom/reftest.list | 44 +++++++ layout/reftests/table-dom/tableDom.js | 129 +++++++++++++++++++++ 90 files changed, 2458 insertions(+) create mode 100644 layout/reftests/table-dom/appendCells1-ref.html create mode 100644 layout/reftests/table-dom/appendCells1.html create mode 100644 layout/reftests/table-dom/appendCellsRebuild1-ref.html create mode 100644 layout/reftests/table-dom/appendCellsRebuild1.html create mode 100644 layout/reftests/table-dom/appendCellsZeroColspan-ref.html create mode 100644 layout/reftests/table-dom/appendCellsZeroColspan.html create mode 100644 layout/reftests/table-dom/appendCol1-ref.html create mode 100644 layout/reftests/table-dom/appendCol1.html create mode 100644 layout/reftests/table-dom/appendCol2-ref.html create mode 100644 layout/reftests/table-dom/appendCol2.html create mode 100644 layout/reftests/table-dom/appendColGroup1-ref.html create mode 100644 layout/reftests/table-dom/appendColGroup1.html create mode 100644 layout/reftests/table-dom/appendRowsExpand1-ref.html create mode 100644 layout/reftests/table-dom/appendRowsExpand1.html create mode 100644 layout/reftests/table-dom/appendTbodyExpand1-ref.html create mode 100644 layout/reftests/table-dom/appendTbodyExpand1.html create mode 100644 layout/reftests/table-dom/deleteCellsExpandZeroColspan-ref.html create mode 100644 layout/reftests/table-dom/deleteCellsExpandZeroColspan.html create mode 100644 layout/reftests/table-dom/deleteCellsRebuild1-ref.html create mode 100644 layout/reftests/table-dom/deleteCellsRebuild1.html create mode 100644 layout/reftests/table-dom/deleteCellsShrink1-ref.html create mode 100644 layout/reftests/table-dom/deleteCellsShrink1.html create mode 100644 layout/reftests/table-dom/deleteCellsShrink2-ref.html create mode 100644 layout/reftests/table-dom/deleteCellsShrink2.html create mode 100644 layout/reftests/table-dom/deleteCol1-ref.html create mode 100644 layout/reftests/table-dom/deleteCol1.html create mode 100644 layout/reftests/table-dom/deleteCol2-ref.html create mode 100644 layout/reftests/table-dom/deleteCol2.html create mode 100644 layout/reftests/table-dom/deleteCol3-ref.html create mode 100644 layout/reftests/table-dom/deleteCol3.html create mode 100644 layout/reftests/table-dom/deleteColGroup1-ref.html create mode 100644 layout/reftests/table-dom/deleteColGroup1.html create mode 100644 layout/reftests/table-dom/deleteColGroup2-ref.html create mode 100644 layout/reftests/table-dom/deleteColGroup2.html create mode 100644 layout/reftests/table-dom/deleteRowsRebuild1-ref.html create mode 100644 layout/reftests/table-dom/deleteRowsRebuild1.html create mode 100644 layout/reftests/table-dom/deleteRowsRebuild1a-ref.html create mode 100644 layout/reftests/table-dom/deleteRowsRebuild1a.html create mode 100644 layout/reftests/table-dom/deleteRowsShrink1-ref.html create mode 100644 layout/reftests/table-dom/deleteRowsShrink1.html create mode 100644 layout/reftests/table-dom/deleteTbodyExpand1-ref.html create mode 100644 layout/reftests/table-dom/deleteTbodyExpand1.html create mode 100644 layout/reftests/table-dom/deleteTbodyRebuild1-ref.html create mode 100644 layout/reftests/table-dom/deleteTbodyRebuild1.html create mode 100644 layout/reftests/table-dom/insertCaptionsAndRows1-ref.html create mode 100644 layout/reftests/table-dom/insertCaptionsAndRows1.html create mode 100644 layout/reftests/table-dom/insertCaptionsAndRows2-ref.html create mode 100644 layout/reftests/table-dom/insertCaptionsAndRows2.html create mode 100644 layout/reftests/table-dom/insertCaptionsAndRows3-ref.html create mode 100644 layout/reftests/table-dom/insertCaptionsAndRows3.html create mode 100644 layout/reftests/table-dom/insertCaptionsAndRows4-ref.html create mode 100644 layout/reftests/table-dom/insertCaptionsAndRows4.html create mode 100644 layout/reftests/table-dom/insertCellsExpand1-ref.html create mode 100644 layout/reftests/table-dom/insertCellsExpand1.html create mode 100644 layout/reftests/table-dom/insertCellsExpand2-ref.html create mode 100644 layout/reftests/table-dom/insertCellsExpand2.html create mode 100644 layout/reftests/table-dom/insertCellsExpandZeroRowspan-ref.html create mode 100644 layout/reftests/table-dom/insertCellsExpandZeroRowspan.html create mode 100644 layout/reftests/table-dom/insertCellsRebuild1-ref.html create mode 100644 layout/reftests/table-dom/insertCellsRebuild1.html create mode 100644 layout/reftests/table-dom/insertCellsRebuild2-ref.html create mode 100644 layout/reftests/table-dom/insertCellsRebuild2.html create mode 100644 layout/reftests/table-dom/insertCellsZeroColspan-ref.html create mode 100644 layout/reftests/table-dom/insertCellsZeroColspan.html create mode 100644 layout/reftests/table-dom/insertColGroups1-ref.html create mode 100644 layout/reftests/table-dom/insertColGroups1.html create mode 100644 layout/reftests/table-dom/insertColGroups2-ref.html create mode 100644 layout/reftests/table-dom/insertColGroups2.html create mode 100644 layout/reftests/table-dom/insertColgroupAndRowgroup-ref.html create mode 100644 layout/reftests/table-dom/insertColgroupAndRowgroup.html create mode 100644 layout/reftests/table-dom/insertCols1-ref.html create mode 100644 layout/reftests/table-dom/insertCols1.html create mode 100644 layout/reftests/table-dom/insertCols2-ref.html create mode 100644 layout/reftests/table-dom/insertCols2.html create mode 100644 layout/reftests/table-dom/insertCols3-ref.html create mode 100644 layout/reftests/table-dom/insertCols3.html create mode 100644 layout/reftests/table-dom/insertCols4-ref.html create mode 100644 layout/reftests/table-dom/insertCols4.html create mode 100644 layout/reftests/table-dom/insertCols5-ref.html create mode 100644 layout/reftests/table-dom/insertCols5.html create mode 100644 layout/reftests/table-dom/insertRowsExpand1-ref.html create mode 100644 layout/reftests/table-dom/insertRowsExpand1.html create mode 100644 layout/reftests/table-dom/insertRowsRebuild1-ref.html create mode 100644 layout/reftests/table-dom/insertRowsRebuild1.html create mode 100644 layout/reftests/table-dom/insertTbodyExpand1-ref.html create mode 100644 layout/reftests/table-dom/insertTbodyExpand1.html create mode 100644 layout/reftests/table-dom/insertTbodyRebuild1-ref.html create mode 100644 layout/reftests/table-dom/insertTbodyRebuild1.html create mode 100644 layout/reftests/table-dom/reftest.list create mode 100644 layout/reftests/table-dom/tableDom.js (limited to 'layout/reftests/table-dom') diff --git a/layout/reftests/table-dom/appendCells1-ref.html b/layout/reftests/table-dom/appendCells1-ref.html new file mode 100644 index 0000000000..e59fd0c427 --- /dev/null +++ b/layout/reftests/table-dom/appendCells1-ref.html @@ -0,0 +1,20 @@ + + + + + + + +
c11c12X1
+ + + + +
c11c12X2X3
+ + + + + + + diff --git a/layout/reftests/table-dom/appendCells1.html b/layout/reftests/table-dom/appendCells1.html new file mode 100644 index 0000000000..c848def813 --- /dev/null +++ b/layout/reftests/table-dom/appendCells1.html @@ -0,0 +1,31 @@ + + + + + + + + + +
c11c12
+ + + + +
c11c12
+ + + + + + + diff --git a/layout/reftests/table-dom/appendCellsRebuild1-ref.html b/layout/reftests/table-dom/appendCellsRebuild1-ref.html new file mode 100644 index 0000000000..96f413657f --- /dev/null +++ b/layout/reftests/table-dom/appendCellsRebuild1-ref.html @@ -0,0 +1,33 @@ + + + + + + + + + + + + + +
c11X1
c21c22
+ + + + + + + + + +
c11X2X3
c21c22
+ + + + + + + + + diff --git a/layout/reftests/table-dom/appendCellsRebuild1.html b/layout/reftests/table-dom/appendCellsRebuild1.html new file mode 100644 index 0000000000..fae04b6e3b --- /dev/null +++ b/layout/reftests/table-dom/appendCellsRebuild1.html @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + +
c11
c21c22
+ + + + + + + + + +
c11
c21c22
+ + + + + + + diff --git a/layout/reftests/table-dom/appendCellsZeroColspan-ref.html b/layout/reftests/table-dom/appendCellsZeroColspan-ref.html new file mode 100644 index 0000000000..38c190e181 --- /dev/null +++ b/layout/reftests/table-dom/appendCellsZeroColspan-ref.html @@ -0,0 +1,28 @@ + + + + + + + + + + + + +
c11c12c13c14
c21X1
+ + + + + + +
c11X2
c21
c22
c23
c24
+ + + + + + + diff --git a/layout/reftests/table-dom/appendCellsZeroColspan.html b/layout/reftests/table-dom/appendCellsZeroColspan.html new file mode 100644 index 0000000000..0bca392c9c --- /dev/null +++ b/layout/reftests/table-dom/appendCellsZeroColspan.html @@ -0,0 +1,37 @@ + + + + + + + + + + + + +
c11c12c13c14
c21
+ + + + + + + +
c11
c21
c22
c23
c24
+ + + + + + + diff --git a/layout/reftests/table-dom/appendCol1-ref.html b/layout/reftests/table-dom/appendCol1-ref.html new file mode 100644 index 0000000000..c9728b754e --- /dev/null +++ b/layout/reftests/table-dom/appendCol1-ref.html @@ -0,0 +1,17 @@ + + + + + + + + + +
c11c12
+ + + + + + + diff --git a/layout/reftests/table-dom/appendCol1.html b/layout/reftests/table-dom/appendCol1.html new file mode 100644 index 0000000000..27bdcac7c5 --- /dev/null +++ b/layout/reftests/table-dom/appendCol1.html @@ -0,0 +1,27 @@ + + + + + + + + + + +
c11c12
+ + + + + + + diff --git a/layout/reftests/table-dom/appendCol2-ref.html b/layout/reftests/table-dom/appendCol2-ref.html new file mode 100644 index 0000000000..25a652fdfb --- /dev/null +++ b/layout/reftests/table-dom/appendCol2-ref.html @@ -0,0 +1,19 @@ + + + + + + + + + + + +
c11c12
+ + + + + + + diff --git a/layout/reftests/table-dom/appendCol2.html b/layout/reftests/table-dom/appendCol2.html new file mode 100644 index 0000000000..cae53697ca --- /dev/null +++ b/layout/reftests/table-dom/appendCol2.html @@ -0,0 +1,29 @@ + + + + + + + + + + + + +
c11c12
+ + + + + + + diff --git a/layout/reftests/table-dom/appendColGroup1-ref.html b/layout/reftests/table-dom/appendColGroup1-ref.html new file mode 100644 index 0000000000..62ca7d37c8 --- /dev/null +++ b/layout/reftests/table-dom/appendColGroup1-ref.html @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + +
col-100cg-200cg-200
+ + + + + + + diff --git a/layout/reftests/table-dom/appendColGroup1.html b/layout/reftests/table-dom/appendColGroup1.html new file mode 100644 index 0000000000..c79e5907b6 --- /dev/null +++ b/layout/reftests/table-dom/appendColGroup1.html @@ -0,0 +1,33 @@ + + + + + + + + + + + + +
col-100cg-200cg-200
+ + + + + + + diff --git a/layout/reftests/table-dom/appendRowsExpand1-ref.html b/layout/reftests/table-dom/appendRowsExpand1-ref.html new file mode 100644 index 0000000000..6ced35cadc --- /dev/null +++ b/layout/reftests/table-dom/appendRowsExpand1-ref.html @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + +
c11c12
X1X2
X3X4
+ + + + + + + diff --git a/layout/reftests/table-dom/appendRowsExpand1.html b/layout/reftests/table-dom/appendRowsExpand1.html new file mode 100644 index 0000000000..ae712596af --- /dev/null +++ b/layout/reftests/table-dom/appendRowsExpand1.html @@ -0,0 +1,31 @@ + + + + + + + + + +
c11c12
+ + + + + + + diff --git a/layout/reftests/table-dom/appendTbodyExpand1-ref.html b/layout/reftests/table-dom/appendTbodyExpand1-ref.html new file mode 100644 index 0000000000..9d79810793 --- /dev/null +++ b/layout/reftests/table-dom/appendTbodyExpand1-ref.html @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + +
c11c12
X1X2
+ + + + + + + diff --git a/layout/reftests/table-dom/appendTbodyExpand1.html b/layout/reftests/table-dom/appendTbodyExpand1.html new file mode 100644 index 0000000000..bee0c21026 --- /dev/null +++ b/layout/reftests/table-dom/appendTbodyExpand1.html @@ -0,0 +1,31 @@ + + + + + + + + + + + +
c11c12
+ + + + + + + diff --git a/layout/reftests/table-dom/deleteCellsExpandZeroColspan-ref.html b/layout/reftests/table-dom/deleteCellsExpandZeroColspan-ref.html new file mode 100644 index 0000000000..d5a1f383c9 --- /dev/null +++ b/layout/reftests/table-dom/deleteCellsExpandZeroColspan-ref.html @@ -0,0 +1,14 @@ + + + + + + + + + + +
c11c12c13c14
X1
+ + + diff --git a/layout/reftests/table-dom/deleteCellsExpandZeroColspan.html b/layout/reftests/table-dom/deleteCellsExpandZeroColspan.html new file mode 100644 index 0000000000..9df0479bf5 --- /dev/null +++ b/layout/reftests/table-dom/deleteCellsExpandZeroColspan.html @@ -0,0 +1,20 @@ + + + + + + + + + + +
c11c12c13c14
c21X1
+ + + + + diff --git a/layout/reftests/table-dom/deleteCellsRebuild1-ref.html b/layout/reftests/table-dom/deleteCellsRebuild1-ref.html new file mode 100644 index 0000000000..db4a43ddc6 --- /dev/null +++ b/layout/reftests/table-dom/deleteCellsRebuild1-ref.html @@ -0,0 +1,19 @@ + + + + + + + + + + + +
c12c13
c12c22c23
+ + + + + + + diff --git a/layout/reftests/table-dom/deleteCellsRebuild1.html b/layout/reftests/table-dom/deleteCellsRebuild1.html new file mode 100644 index 0000000000..c238d4e4b0 --- /dev/null +++ b/layout/reftests/table-dom/deleteCellsRebuild1.html @@ -0,0 +1,26 @@ + + + + + + + + + + + + +
c11c12c13
c12c22c23
+ + + + + + + diff --git a/layout/reftests/table-dom/deleteCellsShrink1-ref.html b/layout/reftests/table-dom/deleteCellsShrink1-ref.html new file mode 100644 index 0000000000..3816a15b00 --- /dev/null +++ b/layout/reftests/table-dom/deleteCellsShrink1-ref.html @@ -0,0 +1,16 @@ + + + + + + + + +
c11c13
+ + + + + + + diff --git a/layout/reftests/table-dom/deleteCellsShrink1.html b/layout/reftests/table-dom/deleteCellsShrink1.html new file mode 100644 index 0000000000..901be05bb5 --- /dev/null +++ b/layout/reftests/table-dom/deleteCellsShrink1.html @@ -0,0 +1,23 @@ + + + + + + + + + +
c11c12c13
+ + + + + + + diff --git a/layout/reftests/table-dom/deleteCellsShrink2-ref.html b/layout/reftests/table-dom/deleteCellsShrink2-ref.html new file mode 100644 index 0000000000..6747224e2a --- /dev/null +++ b/layout/reftests/table-dom/deleteCellsShrink2-ref.html @@ -0,0 +1,21 @@ + + + + + + + + + + + + +
c11c13
c21c22c23
+ + + + + + + + diff --git a/layout/reftests/table-dom/deleteCellsShrink2.html b/layout/reftests/table-dom/deleteCellsShrink2.html new file mode 100644 index 0000000000..0ef77ae6c2 --- /dev/null +++ b/layout/reftests/table-dom/deleteCellsShrink2.html @@ -0,0 +1,26 @@ + + + + + + + + + + + + +
c11c12 c12 c12 c12 c12c13
c21c22c23
+ + + + + + + diff --git a/layout/reftests/table-dom/deleteCol1-ref.html b/layout/reftests/table-dom/deleteCol1-ref.html new file mode 100644 index 0000000000..556e329bfd --- /dev/null +++ b/layout/reftests/table-dom/deleteCol1-ref.html @@ -0,0 +1,20 @@ + + + + + + + + + + + +
200300auto
+ + + + + + + + diff --git a/layout/reftests/table-dom/deleteCol1.html b/layout/reftests/table-dom/deleteCol1.html new file mode 100644 index 0000000000..d17ccc0ee3 --- /dev/null +++ b/layout/reftests/table-dom/deleteCol1.html @@ -0,0 +1,30 @@ + + + + + + + + + + + + +
200300auto
+ + + + + + + diff --git a/layout/reftests/table-dom/deleteCol2-ref.html b/layout/reftests/table-dom/deleteCol2-ref.html new file mode 100644 index 0000000000..351dae6d79 --- /dev/null +++ b/layout/reftests/table-dom/deleteCol2-ref.html @@ -0,0 +1,18 @@ + + + + + + + + + +
100300auto
+ + + + + + + + diff --git a/layout/reftests/table-dom/deleteCol2.html b/layout/reftests/table-dom/deleteCol2.html new file mode 100644 index 0000000000..16016d305b --- /dev/null +++ b/layout/reftests/table-dom/deleteCol2.html @@ -0,0 +1,30 @@ + + + + + + + + + + + + +
100300auto
+ + + + + + + diff --git a/layout/reftests/table-dom/deleteCol3-ref.html b/layout/reftests/table-dom/deleteCol3-ref.html new file mode 100644 index 0000000000..2ad1a02b37 --- /dev/null +++ b/layout/reftests/table-dom/deleteCol3-ref.html @@ -0,0 +1,18 @@ + + + + + + + + + +
100200auto
+ + + + + + + + diff --git a/layout/reftests/table-dom/deleteCol3.html b/layout/reftests/table-dom/deleteCol3.html new file mode 100644 index 0000000000..1b9880b2d5 --- /dev/null +++ b/layout/reftests/table-dom/deleteCol3.html @@ -0,0 +1,30 @@ + + + + + + + + + + + + +
100200auto
+ + + + + + + diff --git a/layout/reftests/table-dom/deleteColGroup1-ref.html b/layout/reftests/table-dom/deleteColGroup1-ref.html new file mode 100644 index 0000000000..19a2eefa2a --- /dev/null +++ b/layout/reftests/table-dom/deleteColGroup1-ref.html @@ -0,0 +1,16 @@ + + + + + + + + +
200200autoauto
+ + + + + + + diff --git a/layout/reftests/table-dom/deleteColGroup1.html b/layout/reftests/table-dom/deleteColGroup1.html new file mode 100644 index 0000000000..d8ebb88350 --- /dev/null +++ b/layout/reftests/table-dom/deleteColGroup1.html @@ -0,0 +1,27 @@ + + + + + + + + + + + +
200200autoauto
+ + + + + + + diff --git a/layout/reftests/table-dom/deleteColGroup2-ref.html b/layout/reftests/table-dom/deleteColGroup2-ref.html new file mode 100644 index 0000000000..be6d1c1c22 --- /dev/null +++ b/layout/reftests/table-dom/deleteColGroup2-ref.html @@ -0,0 +1,16 @@ + + + + + + + + +
100100autoauto
+ + + + + + + diff --git a/layout/reftests/table-dom/deleteColGroup2.html b/layout/reftests/table-dom/deleteColGroup2.html new file mode 100644 index 0000000000..268b8aebe4 --- /dev/null +++ b/layout/reftests/table-dom/deleteColGroup2.html @@ -0,0 +1,27 @@ + + + + + + + + + + + +
100100autoauto
+ + + + + + + diff --git a/layout/reftests/table-dom/deleteRowsRebuild1-ref.html b/layout/reftests/table-dom/deleteRowsRebuild1-ref.html new file mode 100644 index 0000000000..b28c5337ef --- /dev/null +++ b/layout/reftests/table-dom/deleteRowsRebuild1-ref.html @@ -0,0 +1,21 @@ + + + + + + + + +
c21c22
+ + + + +
c11c12
+ + + + + + + diff --git a/layout/reftests/table-dom/deleteRowsRebuild1.html b/layout/reftests/table-dom/deleteRowsRebuild1.html new file mode 100644 index 0000000000..6964d7e86d --- /dev/null +++ b/layout/reftests/table-dom/deleteRowsRebuild1.html @@ -0,0 +1,35 @@ + + + + + + + + + + + + +
c11c12
c21c22
+ + + + + + + +
c11c12
c21c22
+ + + + + + + diff --git a/layout/reftests/table-dom/deleteRowsRebuild1a-ref.html b/layout/reftests/table-dom/deleteRowsRebuild1a-ref.html new file mode 100644 index 0000000000..a701f840c3 --- /dev/null +++ b/layout/reftests/table-dom/deleteRowsRebuild1a-ref.html @@ -0,0 +1,15 @@ + + + + + + + +
c21c22
+ + + + + + + diff --git a/layout/reftests/table-dom/deleteRowsRebuild1a.html b/layout/reftests/table-dom/deleteRowsRebuild1a.html new file mode 100644 index 0000000000..e4465dabd2 --- /dev/null +++ b/layout/reftests/table-dom/deleteRowsRebuild1a.html @@ -0,0 +1,26 @@ + + + + + + + + + + + + +
c11c12
c21c22
+ + + + + + + diff --git a/layout/reftests/table-dom/deleteRowsShrink1-ref.html b/layout/reftests/table-dom/deleteRowsShrink1-ref.html new file mode 100644 index 0000000000..93fca9089c --- /dev/null +++ b/layout/reftests/table-dom/deleteRowsShrink1-ref.html @@ -0,0 +1,20 @@ + + + + + + + +
c21c22
+ + + + +
c11c12
+ + + + + + + diff --git a/layout/reftests/table-dom/deleteRowsShrink1.html b/layout/reftests/table-dom/deleteRowsShrink1.html new file mode 100644 index 0000000000..8ec4a2d770 --- /dev/null +++ b/layout/reftests/table-dom/deleteRowsShrink1.html @@ -0,0 +1,35 @@ + + + + + + + + + + + + +
c11c12
c21c22
+ + + + + + + +
c11c12
c21c22
+ + + + + + + diff --git a/layout/reftests/table-dom/deleteTbodyExpand1-ref.html b/layout/reftests/table-dom/deleteTbodyExpand1-ref.html new file mode 100644 index 0000000000..2f11cfdedd --- /dev/null +++ b/layout/reftests/table-dom/deleteTbodyExpand1-ref.html @@ -0,0 +1,31 @@ + + + + + + + + + + + + + +
c31c32
c41c42
+ + + + + + + + + +
c11c12
c21c22
+ + + + + + + diff --git a/layout/reftests/table-dom/deleteTbodyExpand1.html b/layout/reftests/table-dom/deleteTbodyExpand1.html new file mode 100644 index 0000000000..09cf75fc3a --- /dev/null +++ b/layout/reftests/table-dom/deleteTbodyExpand1.html @@ -0,0 +1,55 @@ + + + + + + + + + + + + + + + + + + + + + + +
c11c12
c21c22
c31c32
c41c42
+ + + + + + + + + + + + + + + + + +
c11c12
c21c22
c31c32
c41c42
+ + + + + + + diff --git a/layout/reftests/table-dom/deleteTbodyRebuild1-ref.html b/layout/reftests/table-dom/deleteTbodyRebuild1-ref.html new file mode 100644 index 0000000000..9a2a66f236 --- /dev/null +++ b/layout/reftests/table-dom/deleteTbodyRebuild1-ref.html @@ -0,0 +1,20 @@ + + + + + + + + + + + + +
c31c32
c41c42
+ + + + + + + diff --git a/layout/reftests/table-dom/deleteTbodyRebuild1.html b/layout/reftests/table-dom/deleteTbodyRebuild1.html new file mode 100644 index 0000000000..f0052607ea --- /dev/null +++ b/layout/reftests/table-dom/deleteTbodyRebuild1.html @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + + + +
c11c12
c21c22
c31c32
c41c42
+ + + + + + + diff --git a/layout/reftests/table-dom/insertCaptionsAndRows1-ref.html b/layout/reftests/table-dom/insertCaptionsAndRows1-ref.html new file mode 100644 index 0000000000..e7ec45d142 --- /dev/null +++ b/layout/reftests/table-dom/insertCaptionsAndRows1-ref.html @@ -0,0 +1,16 @@ + + + + + + + + + + + +
a new row 1
this is the caption
a new row 2
+ + diff --git a/layout/reftests/table-dom/insertCaptionsAndRows1.html b/layout/reftests/table-dom/insertCaptionsAndRows1.html new file mode 100644 index 0000000000..8e86057b44 --- /dev/null +++ b/layout/reftests/table-dom/insertCaptionsAndRows1.html @@ -0,0 +1,45 @@ + + + + + + + + + + +
+ + diff --git a/layout/reftests/table-dom/insertCaptionsAndRows2-ref.html b/layout/reftests/table-dom/insertCaptionsAndRows2-ref.html new file mode 100644 index 0000000000..dc95e6e675 --- /dev/null +++ b/layout/reftests/table-dom/insertCaptionsAndRows2-ref.html @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + +
this is the caption
a new row 1
a new row 2
a row
+ + diff --git a/layout/reftests/table-dom/insertCaptionsAndRows2.html b/layout/reftests/table-dom/insertCaptionsAndRows2.html new file mode 100644 index 0000000000..a73e5758cb --- /dev/null +++ b/layout/reftests/table-dom/insertCaptionsAndRows2.html @@ -0,0 +1,46 @@ + + + + + + + + + + + +
a row
+ + diff --git a/layout/reftests/table-dom/insertCaptionsAndRows3-ref.html b/layout/reftests/table-dom/insertCaptionsAndRows3-ref.html new file mode 100644 index 0000000000..213d413066 --- /dev/null +++ b/layout/reftests/table-dom/insertCaptionsAndRows3-ref.html @@ -0,0 +1,18 @@ + + + + + + + + + + + + + +
a new row 1
this is the caption
a new row 2
this is a caption that you shouldn't see
a row
+ + diff --git a/layout/reftests/table-dom/insertCaptionsAndRows3.html b/layout/reftests/table-dom/insertCaptionsAndRows3.html new file mode 100644 index 0000000000..02bcaa8ea8 --- /dev/null +++ b/layout/reftests/table-dom/insertCaptionsAndRows3.html @@ -0,0 +1,48 @@ + + + + + + + + + + + + +
this is a caption that you shouldn't see
a row
+ + diff --git a/layout/reftests/table-dom/insertCaptionsAndRows4-ref.html b/layout/reftests/table-dom/insertCaptionsAndRows4-ref.html new file mode 100644 index 0000000000..7d42b3e336 --- /dev/null +++ b/layout/reftests/table-dom/insertCaptionsAndRows4-ref.html @@ -0,0 +1,18 @@ + + + + + + + + + + + + + +
this is the caption
a new row 1
this is a caption that you shouldn't see
a new row 2
a row
+ + diff --git a/layout/reftests/table-dom/insertCaptionsAndRows4.html b/layout/reftests/table-dom/insertCaptionsAndRows4.html new file mode 100644 index 0000000000..8413ffd9fd --- /dev/null +++ b/layout/reftests/table-dom/insertCaptionsAndRows4.html @@ -0,0 +1,48 @@ + + + + + + + + + + + + +
this is the caption
a row
+ + diff --git a/layout/reftests/table-dom/insertCellsExpand1-ref.html b/layout/reftests/table-dom/insertCellsExpand1-ref.html new file mode 100644 index 0000000000..f254cf6ee0 --- /dev/null +++ b/layout/reftests/table-dom/insertCellsExpand1-ref.html @@ -0,0 +1,18 @@ + + + + + + + + + + +
c11X2X1c12
c21X4X3c22
+ + + + + + + diff --git a/layout/reftests/table-dom/insertCellsExpand1.html b/layout/reftests/table-dom/insertCellsExpand1.html new file mode 100644 index 0000000000..3d62bd26a4 --- /dev/null +++ b/layout/reftests/table-dom/insertCellsExpand1.html @@ -0,0 +1,29 @@ + + + + + + + + + + + + +
c11c12
c21c22
+ + + + + + + diff --git a/layout/reftests/table-dom/insertCellsExpand2-ref.html b/layout/reftests/table-dom/insertCellsExpand2-ref.html new file mode 100644 index 0000000000..d701d01867 --- /dev/null +++ b/layout/reftests/table-dom/insertCellsExpand2-ref.html @@ -0,0 +1,21 @@ + + + + + + + + + + + + + +
c11X1c12
c21c22
c31c32c33c34
+ + + + + + + diff --git a/layout/reftests/table-dom/insertCellsExpand2.html b/layout/reftests/table-dom/insertCellsExpand2.html new file mode 100644 index 0000000000..2330aed1d7 --- /dev/null +++ b/layout/reftests/table-dom/insertCellsExpand2.html @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + + +
c11c12
c21c22
c31c32c33c34
+ + + + + + + diff --git a/layout/reftests/table-dom/insertCellsExpandZeroRowspan-ref.html b/layout/reftests/table-dom/insertCellsExpandZeroRowspan-ref.html new file mode 100644 index 0000000000..415b0ac0e7 --- /dev/null +++ b/layout/reftests/table-dom/insertCellsExpandZeroRowspan-ref.html @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + +
c11X2X1c12
c21X4X3
c31
+ + + + + + + diff --git a/layout/reftests/table-dom/insertCellsExpandZeroRowspan.html b/layout/reftests/table-dom/insertCellsExpandZeroRowspan.html new file mode 100644 index 0000000000..f30f7013b7 --- /dev/null +++ b/layout/reftests/table-dom/insertCellsExpandZeroRowspan.html @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + +
c11c12
c21
c31
+ + + + + + + diff --git a/layout/reftests/table-dom/insertCellsRebuild1-ref.html b/layout/reftests/table-dom/insertCellsRebuild1-ref.html new file mode 100644 index 0000000000..92ef4210fc --- /dev/null +++ b/layout/reftests/table-dom/insertCellsRebuild1-ref.html @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + +
c11X1c12
c21c22
c31c32c33c34
+ + + + + + + + + + +
c11c12c13
c21X2c22
c31c32c33
+ + + + + + + + diff --git a/layout/reftests/table-dom/insertCellsRebuild1.html b/layout/reftests/table-dom/insertCellsRebuild1.html new file mode 100644 index 0000000000..c068abbe29 --- /dev/null +++ b/layout/reftests/table-dom/insertCellsRebuild1.html @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + +
c11c12
c21c22
c31c32c33c34
+ + + + + + + + + + +
c11c12c13
c21c22
c31c32c33
+ + + + + + + diff --git a/layout/reftests/table-dom/insertCellsRebuild2-ref.html b/layout/reftests/table-dom/insertCellsRebuild2-ref.html new file mode 100644 index 0000000000..1a5b1a79e4 --- /dev/null +++ b/layout/reftests/table-dom/insertCellsRebuild2-ref.html @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + +
c11c12c12
c21X1c22c22
c31c32
+ + + + + + + diff --git a/layout/reftests/table-dom/insertCellsRebuild2.html b/layout/reftests/table-dom/insertCellsRebuild2.html new file mode 100644 index 0000000000..a3c46b79e8 --- /dev/null +++ b/layout/reftests/table-dom/insertCellsRebuild2.html @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + + +
c11c12c12
c21c22c22
c31c32
+ + + + + + + + + diff --git a/layout/reftests/table-dom/insertCellsZeroColspan-ref.html b/layout/reftests/table-dom/insertCellsZeroColspan-ref.html new file mode 100644 index 0000000000..d8a89c870c --- /dev/null +++ b/layout/reftests/table-dom/insertCellsZeroColspan-ref.html @@ -0,0 +1,15 @@ + + + + + + + + + + + + +
c11c12c13c14
c21X1
+ diff --git a/layout/reftests/table-dom/insertCellsZeroColspan.html b/layout/reftests/table-dom/insertCellsZeroColspan.html new file mode 100644 index 0000000000..ddbfcc8309 --- /dev/null +++ b/layout/reftests/table-dom/insertCellsZeroColspan.html @@ -0,0 +1,28 @@ + + + + + + + + + + + + +
c11c12c13c14
c21
+ + + + diff --git a/layout/reftests/table-dom/insertColGroups1-ref.html b/layout/reftests/table-dom/insertColGroups1-ref.html new file mode 100644 index 0000000000..79fb5764b3 --- /dev/null +++ b/layout/reftests/table-dom/insertColGroups1-ref.html @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + +
100200300
+ + + diff --git a/layout/reftests/table-dom/insertColGroups1.html b/layout/reftests/table-dom/insertColGroups1.html new file mode 100644 index 0000000000..d57e6e435c --- /dev/null +++ b/layout/reftests/table-dom/insertColGroups1.html @@ -0,0 +1,30 @@ + + + + + + + + + + + + +
100200300
+ + diff --git a/layout/reftests/table-dom/insertColGroups2-ref.html b/layout/reftests/table-dom/insertColGroups2-ref.html new file mode 100644 index 0000000000..875ed95507 --- /dev/null +++ b/layout/reftests/table-dom/insertColGroups2-ref.html @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + +
50100150200
+ + diff --git a/layout/reftests/table-dom/insertColGroups2.html b/layout/reftests/table-dom/insertColGroups2.html new file mode 100644 index 0000000000..91234f0d28 --- /dev/null +++ b/layout/reftests/table-dom/insertColGroups2.html @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + +
50100150200
+ + diff --git a/layout/reftests/table-dom/insertColgroupAndRowgroup-ref.html b/layout/reftests/table-dom/insertColgroupAndRowgroup-ref.html new file mode 100644 index 0000000000..2d3cd87c83 --- /dev/null +++ b/layout/reftests/table-dom/insertColgroupAndRowgroup-ref.html @@ -0,0 +1,17 @@ + + + + + + + + + + + + +
cell 1,1cell 1,2
cell 2,1cell 2,2
+ + diff --git a/layout/reftests/table-dom/insertColgroupAndRowgroup.html b/layout/reftests/table-dom/insertColgroupAndRowgroup.html new file mode 100644 index 0000000000..abdf024cc8 --- /dev/null +++ b/layout/reftests/table-dom/insertColgroupAndRowgroup.html @@ -0,0 +1,43 @@ + + + + + + + + + + + + +
cell 2,1cell 2,2
+ + diff --git a/layout/reftests/table-dom/insertCols1-ref.html b/layout/reftests/table-dom/insertCols1-ref.html new file mode 100644 index 0000000000..a4d281eed5 --- /dev/null +++ b/layout/reftests/table-dom/insertCols1-ref.html @@ -0,0 +1,13 @@ + + + + + + + + + + +
100200300
+ + diff --git a/layout/reftests/table-dom/insertCols1.html b/layout/reftests/table-dom/insertCols1.html new file mode 100644 index 0000000000..44ee519312 --- /dev/null +++ b/layout/reftests/table-dom/insertCols1.html @@ -0,0 +1,25 @@ + + + + + + + + + + + +
100200300
+ + diff --git a/layout/reftests/table-dom/insertCols2-ref.html b/layout/reftests/table-dom/insertCols2-ref.html new file mode 100644 index 0000000000..a4d281eed5 --- /dev/null +++ b/layout/reftests/table-dom/insertCols2-ref.html @@ -0,0 +1,13 @@ + + + + + + + + + + +
100200300
+ + diff --git a/layout/reftests/table-dom/insertCols2.html b/layout/reftests/table-dom/insertCols2.html new file mode 100644 index 0000000000..fe40640a5b --- /dev/null +++ b/layout/reftests/table-dom/insertCols2.html @@ -0,0 +1,25 @@ + + + + + + + + + + + +
100200300
+ + diff --git a/layout/reftests/table-dom/insertCols3-ref.html b/layout/reftests/table-dom/insertCols3-ref.html new file mode 100644 index 0000000000..b0fa437fac --- /dev/null +++ b/layout/reftests/table-dom/insertCols3-ref.html @@ -0,0 +1,14 @@ + + + + + + + + + + + +
50100150200
+ + diff --git a/layout/reftests/table-dom/insertCols3.html b/layout/reftests/table-dom/insertCols3.html new file mode 100644 index 0000000000..5b2e8a7fe6 --- /dev/null +++ b/layout/reftests/table-dom/insertCols3.html @@ -0,0 +1,26 @@ + + + + + + + + + + + + +
50100150200
+ + diff --git a/layout/reftests/table-dom/insertCols4-ref.html b/layout/reftests/table-dom/insertCols4-ref.html new file mode 100644 index 0000000000..a380ff81fa --- /dev/null +++ b/layout/reftests/table-dom/insertCols4-ref.html @@ -0,0 +1,15 @@ + + + + + + + + + + + + +
100200300
+ + diff --git a/layout/reftests/table-dom/insertCols4.html b/layout/reftests/table-dom/insertCols4.html new file mode 100644 index 0000000000..183d5983b9 --- /dev/null +++ b/layout/reftests/table-dom/insertCols4.html @@ -0,0 +1,26 @@ + + + + + + + + + + + + + +
100200300
+ + diff --git a/layout/reftests/table-dom/insertCols5-ref.html b/layout/reftests/table-dom/insertCols5-ref.html new file mode 100644 index 0000000000..a380ff81fa --- /dev/null +++ b/layout/reftests/table-dom/insertCols5-ref.html @@ -0,0 +1,15 @@ + + + + + + + + + + + + +
100200300
+ + diff --git a/layout/reftests/table-dom/insertCols5.html b/layout/reftests/table-dom/insertCols5.html new file mode 100644 index 0000000000..c06f272b21 --- /dev/null +++ b/layout/reftests/table-dom/insertCols5.html @@ -0,0 +1,26 @@ + + + + + + + + + + + + + +
100200300
+ + diff --git a/layout/reftests/table-dom/insertRowsExpand1-ref.html b/layout/reftests/table-dom/insertRowsExpand1-ref.html new file mode 100644 index 0000000000..887247b796 --- /dev/null +++ b/layout/reftests/table-dom/insertRowsExpand1-ref.html @@ -0,0 +1,18 @@ + + + + + + + + + + +
X1X2
c11c12
+ + + + + + + diff --git a/layout/reftests/table-dom/insertRowsExpand1.html b/layout/reftests/table-dom/insertRowsExpand1.html new file mode 100644 index 0000000000..09f63dcff6 --- /dev/null +++ b/layout/reftests/table-dom/insertRowsExpand1.html @@ -0,0 +1,28 @@ + + + + + + + + + +
c11c12
+ + + + + + + diff --git a/layout/reftests/table-dom/insertRowsRebuild1-ref.html b/layout/reftests/table-dom/insertRowsRebuild1-ref.html new file mode 100644 index 0000000000..8290253322 --- /dev/null +++ b/layout/reftests/table-dom/insertRowsRebuild1-ref.html @@ -0,0 +1,18 @@ + + + + + + + + + + +
X1X2
c11c12
+ + + + + + + diff --git a/layout/reftests/table-dom/insertRowsRebuild1.html b/layout/reftests/table-dom/insertRowsRebuild1.html new file mode 100644 index 0000000000..35a19cb38d --- /dev/null +++ b/layout/reftests/table-dom/insertRowsRebuild1.html @@ -0,0 +1,28 @@ + + + + + + + + + +
c11c12
+ + + + + + + diff --git a/layout/reftests/table-dom/insertTbodyExpand1-ref.html b/layout/reftests/table-dom/insertTbodyExpand1-ref.html new file mode 100644 index 0000000000..014ac663d3 --- /dev/null +++ b/layout/reftests/table-dom/insertTbodyExpand1-ref.html @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + +
X1X2
c11c12
+ + + + + + + + diff --git a/layout/reftests/table-dom/insertTbodyExpand1.html b/layout/reftests/table-dom/insertTbodyExpand1.html new file mode 100644 index 0000000000..e0e3bad12b --- /dev/null +++ b/layout/reftests/table-dom/insertTbodyExpand1.html @@ -0,0 +1,32 @@ + + + + + + + + + + + +
c11c12
+ + + + + + + diff --git a/layout/reftests/table-dom/insertTbodyRebuild1-ref.html b/layout/reftests/table-dom/insertTbodyRebuild1-ref.html new file mode 100644 index 0000000000..da5136e412 --- /dev/null +++ b/layout/reftests/table-dom/insertTbodyRebuild1-ref.html @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + +
X1X2
c11c12
+ + + + + + + + diff --git a/layout/reftests/table-dom/insertTbodyRebuild1.html b/layout/reftests/table-dom/insertTbodyRebuild1.html new file mode 100644 index 0000000000..b79e75dd59 --- /dev/null +++ b/layout/reftests/table-dom/insertTbodyRebuild1.html @@ -0,0 +1,32 @@ + + + + + + + + + + + +
c11c12
+ + + + + + + diff --git a/layout/reftests/table-dom/reftest.list b/layout/reftests/table-dom/reftest.list new file mode 100644 index 0000000000..f1a3e47738 --- /dev/null +++ b/layout/reftests/table-dom/reftest.list @@ -0,0 +1,44 @@ +== appendCells1.html appendCells1-ref.html +== appendCellsRebuild1.html appendCellsRebuild1-ref.html +== appendCellsZeroColspan.html appendCellsZeroColspan-ref.html +== appendCol1.html appendCol1-ref.html +== appendCol2.html appendCol2-ref.html +== appendColGroup1.html appendColGroup1-ref.html +== appendRowsExpand1.html appendRowsExpand1-ref.html +== appendTbodyExpand1.html appendTbodyExpand1-ref.html +== deleteCellsRebuild1.html deleteCellsRebuild1-ref.html +== deleteCellsShrink1.html deleteCellsShrink1-ref.html +== deleteCellsShrink2.html deleteCellsShrink2-ref.html +== deleteCellsExpandZeroColspan.html deleteCellsExpandZeroColspan-ref.html +== deleteCol1.html deleteCol1-ref.html +== deleteCol2.html deleteCol2-ref.html +== deleteCol3.html deleteCol3-ref.html +== deleteColGroup1.html deleteColGroup1-ref.html +== deleteColGroup2.html deleteColGroup2-ref.html +== deleteRowsRebuild1.html deleteRowsRebuild1-ref.html +== deleteRowsRebuild1a.html deleteRowsRebuild1a-ref.html +== deleteRowsShrink1.html deleteRowsShrink1-ref.html +== deleteTbodyExpand1.html deleteTbodyExpand1-ref.html +== deleteTbodyRebuild1.html deleteTbodyRebuild1-ref.html +== insertCaptionsAndRows1.html insertCaptionsAndRows1-ref.html +== insertCaptionsAndRows2.html insertCaptionsAndRows2-ref.html +== insertCaptionsAndRows3.html insertCaptionsAndRows3-ref.html +== insertCaptionsAndRows4.html insertCaptionsAndRows4-ref.html +== insertCellsExpand1.html insertCellsExpand1-ref.html +== insertCellsExpand2.html insertCellsExpand2-ref.html +== insertCellsExpandZeroRowspan.html insertCellsExpandZeroRowspan-ref.html +== insertCellsRebuild1.html insertCellsRebuild1-ref.html +== insertCellsRebuild2.html insertCellsRebuild2-ref.html +== insertCellsZeroColspan.html insertCellsZeroColspan-ref.html +== insertColGroups1.html insertColGroups1-ref.html +== insertColGroups2.html insertColGroups2-ref.html +== insertColgroupAndRowgroup.html insertColgroupAndRowgroup-ref.html +== insertCols1.html insertCols1-ref.html +== insertCols2.html insertCols2-ref.html +== insertCols3.html insertCols3-ref.html +== insertCols4.html insertCols4-ref.html +== insertCols5.html insertCols5-ref.html +== insertRowsExpand1.html insertRowsExpand1-ref.html +== insertRowsRebuild1.html insertRowsRebuild1-ref.html +== insertTbodyExpand1.html insertTbodyExpand1-ref.html +== insertTbodyRebuild1.html insertTbodyRebuild1-ref.html diff --git a/layout/reftests/table-dom/tableDom.js b/layout/reftests/table-dom/tableDom.js new file mode 100644 index 0000000000..4caa43d6e5 --- /dev/null +++ b/layout/reftests/table-dom/tableDom.js @@ -0,0 +1,129 @@ +/* -*- tab-width: 2; indent-tabs-mode: nil; js-indent-level: 4 -*- */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +var count = 1; +function genName(prefix) { + return "X" + count++ + "\n"; +} + +function appendCell(aRow, aRowSpan, aColSpan) { + var cell = document.createElement("TD", null); + cell.rowSpan = aRowSpan; + cell.colSpan = aColSpan; + var text = document.createTextNode(genName()); + cell.appendChild(text); + aRow.appendChild(cell); +} + +function appendCellAt(aRowIndex, aRowSpan, aColSpan) { + var row = document.getElementsByTagName("TR")[aRowIndex]; + appendCell(row, aRowSpan, aColSpan); +} + +function insertCell(aRow, aColIndex, aRowSpan, aColSpan) { + var cells = aRow.cells; + var refCell = cells.item(aColIndex); + var newCell = document.createElement("TD", null); + newCell.rowSpan = aRowSpan; + newCell.colSpan = aColSpan; + var text = document.createTextNode(genName()); + newCell.appendChild(text); + aRow.insertBefore(newCell, refCell); + //dump("SCRIPT: inserted CELL as first cell in first row\n"); +} + +function insertCellAt(aRowIndex, aColIndex, aRowSpan, aColSpan) { + var row = document.getElementsByTagName("TR")[aRowIndex]; + insertCell(row, aColIndex, aRowSpan, aColSpan); +} + +function deleteCell(aRow, aColIndex) { + aRow.deleteCell(aColIndex); +} + +function deleteCellAt(aRowIndex, aColIndex) { + var row = document.getElementsByTagName("TR")[aRowIndex]; + deleteCell(row, aColIndex); +} + +//function appendRow(aRowGroup) { +// var row = document.createElement("TR", null); +// cell = document.createElement("TD", null); +// row.appendChild(cell); +// aRowGroup.appendChild(row); +//} + +function appendRow(aRowGroup) { + var row = document.createElement("TR", null); + cell = document.createElement("TD", null); + aRowGroup.appendChild(row); + //row.appendChild(cell); + //appendCell(row, 1, 1); +} + +function appendRowAt(aRowGroupIndex) { + var rowGroup = document.getElementsByTagName("TBODY")[aRowGroupIndex]; + appendRow(rowGroup); +} + +function insertRow(aRowGroup, aRowIndex) { + var rows = aRowGroup.rows; + var refRow = rows.item(aRowIndex); + var row = document.createElement("TR", null); + aRowGroup.insertBefore(row, refRow); + //appendCell(row, 1, 1); +} + +function insertRowAt(aRowGroupIndex, aRowIndex) { + var rowGroup = document.getElementsByTagName("TBODY")[aRowGroupIndex]; + insertRow(rowGroup, aRowIndex); +} + +function deleteRow(aRowGroup, aRowIndex) { + aRowGroup.deleteRow(aRowIndex); +} + +function deleteRowAt(aRowGroupIndex, aRowIndex) { + var row = document.getElementsByTagName("TBODY")[aRowGroupIndex]; + deleteRow(row, aRowIndex); +} + +function insertTbody(aTable, aTbodyIndex) { + var tbodies = aTable.tBodies; + var refTbody = tbodies.item(aTbodyIndex); + var tbody = document.createElement("TBODY", null); + aTable.insertBefore(tbody, refTbody); +} + +function insertTbodyAt(aTableIndex, aTbodyIndex) { + var table = document.getElementsByTagName("TABLE")[aTableIndex]; + insertTbodyAt(table, aTbodyIndex); +} + +function deleteTbody(aTable, aTbodyIndex) { + var tbodies = aTable.tBodies; + var tbody = tbodies.item(aTbodyIndex); + aTable.removeChild(tbody); +} + +function deleteTbodyAt(aTableIndex, aTbodyIndex) { + var table = document.getElementsByTagName("TABLE")[aTableIndex]; + deleteTbody(table, aTbodyIndex); +} + +function buildTable(aNumRows, aNumCols) { + var table = document.getElementsByTagName("TABLE")[0]; + for (rowX = 0; rowX < aNumRows; rowX++) { + var row = document.createElement("TR", null); + for (colX = 0; colX < aNumCols; colX++) { + var cell = document.createElement("TD", null); + var text = document.createTextNode(genName()); + cell.appendChild(text); + row.appendChild(cell); + } + table.appendChild(row); + } +} + -- cgit v1.2.3