diff --git a/mozilla/layout/html/tests/formctls/bugs/bug342531.html b/mozilla/layout/html/tests/formctls/bugs/bug342531.html
new file mode 100644
index 00000000000..1fa82f02bb2
--- /dev/null
+++ b/mozilla/layout/html/tests/formctls/bugs/bug342531.html
@@ -0,0 +1,102 @@
+
+
+
+ Testcase #2 for bug 342531
+
+
+
+
+
+
float
+
non-replaced block
+
float
+
non-replaced inline
+
+
+
+
+
float
+
+
float
+
+
+
+
float
+
+
float
+
+
+
+
float
+
+
float
+
+
+
+
float
+
+
float
+
+
+
+
+
+
float
+
+
float
+
+
+
+
+
float
+

+
float
+

+
+
+HR:
+
float
+
+
float
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/mozilla/layout/html/tests/formctls/bugs/bug357449.html b/mozilla/layout/html/tests/formctls/bugs/bug357449.html
new file mode 100644
index 00000000000..de240448e06
--- /dev/null
+++ b/mozilla/layout/html/tests/formctls/bugs/bug357449.html
@@ -0,0 +1,22 @@
+
+
+
+ Testcase #1 for bug 357449
+
+
+
+
+
+
+
+
+
+
+
diff --git a/mozilla/layout/html/tests/formctls/bugs/rtest.lst b/mozilla/layout/html/tests/formctls/bugs/rtest.lst
index 5fc1b2f3d0f..c7b0d639b6f 100644
--- a/mozilla/layout/html/tests/formctls/bugs/rtest.lst
+++ b/mozilla/layout/html/tests/formctls/bugs/rtest.lst
@@ -114,3 +114,5 @@ bug95937.html
bug96506.html
bug96604.html
bug98918.html
+bug342531.html
+bug357449.html