diff --git a/layout/html/tests/formctls/bugs/bug96506.html b/layout/html/tests/formctls/bugs/bug96506.html
new file mode 100644
index 000000000000..b26d1ac98bd4
--- /dev/null
+++ b/layout/html/tests/formctls/bugs/bug96506.html
@@ -0,0 +1,59 @@
+
+
Site Search
+
+
+
+
+
+
+
diff --git a/layout/html/tests/formctls/bugs/file_list.txt b/layout/html/tests/formctls/bugs/file_list.txt
index 23e8ac8eb838..0ca4e25fb7ed 100644
--- a/layout/html/tests/formctls/bugs/file_list.txt
+++ b/layout/html/tests/formctls/bugs/file_list.txt
@@ -56,5 +56,6 @@ file:///s|/mozilla/layout/html/tests/formctls/bugs/bug92647.html
file:///s|/mozilla/layout/html/tests/formctls/bugs/bug94268.html
file:///s|/mozilla/layout/html/tests/formctls/bugs/bug95703.html
file:///s|/mozilla/layout/html/tests/formctls/bugs/bug95937.html
+file:///s|/mozilla/layout/html/tests/formctls/bugs/bug96506.html
file:///s|/mozilla/layout/html/tests/formctls/bugs/bug96604.html
file:///s|/mozilla/layout/html/tests/formctls/bugs/bug98918.html
diff --git a/layout/html/tests/table/bugs/bug145572.html b/layout/html/tests/table/bugs/bug145572.html
new file mode 100644
index 000000000000..34bc1cc94a04
--- /dev/null
+++ b/layout/html/tests/table/bugs/bug145572.html
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+div
+
+
diff --git a/layout/html/tests/table/bugs/bug159108.html b/layout/html/tests/table/bugs/bug159108.html
new file mode 100644
index 000000000000..4e5a006c9ee7
--- /dev/null
+++ b/layout/html/tests/table/bugs/bug159108.html
@@ -0,0 +1,25 @@
+
+
+
+ test
+
+
+
+
+
+
+
+
diff --git a/layout/html/tests/table/bugs/bug196870.html b/layout/html/tests/table/bugs/bug196870.html
new file mode 100644
index 000000000000..639497cdd109
--- /dev/null
+++ b/layout/html/tests/table/bugs/bug196870.html
@@ -0,0 +1,20 @@
+
+
+
+Testcase, bug 196870
+
+
+
+
+
+
+
+
diff --git a/layout/html/tests/table/bugs/bug215629.html b/layout/html/tests/table/bugs/bug215629.html
new file mode 100644
index 000000000000..3b2e94dee79a
--- /dev/null
+++ b/layout/html/tests/table/bugs/bug215629.html
@@ -0,0 +1,22 @@
+Testcase for bug 215629
+
+
+
+Image URLs intentionally broken
+
+
+
+Identical to the above except that width="100%" was removed from TD
+
+
+
+
+
diff --git a/layout/html/tests/table/bugs/bug220536.html b/layout/html/tests/table/bugs/bug220536.html
new file mode 100644
index 000000000000..fdd2c269cf7d
--- /dev/null
+++ b/layout/html/tests/table/bugs/bug220536.html
@@ -0,0 +1,62 @@
+
+
+
+Essai
+
+
+
+
+
+
+
+ aaaa |
+ bbbb |
+ cccc |
+ dddd |
+
+
+ eeee |
+ ffff |
+
+
+
+
+ 1111 |
+ 2222 |
+ 3333 |
+ 4444 |
+ 5555 |
+
+
+
+
+
diff --git a/layout/html/tests/table/bugs/bug220653.html b/layout/html/tests/table/bugs/bug220653.html
new file mode 100644
index 000000000000..9d05f92b2fac
--- /dev/null
+++ b/layout/html/tests/table/bugs/bug220653.html
@@ -0,0 +1,18 @@
+
+
+
+ table-layout
+
+
+
+
+
diff --git a/layout/html/tests/table/bugs/bug222336.html b/layout/html/tests/table/bugs/bug222336.html
new file mode 100644
index 000000000000..d730769b9db9
--- /dev/null
+++ b/layout/html/tests/table/bugs/bug222336.html
@@ -0,0 +1,21 @@
+
+
+
+ lunarstorm testcase
+
+
+
+
+
+
diff --git a/layout/html/tests/table/bugs/bug222467.html b/layout/html/tests/table/bugs/bug222467.html
new file mode 100644
index 000000000000..a2474f437a60
--- /dev/null
+++ b/layout/html/tests/table/bugs/bug222467.html
@@ -0,0 +1,27 @@
+
+
+
+Test Document
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/layout/html/tests/table/bugs/bug227123.xml b/layout/html/tests/table/bugs/bug227123.xml
new file mode 100644
index 000000000000..85412ff85a13
--- /dev/null
+++ b/layout/html/tests/table/bugs/bug227123.xml
@@ -0,0 +1,12 @@
+
+
+ CSS Tables: Empty Tables
+
+
+
+ There should be a green block under this paragraph.
+
+
+
\ No newline at end of file
diff --git a/layout/html/tests/table/bugs/file_list2.txt b/layout/html/tests/table/bugs/file_list2.txt
index a843397ab591..24f8162dba5d 100644
--- a/layout/html/tests/table/bugs/file_list2.txt
+++ b/layout/html/tests/table/bugs/file_list2.txt
@@ -12,8 +12,10 @@ file:///s|/mozilla/layout/html/tests/table/bugs/bug154780.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug15544.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug14489.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug1474.html
+file:///s|/mozilla/layout/html/tests/table/bugs/bug145572.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug15247.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug15933.html
+file:///s|/mozilla/layout/html/tests/table/bugs/bug159108.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug16012.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug16252.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug1647.html
@@ -50,3 +52,4 @@ file:///s|/mozilla/layout/html/tests/table/bugs/bug19356.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug194024.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug19526.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug19599.html
+file:///s|/mozilla/layout/html/tests/table/bugs/bug196870.html
diff --git a/layout/html/tests/table/bugs/file_list3.txt b/layout/html/tests/table/bugs/file_list3.txt
index b9bf9667d8d8..959f9c375595 100644
--- a/layout/html/tests/table/bugs/file_list3.txt
+++ b/layout/html/tests/table/bugs/file_list3.txt
@@ -5,10 +5,13 @@ file:///s|/mozilla/layout/html/tests/table/bugs/bug20804.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug2123.html
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/bug215629.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug21918.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug219693-1.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug219693-2.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug22019.html
+file:///s|/mozilla/layout/html/tests/table/bugs/bug220536.html
+file:///s|/mozilla/layout/html/tests/table/bugs/bug220653.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug22122.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug221784-1.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug221784-2.html
@@ -16,9 +19,12 @@ 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/bug222336.html
+file:///s|/mozilla/layout/html/tests/table/bugs/bug222467.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug222846.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/bug227123.xml
file:///s|/mozilla/layout/html/tests/table/bugs/bug2296.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug23072.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug23151.html
diff --git a/layout/html/tests/table/images/test77.jpg b/layout/html/tests/table/images/test77.jpg
new file mode 100644
index 000000000000..1747bcd91efa
Binary files /dev/null and b/layout/html/tests/table/images/test77.jpg differ