diff --git a/mozilla/layout/html/tests/formctls/base/button_overconstrained.html b/mozilla/layout/html/tests/formctls/base/button_overconstrained.html
new file mode 100644
index 00000000000..e731a0df2e2
--- /dev/null
+++ b/mozilla/layout/html/tests/formctls/base/button_overconstrained.html
@@ -0,0 +1,32 @@
+
+
+ input problem
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/mozilla/layout/html/tests/formctls/base/button_overconstrained_strict.html b/mozilla/layout/html/tests/formctls/base/button_overconstrained_strict.html
new file mode 100644
index 00000000000..45b4f6475f1
--- /dev/null
+++ b/mozilla/layout/html/tests/formctls/base/button_overconstrained_strict.html
@@ -0,0 +1,33 @@
+
+
+
+ input problem
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/mozilla/layout/html/tests/formctls/base/button_small_avail_width.html b/mozilla/layout/html/tests/formctls/base/button_small_avail_width.html
new file mode 100644
index 00000000000..f0a1c4df966
--- /dev/null
+++ b/mozilla/layout/html/tests/formctls/base/button_small_avail_width.html
@@ -0,0 +1,10 @@
+
+
+Tests HTML buttons and min/max-width, quirks mode
+
+
+
+
+
+
+
diff --git a/mozilla/layout/html/tests/formctls/base/button_small_avail_width_strict.html b/mozilla/layout/html/tests/formctls/base/button_small_avail_width_strict.html
new file mode 100644
index 00000000000..a8f121c0eaa
--- /dev/null
+++ b/mozilla/layout/html/tests/formctls/base/button_small_avail_width_strict.html
@@ -0,0 +1,11 @@
+
+
+
+Tests HTML buttons and min/max-width, standards mode
+
+
+
+
+
+
+
diff --git a/mozilla/layout/html/tests/formctls/base/input_button_overconstrained.html b/mozilla/layout/html/tests/formctls/base/input_button_overconstrained.html
new file mode 100644
index 00000000000..19d8cd463f1
--- /dev/null
+++ b/mozilla/layout/html/tests/formctls/base/input_button_overconstrained.html
@@ -0,0 +1,19 @@
+
+
+ input problem
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/mozilla/layout/html/tests/formctls/base/input_button_overconstrained_strict.html b/mozilla/layout/html/tests/formctls/base/input_button_overconstrained_strict.html
new file mode 100644
index 00000000000..4eac1f35984
--- /dev/null
+++ b/mozilla/layout/html/tests/formctls/base/input_button_overconstrained_strict.html
@@ -0,0 +1,20 @@
+
+
+
+ input problem
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/mozilla/layout/html/tests/formctls/base/rtest.lst b/mozilla/layout/html/tests/formctls/base/rtest.lst
index 7c5e0b45f82..b3951351209 100644
--- a/mozilla/layout/html/tests/formctls/base/rtest.lst
+++ b/mozilla/layout/html/tests/formctls/base/rtest.lst
@@ -40,3 +40,10 @@ button_no_margin_strict.html
button_with_margin.html
button_with_margin_strict.html
button_min_max_widths.html
+button_min_max_widths_strict.html
+button_small_avail_width.html
+button_small_avail_width_strict.html
+button_overconstrained.html
+button_overconstrained_strict.html
+input_button_overconstrained.html
+input_button_overconstrained_strict.html