diff --git a/mozilla/layout/html/tests/table/bugs/bug40828.html b/mozilla/layout/html/tests/table/bugs/bug40828.html
new file mode 100644
index 00000000000..b6e501af802
--- /dev/null
+++ b/mozilla/layout/html/tests/table/bugs/bug40828.html
@@ -0,0 +1,31 @@
+
+
+from bug 51037...
+
+
+
+
+
+The cell padding should not disappear
+
+
+
+
diff --git a/mozilla/layout/html/tests/table/bugs/bug53690-1.html b/mozilla/layout/html/tests/table/bugs/bug53690-1.html
new file mode 100644
index 00000000000..2057b58b2b7
--- /dev/null
+++ b/mozilla/layout/html/tests/table/bugs/bug53690-1.html
@@ -0,0 +1,7 @@
+
diff --git a/mozilla/layout/html/tests/table/bugs/bug53690-2.html b/mozilla/layout/html/tests/table/bugs/bug53690-2.html
new file mode 100644
index 00000000000..2a72fe682fd
--- /dev/null
+++ b/mozilla/layout/html/tests/table/bugs/bug53690-2.html
@@ -0,0 +1,7 @@
+
diff --git a/mozilla/layout/html/tests/table/bugs/bug59252.html b/mozilla/layout/html/tests/table/bugs/bug59252.html
new file mode 100644
index 00000000000..bd3d1189ff4
--- /dev/null
+++ b/mozilla/layout/html/tests/table/bugs/bug59252.html
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
+ | Have a tip or rumor to share? Just click on the icon and if you get a BrowserWatch net.fame be sure and display the icon on your own home page for all to see! |
+
+
+ |
+ foo |
+
+
+ |
+
+
diff --git a/mozilla/layout/html/tests/table/bugs/bugp53690.html b/mozilla/layout/html/tests/table/bugs/bugp53690.html
new file mode 100644
index 00000000000..2057b58b2b7
--- /dev/null
+++ b/mozilla/layout/html/tests/table/bugs/bugp53690.html
@@ -0,0 +1,7 @@
+
diff --git a/mozilla/layout/html/tests/table/bugs/file_list1.txt b/mozilla/layout/html/tests/table/bugs/file_list1.txt
new file mode 100644
index 00000000000..f0e73fddbb7
--- /dev/null
+++ b/mozilla/layout/html/tests/table/bugs/file_list1.txt
@@ -0,0 +1,53 @@
+file:///s|/mozilla/layout/html/tests/table/bugs/bug10009.html
+file:///s|/mozilla/layout/html/tests/table/bugs/bug1010.html
+file:///s|/mozilla/layout/html/tests/table/bugs/bug10140.html
+file:///s|/mozilla/layout/html/tests/table/bugs/bug10216.html
+file:///s|/mozilla/layout/html/tests/table/bugs/bug10269-1.html
+file:///s|/mozilla/layout/html/tests/table/bugs/bug10269-2.html
+file:///s|/mozilla/layout/html/tests/table/bugs/bug10296-1.html
+file:///s|/mozilla/layout/html/tests/table/bugs/bug10296-2.html
+file:///s|/mozilla/layout/html/tests/table/bugs/bug1055-1.html
+file:///s|/mozilla/layout/html/tests/table/bugs/bug1055-2.html
+file:///s|/mozilla/layout/html/tests/table/bugs/bug10036.html
+file:///s|/mozilla/layout/html/tests/table/bugs/bug10039.html
+file:///s|/mozilla/layout/html/tests/table/bugs/bug10565.html
+##the following does not seem to load, perhaps a remote image problem
+##file:///s|/mozilla/layout/html/tests/table/bugs/bug10633.html
+file:///s|/mozilla/layout/html/tests/table/bugs/bug1067-1.html
+file:///s|/mozilla/layout/html/tests/table/bugs/bug1067-2.html
+file:///s|/mozilla/layout/html/tests/table/bugs/bug11026.html
+file:///s|/mozilla/layout/html/tests/table/bugs/bug1128.html
+file:///s|/mozilla/layout/html/tests/table/bugs/bug11321.html
+file:///s|/mozilla/layout/html/tests/table/bugs/bug11331.html
+file:///s|/mozilla/layout/html/tests/table/bugs/bug11384q.html
+file:///s|/mozilla/layout/html/tests/table/bugs/bug11384s.html
+file:///s|/mozilla/layout/html/tests/table/bugs/bug1163-1.html
+file:///s|/mozilla/layout/html/tests/table/bugs/bug1164.html
+file:///s|/mozilla/layout/html/tests/table/bugs/bug1188.html
+file:///s|/mozilla/layout/html/tests/table/bugs/bug11944.html
+file:///s|/mozilla/layout/html/tests/table/bugs/bug11945.html
+file:///s|/mozilla/layout/html/tests/table/bugs/bug13196.html
+file:///s|/mozilla/layout/html/tests/table/bugs/bug14929.html
+file:///s|/mozilla/layout/html/tests/table/bugs/bug12008.html
+file:///s|/mozilla/layout/html/tests/table/bugs/bug1220.html
+file:///s|/mozilla/layout/html/tests/table/bugs/bug12287.xul
+file:///s|/mozilla/layout/html/tests/table/bugs/bug1224.html
+file:///s|/mozilla/layout/html/tests/table/bugs/bug12268.html
+file:///s|/mozilla/layout/html/tests/table/bugs/bug12384.html
+file:///s|/mozilla/layout/html/tests/table/bugs/bug1261.html
+file:///s|/mozilla/layout/html/tests/table/bugs/bug1262.html
+file:///s|/mozilla/layout/html/tests/table/bugs/bug12709.html
+file:///s|/mozilla/layout/html/tests/table/bugs/bug1271.html
+file:///s|/mozilla/layout/html/tests/table/bugs/bug12908-1.html
+file:///s|/mozilla/layout/html/tests/table/bugs/bug12908-2.html
+file:///s|/mozilla/layout/html/tests/table/bugs/bug12012.xul
+file:///s|/mozilla/layout/html/tests/table/bugs/bug12910.html
+file:///s|/mozilla/layout/html/tests/table/bugs/bug12910-2.html
+file:///s|/mozilla/layout/html/tests/table/bugs/bug1296.html
+file:///s|/mozilla/layout/html/tests/table/bugs/bug1302.html
+file:///s|/mozilla/layout/html/tests/table/bugs/bug13105.html
+file:///s|/mozilla/layout/html/tests/table/bugs/bug13118.html
+file:///s|/mozilla/layout/html/tests/table/bugs/bug1318.html
+file:///s|/mozilla/layout/html/tests/table/bugs/bug13169.html
+file:///s|/mozilla/layout/html/tests/table/bugs/bug13484.html
+file:///s|/mozilla/layout/html/tests/table/bugs/bug13526.html
diff --git a/mozilla/layout/html/tests/table/bugs/file_list5.txt b/mozilla/layout/html/tests/table/bugs/file_list5.txt
index 7b2c0161d9a..40f21d14b78 100644
--- a/mozilla/layout/html/tests/table/bugs/file_list5.txt
+++ b/mozilla/layout/html/tests/table/bugs/file_list5.txt
@@ -13,6 +13,7 @@ file:///s|/mozilla/layout/html/tests/table/bugs/bug3681-2.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug3718.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug38916.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug3977.html
+file:///s|/mozilla/layout/html/tests/table/bugs/bug40828.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug4093.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug4284.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug4294.html
@@ -35,9 +36,12 @@ file:///s|/mozilla/layout/html/tests/table/bugs/bug4849.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug4849-2.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug5188.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug51727.html
+file:///s|/mozilla/layout/html/tests/table/bugs/bug53690-1.html
+file:///s|/mozilla/layout/html/tests/table/bugs/bug53690-2.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug5797.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug5538.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug5798.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug5799.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug5835.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug5838.html
+file:///s|/mozilla/layout/html/tests/table/bugs/bug59252.html
diff --git a/mozilla/layout/html/tests/table/bugs/rtest.bat b/mozilla/layout/html/tests/table/bugs/rtest.bat
index 52f02ee9238..95653244bb2 100755
--- a/mozilla/layout/html/tests/table/bugs/rtest.bat
+++ b/mozilla/layout/html/tests/table/bugs/rtest.bat
@@ -11,21 +11,24 @@ if %1==baseline goto baseline
:verify
if not exist verify mkdir verify
-s:\mozilla\dist\win32_d.obj\bin\viewer -d 1 -o s:\mozilla\layout\html\tests\table\bugs\verify\ -rd s:\mozilla\layout\html\tests\table\bugs -f s:\mozilla\layout\html\tests\table\bugs\file_list.txt
+s:\mozilla\dist\win32_d.obj\bin\viewer -d 1 -o s:\mozilla\layout\html\tests\table\bugs\verify\ -rd s:\mozilla\layout\html\tests\table\bugs -f s:\mozilla\layout\html\tests\table\bugs\file_list1.txt
s:\mozilla\dist\win32_d.obj\bin\viewer -d 1 -o s:\mozilla\layout\html\tests\table\bugs\verify\ -rd s:\mozilla\layout\html\tests\table\bugs -f s:\mozilla\layout\html\tests\table\bugs\file_list2.txt
s:\mozilla\dist\win32_d.obj\bin\viewer -d 1 -o s:\mozilla\layout\html\tests\table\bugs\verify\ -rd s:\mozilla\layout\html\tests\table\bugs -f s:\mozilla\layout\html\tests\table\bugs\file_list3.txt
s:\mozilla\dist\win32_d.obj\bin\viewer -d 1 -o s:\mozilla\layout\html\tests\table\bugs\verify\ -rd s:\mozilla\layout\html\tests\table\bugs -f s:\mozilla\layout\html\tests\table\bugs\file_list4.txt
s:\mozilla\dist\win32_d.obj\bin\viewer -d 1 -o s:\mozilla\layout\html\tests\table\bugs\verify\ -rd s:\mozilla\layout\html\tests\table\bugs -f s:\mozilla\layout\html\tests\table\bugs\file_list5.txt
s:\mozilla\dist\win32_d.obj\bin\viewer -d 1 -o s:\mozilla\layout\html\tests\table\bugs\verify\ -rd s:\mozilla\layout\html\tests\table\bugs -f s:\mozilla\layout\html\tests\table\bugs\file_list6.txt
+REM s:\mozilla\dist\win32_d.obj\bin\viewer -Prt 1 -d 5 -o s:\mozilla\layout\html\tests\table\bugs\verify\ -rd s:\mozilla\layout\html\tests\table\bugs -f s:\mozilla\layout\html\tests\table\bugs\file_list_printing.txt
goto done
:baseline
-s:\mozilla\dist\win32_d.obj\bin\viewer -d 1 -o s:\mozilla\layout\html\tests\table\bugs\ -f s:\mozilla\layout\html\tests\table\bugs\file_list.txt
+s:\mozilla\dist\win32_d.obj\bin\viewer -d 1 -o s:\mozilla\layout\html\tests\table\bugs\ -f s:\mozilla\layout\html\tests\table\bugs\file_list1.txt
s:\mozilla\dist\win32_d.obj\bin\viewer -d 1 -o s:\mozilla\layout\html\tests\table\bugs\ -f s:\mozilla\layout\html\tests\table\bugs\file_list2.txt
s:\mozilla\dist\win32_d.obj\bin\viewer -d 1 -o s:\mozilla\layout\html\tests\table\bugs\ -f s:\mozilla\layout\html\tests\table\bugs\file_list3.txt
s:\mozilla\dist\win32_d.obj\bin\viewer -d 1 -o s:\mozilla\layout\html\tests\table\bugs\ -f s:\mozilla\layout\html\tests\table\bugs\file_list4.txt
s:\mozilla\dist\win32_d.obj\bin\viewer -d 1 -o s:\mozilla\layout\html\tests\table\bugs\ -f s:\mozilla\layout\html\tests\table\bugs\file_list5.txt
s:\mozilla\dist\win32_d.obj\bin\viewer -d 1 -o s:\mozilla\layout\html\tests\table\bugs\ -f s:\mozilla\layout\html\tests\table\bugs\file_list6.txt
+s:\mozilla\dist\win32_d.obj\bin\viewer -d 1 -o s:\mozilla\layout\html\tests\table\bugs\verify\ -rd s:\mozilla\layout\html\tests\table\bugs -f s:\mozilla\layout\html\tests\table\bugs\file_list6.txt
+REM s:\mozilla\dist\win32_d.obj\bin\viewer -Prt 1 -d 5 -o s:\mozilla\layout\html\tests\table\bugs\verify\ -rd s:\mozilla\layout\html\tests\table\bugs -f s:\mozilla\layout\html\tests\table\bugs\file_list_printing.txt
goto done
:error
diff --git a/mozilla/layout/html/tests/table/runtests.sh b/mozilla/layout/html/tests/table/runtests.sh
index 2d4de9fe57e..2de5f378ce5 100755
--- a/mozilla/layout/html/tests/table/runtests.sh
+++ b/mozilla/layout/html/tests/table/runtests.sh
@@ -7,21 +7,32 @@ viewer=$MOZILLA_FIVE_HOME/viewer
echo viewer: $viewer
testsfile=/tmp/$$-tests.txt
-sed -e "s@file:///s|@file:$MOZ_SRC@" < file_list.txt > $testsfile
-sed -e "s@file:///s|@file:$MOZ_SRC@" < file_list2.txt >> $testsfile
-sed -e "s@file:///s|@file:$MOZ_SRC@" < file_list3.txt >> $testsfile
-sed -e "s@file:///s|@file:$MOZ_SRC@" < file_list4.txt >> $testsfile
-sed -e "s@file:///s|@file:$MOZ_SRC@" < file_list5.txt >> $testsfile
-sed -e "s@file:///s|@file:$MOZ_SRC@" < file_list6.txt >> $testsfile
-
if test "$1"x = "baselinex"; then
rm -r -f baseline
mkdir baseline
- $viewer -d 1 -o baseline/ -f $testsfile
+ for i in 1 2 3 4 5 6; do
+ if test -f file_list"$i".txt; then
+ sed -e "s@file:///s|@file:$MOZ_SRC@" < file_list"$i".txt > $testsfile
+ $viewer -d 1 -o baseline/ -f $testsfile
+ fi
+ done
+ if test -f file_list_printing.txt; then
+ sed -e "s@file:///s|@file:$MOZ_SRC@" < file_list_printing.txt > $testsfile
+ $viewer -Prt 1 -d 5 -o baseline/ -f $testsfile
+ fi
elif test "$1"x = "verifyx"; then
rm -r -f verify
mkdir verify
- $viewer -d 1 -o verify/ -rd baseline/ -f $testsfile
+ for i in 1 2 3 4 5 6; do
+ if test -f file_list"$i".txt; then
+ sed -e "s@file:///s|@file:$MOZ_SRC@" < file_list"$i".txt > $testsfile
+ $viewer -d 1 -o verify/ -rd baseline/ -f $testsfile
+ fi
+ done
+ if test -f file_list_printing.txt; then
+ sed -e "s@file:///s|@file:$MOZ_SRC@" < file_list"$i".txt > $testsfile
+ $viewer -Prt 1 -d 5 -o verify/ -rd baseline/ -f $testsfile
+ fi
elif test "$1"x = "cleanx"; then
rm -r -f verify baseline
else