diff --git a/mozilla/layout/html/tests/formctls/button_css_sizing.html b/mozilla/layout/html/tests/formctls/button_css_sizing.html new file mode 100644 index 00000000000..b48595c3478 --- /dev/null +++ b/mozilla/layout/html/tests/formctls/button_css_sizing.html @@ -0,0 +1,44 @@ + + +
+This is a normal button with no CSS sizing,
+on Windows this sizes to 66x27:
+ +
+On Windows this should be sizing to 84x24
+here is a div that emulates it:
+
+
Press Me
+
+
+
+
200px wide

+This button should be 200x60
+ +
+
+
100x21

+This button should be 100x21
+ +
+
+This button should be 100x21
+ +
+
+
200px wide

+This button should be 200x60
+ +
+
+
100x21

+This button should be 100x21
+ +
+
+This button should be 100x21
+ +
+
+ + diff --git a/mozilla/layout/html/tests/formctls/button_sizing_tests.html b/mozilla/layout/html/tests/formctls/button_sizing_tests.html new file mode 100644 index 00000000000..7854563b894 --- /dev/null +++ b/mozilla/layout/html/tests/formctls/button_sizing_tests.html @@ -0,0 +1,34 @@ + + +Tests button sizes (for NavQuirks) + + +
+<input type=button value="Hello">
+
+ +
+<input type=button value="This is a long button">
+
+
+<input type=submit value="Submit">
+
+
+<input type=reset value="Reset">
+
+
+<input type=reset>
+
+
+<input type=submit>
+
+
+vinput type=submit>
+
+
+<input type=button>
+
+
+
+ +