diff --git a/layout/html/document/src/forms.css b/layout/html/document/src/forms.css
index 8d6e82c90db0..793156cd9fc8 100644
--- a/layout/html/document/src/forms.css
+++ b/layout/html/document/src/forms.css
@@ -400,5 +400,6 @@ input[type="submit"][disabled] {
-moz-user-input: none !important;
}
+ input[type="file"] { height: 2em; }
}
diff --git a/layout/style/forms.css b/layout/style/forms.css
index 8d6e82c90db0..793156cd9fc8 100644
--- a/layout/style/forms.css
+++ b/layout/style/forms.css
@@ -400,5 +400,6 @@ input[type="submit"][disabled] {
-moz-user-input: none !important;
}
+ input[type="file"] { height: 2em; }
}