Bug 67181 - REGRESSION(r88115): "Choose File" button doesn't respect font-size property for the <input>
Summary: REGRESSION(r88115): "Choose File" button doesn't respect font-size property f...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P1 Normal
Assignee: Kent Tamura
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-29 23:24 PDT by Kent Tamura
Modified: 2011-08-31 19:39 PDT (History)
3 users (show)

See Also:


Attachments
Patch (19.95 KB, patch)
2011-08-29 23:43 PDT, Kent Tamura
no flags Details | Formatted Diff | Diff
Patch 2 (20.81 KB, patch)
2011-08-29 23:52 PDT, Kent Tamura
no flags Details | Formatted Diff | Diff
Patch for landing (4.10 KB, patch)
2011-08-31 19:26 PDT, Kent Tamura
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Comment 1 Kent Tamura 2011-08-29 23:43:59 PDT
Created attachment 105587 [details]
Patch
Comment 2 WebKit Review Bot 2011-08-29 23:47:04 PDT
Attachment 105587 [details] did not pass style-queue:

Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'LayoutTests/ChangeLog', u'LayoutTests/plat..." exit_code: 1

ERROR: FAILURES FOR <lucid, x86_64, release, cpu>
ERROR: Line:3483 Path does not exist. fast/forms/file/file-appearnace.html
LayoutTests/platform/chromium/test_expectations.txt:3483:  Path does not exist. fast/forms/file/file-appearnace.html  [test/expectations] [2]
Total errors found: 1 in 5 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 3 Kent Tamura 2011-08-29 23:52:15 PDT
Created attachment 105590 [details]
Patch 2

Add a missing file
Comment 4 Darin Adler 2011-08-30 10:01:32 PDT
Comment on attachment 105590 [details]
Patch 2

Is the font-size the only thing we want to inherit? What about other style properties?
Comment 5 Kent Tamura 2011-08-30 16:17:42 PDT
(In reply to comment #4)
> (From update of attachment 105590 [details])
> Is the font-size the only thing we want to inherit? What about other style properties?

As you see on the second file upload control in file-appearance-expected.png, 'color' property of input[type=file] should be 'inherit.'  But I think it's a very old bug, not a regression by r88115.
I have no other ideas of other properties.
Comment 6 Kent Tamura 2011-08-31 00:26:08 PDT
(In reply to comment #5)
> As you see on the second file upload control in file-appearance-expected.png, 'color' property of input[type=file] should be 'inherit.'  But I think it's a very old bug, not a regression by r88115.

I'll fix color issue by another patch.
Comment 7 Dimitri Glazkov (Google) 2011-08-31 18:34:28 PDT
Comment on attachment 105590 [details]
Patch 2

can the test be made dump-as-text? You can read shadowRoot using window.internals, then read its computed style.
Comment 8 Kent Tamura 2011-08-31 19:26:19 PDT
Created attachment 105886 [details]
Patch for landing

Convert the test to dumpAsText
Comment 9 WebKit Review Bot 2011-08-31 19:39:08 PDT
Comment on attachment 105886 [details]
Patch for landing

Clearing flags on attachment: 105886

Committed r94268: <http://trac.webkit.org/changeset/94268>
Comment 10 WebKit Review Bot 2011-08-31 19:39:13 PDT
All reviewed patches have been landed.  Closing bug.