diff --git a/mozilla/layout/html/tests/table/bugs/bug22246-2.html b/mozilla/layout/html/tests/table/bugs/bug22246-2.html
index a3911d6814a..d03c7c528a3 100644
--- a/mozilla/layout/html/tests/table/bugs/bug22246-2.html
+++ b/mozilla/layout/html/tests/table/bugs/bug22246-2.html
@@ -1,4 +1,4 @@
-
+
diff --git a/mozilla/layout/html/tests/table/bugs/bug22246-2a.html b/mozilla/layout/html/tests/table/bugs/bug22246-2a.html
new file mode 100644
index 00000000000..f25a8658dde
--- /dev/null
+++ b/mozilla/layout/html/tests/table/bugs/bug22246-2a.html
@@ -0,0 +1,31 @@
+
+
+
+
+
+
+
+
+| 1 |
+colspan 2 rowspan 2 |
+3 |
+
+
+| 4 |
+5 |
+6 |
+7 |
+8 |
+
+
+| 9 |
+10 |
+11 |
+12 |
+13 |
+
+
+
+
+
+
diff --git a/mozilla/layout/html/tests/table/bugs/bug22246-3.html b/mozilla/layout/html/tests/table/bugs/bug22246-3.html
index a08d04cfd42..e006d7554a3 100644
--- a/mozilla/layout/html/tests/table/bugs/bug22246-3.html
+++ b/mozilla/layout/html/tests/table/bugs/bug22246-3.html
@@ -1,4 +1,4 @@
-
+
+
+
+
+
+
+
+
+| 1 |
+colspan 3 rowspan 2 |
+3 |
+
+
+| 4 |
+5 |
+6 |
+7 |
+8 |
+
+
+| 9 |
+10 |
+11 |
+12 |
+13 |
+
+
+
+
+
+
diff --git a/mozilla/layout/html/tests/table/bugs/bug24880-1.html b/mozilla/layout/html/tests/table/bugs/bug24880-1.html
new file mode 100644
index 00000000000..15243da6099
--- /dev/null
+++ b/mozilla/layout/html/tests/table/bugs/bug24880-1.html
@@ -0,0 +1,39 @@
+
+
+
+ Table Test
+
+
+
+
+
+
+| Colspan=0 |
+
+
+| Cell 2 |
+Cell 3 |
+Cell 4 |
+
+
+
+
+
+
+
+| Cell 2 |
+Cell 3 |
+Cell 4 |
+
+
+| Colspan=0 |
+
+
+| Cell 5 |
+Cell 6 |
+Cell 7 |
+
+
+
+
+
diff --git a/mozilla/layout/html/tests/table/bugs/bug24880.html b/mozilla/layout/html/tests/table/bugs/bug24880.html
index ee2386eba3f..05ee1abfbef 100644
--- a/mozilla/layout/html/tests/table/bugs/bug24880.html
+++ b/mozilla/layout/html/tests/table/bugs/bug24880.html
@@ -1,4 +1,4 @@
-
+
Table Test
diff --git a/mozilla/layout/html/tests/table/bugs/bug25004.html b/mozilla/layout/html/tests/table/bugs/bug25004.html
new file mode 100644
index 00000000000..a4adaaaa8cd
--- /dev/null
+++ b/mozilla/layout/html/tests/table/bugs/bug25004.html
@@ -0,0 +1,33 @@
+
+
+
+
+
+ |
+
+ |
+ This is some text |
+
+
+
+
+
+
+
+ |
+
+ |
+ This is some text |
+
+
+
+
+
diff --git a/mozilla/layout/html/tests/table/bugs/bug27993-1.html b/mozilla/layout/html/tests/table/bugs/bug27993-1.html
new file mode 100644
index 00000000000..5ce335e916a
--- /dev/null
+++ b/mozilla/layout/html/tests/table/bugs/bug27993-1.html
@@ -0,0 +1,16 @@
+
+Testcase for bug 27993
+
+
+
+
+ | R1C1 colspan=0 |
+ R1C2 colspan=0 |
+
+
+
+ | R2C1 colspan=2 |
+
+
+
+
diff --git a/mozilla/layout/html/tests/table/bugs/bug27993-2.html b/mozilla/layout/html/tests/table/bugs/bug27993-2.html
new file mode 100644
index 00000000000..d587fb58a5c
--- /dev/null
+++ b/mozilla/layout/html/tests/table/bugs/bug27993-2.html
@@ -0,0 +1,16 @@
+
+Testcase for bug 27993
+
+
+
+
+ | R1C1 colspan=0 |
+ R1C2 colspan=0 |
+
+
+
+ | R2C1 colspan=2 |
+
+
+
+
diff --git a/mozilla/layout/html/tests/table/bugs/bug30332-1.html b/mozilla/layout/html/tests/table/bugs/bug30332-1.html
new file mode 100644
index 00000000000..c1f53e7827d
--- /dev/null
+++ b/mozilla/layout/html/tests/table/bugs/bug30332-1.html
@@ -0,0 +1,41 @@
+
+
+
+
+
+ ROWSPAN = "0" Test Case
+
+
+
+
+BAD:
+
+
+
+
+
+
+
+GOOD:
+
+
+
+
+
+
diff --git a/mozilla/layout/html/tests/table/bugs/bug30332-2.html b/mozilla/layout/html/tests/table/bugs/bug30332-2.html
new file mode 100644
index 00000000000..444d64906a5
--- /dev/null
+++ b/mozilla/layout/html/tests/table/bugs/bug30332-2.html
@@ -0,0 +1,41 @@
+
+
+
+
+
+ ROWSPAN = "0" Test Case
+
+
+
+
+BAD:
+
+
+
+
+
+
+
+GOOD:
+
+
+
+
+
+
diff --git a/mozilla/layout/html/tests/table/bugs/bug9879-1.html b/mozilla/layout/html/tests/table/bugs/bug9879-1.html
new file mode 100644
index 00000000000..e83b7766f92
--- /dev/null
+++ b/mozilla/layout/html/tests/table/bugs/bug9879-1.html
@@ -0,0 +1,63 @@
+
+
+
+ | rowspan 0 |
+ colspan 0 |
+
+
+ | 5 |
+ 6 |
+
+
+
+
+
+
+
+ | colspan 0 |
+ 3 |
+
+
+ | 4 | 5 | 6 |
+
+
+
+
+
+
+
+ | 1 |
+ rowspan 0 colspan 0 |
+
+
+ | 4 | 6 |
+
+
+
+
+
+
+
+
+
+
+
+ | auto |
+ rowspan 0 |
+ auto |
+
+
+ | auto |
+ auto |
+ auto |
+
+
+
diff --git a/mozilla/layout/html/tests/table/bugs/bug9879.html b/mozilla/layout/html/tests/table/bugs/bug9879.html
index 0e3d3b616f7..26da14ed287 100644
--- a/mozilla/layout/html/tests/table/bugs/bug9879.html
+++ b/mozilla/layout/html/tests/table/bugs/bug9879.html
@@ -1,3 +1,4 @@
+
| rowspan 0 |
diff --git a/mozilla/layout/html/tests/table/bugs/file_list.txt b/mozilla/layout/html/tests/table/bugs/file_list.txt
index cc9e12e68a4..73664e96856 100644
--- a/mozilla/layout/html/tests/table/bugs/file_list.txt
+++ b/mozilla/layout/html/tests/table/bugs/file_list.txt
@@ -96,9 +96,10 @@ file:///s|/mozilla/layout/html/tests/table/bugs/bug21299.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug21518.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug21918.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug22122.html
-file:///s|/mozilla/layout/html/tests/table/bugs/bug22246-1.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug22246-2.html
+file:///s|/mozilla/layout/html/tests/table/bugs/bug22246-2a.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug22246-3.html
+file:///s|/mozilla/layout/html/tests/table/bugs/bug22246-3a.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug2267.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug22513.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug2296.html
@@ -114,6 +115,7 @@ file:///s|/mozilla/layout/html/tests/table/bugs/bug24410.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug24503.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug2469.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug24880.html
+file:///s|/mozilla/layout/html/tests/table/bugs/bug24880-1.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug25004.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug25074.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug2509.html
@@ -127,6 +129,8 @@ file:///s|/mozilla/layout/html/tests/table/bugs/bug2684.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug2757.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug2763.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug2773.html
+file:///s|/mozilla/layout/html/tests/table/bugs/bug27993-1.html
+file:///s|/mozilla/layout/html/tests/table/bugs/bug27993-2.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug28341.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug2886.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug2886-2.html
@@ -143,6 +147,8 @@ file:///s|/mozilla/layout/html/tests/table/bugs/bug2981-2.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug28933.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug2997.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug30273.html
+file:///s|/mozilla/layout/html/tests/table/bugs/bug30332-1.html
+file:///s|/mozilla/layout/html/tests/table/bugs/bug30332-2.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug3037-1.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug3037-2.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug30559.html
@@ -219,6 +225,7 @@ file:///s|/mozilla/layout/html/tests/table/bugs/bug9123-2.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug963.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug965.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug9879.html
+file:///s|/mozilla/layout/html/tests/table/bugs/bug9879-1.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug16252.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug13196.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug14489.html