diff --git a/mozilla/layout/html/document/src/html.css b/mozilla/layout/html/document/src/html.css
index bed22feb49e..a049f25d5bd 100644
--- a/mozilla/layout/html/document/src/html.css
+++ b/mozilla/layout/html/document/src/html.css
@@ -458,7 +458,10 @@ input {
border: 2px inset rgb(204, 204, 204);
color: black;
background-color: white;
+ box-sizing: border-box;
+ font-family:-moz-fixed;
}
+
input[type=hidden] {
border: none;
visibility: collapse;
@@ -974,7 +977,6 @@ select, select[size="1"] {
padding-bottom: 0px;
margin: 0px 0px 0px 0px;
vertical-align: bottom;
- background-color:rgb(204, 204, 204);
color:black;
white-space:nowrap;
text-align: left;
diff --git a/mozilla/layout/style/html.css b/mozilla/layout/style/html.css
index bed22feb49e..a049f25d5bd 100644
--- a/mozilla/layout/style/html.css
+++ b/mozilla/layout/style/html.css
@@ -458,7 +458,10 @@ input {
border: 2px inset rgb(204, 204, 204);
color: black;
background-color: white;
+ box-sizing: border-box;
+ font-family:-moz-fixed;
}
+
input[type=hidden] {
border: none;
visibility: collapse;
@@ -974,7 +977,6 @@ select, select[size="1"] {
padding-bottom: 0px;
margin: 0px 0px 0px 0px;
vertical-align: bottom;
- background-color:rgb(204, 204, 204);
color:black;
white-space:nowrap;
text-align: left;