Title: [94271] branches/chromium/835/Source/WebCore/css/html.css
Revision
94271
Author
[email protected]
Date
2011-08-31 22:47:56 -0700 (Wed, 31 Aug 2011)

Log Message

Merge 94268 - REGRESSION(r88115): "Choose File" button doesn't respect font-size property for the <input>
https://bugs.webkit.org/show_bug.cgi?id=67181

Reviewed by Dimitri Glazkov.

Source/WebCore:

r88115 removed the code to make inherited style of the owner input
element, and html.css contains "font: -webkit-small-control" for
input element. So -webkit-file-upload-button always had
-webkit-small-control font.

Test: fast/forms/file/file-style-inheritance.html

* css/html.css:
(input[type="file"]::-webkit-file-upload-button):
Specify font-size:inherit explicitly.

LayoutTests:

* fast/forms/file/file-style-inheritance-expected.txt: Added.
* fast/forms/file/file-style-inheritance.html: Added.


[email protected]
BUG=94602
Review URL: http://codereview.chromium.org/7828001

Modified Paths

Diff

Modified: branches/chromium/835/Source/WebCore/css/html.css (94270 => 94271)


--- branches/chromium/835/Source/WebCore/css/html.css	2011-09-01 05:33:34 UTC (rev 94270)
+++ branches/chromium/835/Source/WebCore/css/html.css	2011-09-01 05:47:56 UTC (rev 94271)
@@ -554,6 +554,7 @@
     -webkit-appearance: push-button;
     white-space: nowrap;
     margin: 0;
+    font-size: inherit;
 }
 
 input[type="button"], input[type="submit"], input[type="reset"], input[type="file"]::-webkit-file-upload-button, button {
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to