Closed Bug 874600 Opened 11 years ago Closed 11 years ago

<input type=file> has unreadable text on dark/black background now

Categories

(Core :: Layout: Form Controls, defect)

24 Branch
defect
Not set
major

Tracking

()

RESOLVED FIXED
mozilla24
Tracking Status
firefox21 --- unaffected
firefox22 --- verified
firefox23 --- fixed
firefox24 --- fixed

People

(Reporter: moz, Assigned: mounir)

References

Details

(Keywords: regression, testcase)

Attachments

(2 files)

See attachment 180720 [details]: Text on input field is not readable (black on black)
To the very least the color should be inherited.
See https://bugs.webkit.org/show_bug.cgi?id=67368

Compare upcoming testcase with WebKit/Chrome
Keywords: testcase
Attached file testcase
Attached patch PatchSplinter Review
Nice catch, thanks :)
Assignee: nobody → mounir
Status: NEW → ASSIGNED
Attachment #752777 - Flags: review?(bzbarsky)
Comment on attachment 752777 [details] [diff] [review]
Patch

r=me
Attachment #752777 - Flags: review?(bzbarsky) → review+
Thank you for this quick review Boris.

https://hg.mozilla.org/integration/mozilla-inbound/rev/18f85a091e65
Flags: in-testsuite+
Target Milestone: --- → mozilla24
Comment on attachment 752777 [details] [diff] [review]
Patch

[Approval Request Comment]
Bug caused by (feature/regressing bug #): bug 874600
User impact if declined: some text might be hardly readable but this bug is affecting old versions of Webkit (Safari 5 and multiple versions of Safari Mobile).
Testing completed (on m-c, etc.): automated tests
Risk to taking this patch (and alternatives if risky): the risk is very low, the benefit isn't high too (given that it's only a disagreement, not terrible) but given that there is barely no risk and that the patch is very small and affects limited part of the code (one CSS line), it seems to me worth to take this patch.
Attachment #752777 - Flags: approval-mozilla-beta?
Attachment #752777 - Flags: approval-mozilla-aurora?
(In reply to Mounir Lamouri (:mounir) from comment #7)
> Comment on attachment 752777 [details] [diff] [review]
> Patch
> 
> [Approval Request Comment]
> Bug caused by (feature/regressing bug #): bug 874600

I meant bug 52500.
(In reply to Mounir Lamouri (:mounir) from comment #7)
> User impact if declined: some text might be hardly readable but this bug is
> affecting old versions of Webkit (Safari 5 and multiple versions of Safari
> Mobile).

... but people work around it with -webkit- pseudo-elements
https://hg.mozilla.org/mozilla-central/rev/18f85a091e65
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Attachment #752777 - Flags: approval-mozilla-beta?
Attachment #752777 - Flags: approval-mozilla-beta+
Attachment #752777 - Flags: approval-mozilla-aurora?
Attachment #752777 - Flags: approval-mozilla-aurora+
Mozilla/5.0 (X11; Linux i686; rv:22.0) Gecko/20100101 Firefox/22.0
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:22.0) Gecko/20100101 Firefox/22.0
Mozilla/5.0 (Windows NT 6.1; rv:22.0) Gecko/20100101 Firefox/22.0
Build ID: 20130528181031

Verified the fix on latest Firefox 22 beta 3 builds.
Depends on: 890252
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: