Adding rules to html4.css to style the button in file upload controls.

        * css/html4.css:



git-svn-id: svn://svn.chromium.org/blink/trunk@16324 bbb929c8-8fbe-4397-9dbb-9b2b20218538
diff --git a/WebCore/css/html4.css b/WebCore/css/html4.css
index 39f3dae..23af00a 100644
--- a/WebCore/css/html4.css
+++ b/WebCore/css/html4.css
@@ -341,6 +341,14 @@
     border: initial;
 }
 
+input[type="file"] {
+    -webkit-box-align: baseline;
+}
+
+input[type="file"]::-webkit-file-upload-button {
+    display: -webkit-box;
+}
+
 input:-webkit-autofill {
     background-color: #FAFFBD !important;
     background-image:none !important;
@@ -354,13 +362,12 @@
     border: initial;
 }
 
-input[type="button"], input[type="submit"], input[type="reset"]
-{
+input[type="button"], input[type="submit"], input[type="reset"], input[type="file"]::-webkit-file-upload-button {
     -webkit-appearance: push-button;
     white-space: pre
 }
 
-input[type="button"], input[type="submit"], input[type="reset"], button {
+input[type="button"], input[type="submit"], input[type="reset"], input[type="file"]::-webkit-file-upload-button, button {
     -webkit-box-align: center;
     text-align: center;
     cursor: default;
@@ -371,19 +378,19 @@
     box-sizing: border-box
 }
 
-input[type="button"]:disabled, input[type="submit"]:disabled, input[type="reset"]:disabled, button:disabled, select:disabled {
+input[type="button"]:disabled, input[type="submit"]:disabled, input[type="reset"]:disabled, input[type="file"]::-webkit-file-upload-button:disabled, button:disabled, select:disabled {
     color: GrayText
 }
 
-input[type="button"]:active, input[type="submit"]:active, input[type="reset"]:active, button:active {
+input[type="button"]:active, input[type="submit"]:active, input[type="reset"]:active, input[type="file"]::-webkit-file-upload-button:active, button:active {
     border-style: inset
 }
 
-input[type="button"]:active:disabled, input[type="submit"]:active:disabled, input[type="reset"]:active:disabled, button:active:disabled {
+input[type="button"]:active:disabled, input[type="submit"]:active:disabled, input[type="reset"]:active:disabled, input[type="file"]::-webkit-file-upload-button:active:disabled, button:active:disabled {
     border-style: outset
 }
 
-select, button, input[type="button"], input[type="image"], input[type="submit"], input[type="reset"], input[type="checkbox"], input[type="radio"], img {
+select, button, input[type="button"], input[type="image"], input[type="submit"], input[type="reset"], input[type="checkbox"], input[type="radio"], input[type="file"]::-webkit-file-upload-button, img {
     -webkit-user-select: ignore
 }
 
@@ -525,7 +532,8 @@
 input[type="radio"]:focus,
 input[type="reset"]:focus,
 input[type="search"]:focus,
-input[type="submit"]:focus {
+input[type="submit"]:focus,
+input[type="file"]::-webkit-file-upload-button:focus {
     outline-offset: 0
 }