Closed Bug 419973 Opened 17 years ago Closed 16 years ago

(input[type=file]) can't style background on file input

Categories

(Core :: CSS Parsing and Computation, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 452969

People

(Reporter: pooya, Unassigned)

References

()

Details

(Keywords: regression, testcase)

User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12 Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.4; en-US; rv:1.9b4pre) Gecko/2008022704 Minefield/3.0b4pre This used to work on Firefox 2.0 but is now broken on Firefox 3.0. Possibly broken after |bug 258875| landed. Reproducible: Always Steps to Reproduce: 1. style a file input with a css rule background-color 2. 3. Actual Results: the background color will remain white Expected Results: the background color of the textbox (or the whole widget) should reflect the style as it does in Firefox 2.0
not to be mistaken with the more general |bug 52500|. This one is a regression.
Actually, this regressed as a result of bug 240117. forms.css does "background-color: inherit" on that text input, and the inherited background is ultimately specified in an author sheet, but the rule for the text input is from a UA sheet, so we don't drop moz-appearance on the text input. David, you think there's an easy way to address this?
Blocks: 240117
Status: UNCONFIRMED → NEW
Component: Layout: Form Controls → Style System (CSS)
Ever confirmed: true
Keywords: regression
QA Contact: layout.form-controls → style-system
when fixing this, i appreciate it if you can also add background-image inheritance similar to background-color as well. See also: FF2.0 vs FF3.0 screen shot here: https://bugzilla.mozilla.org/show_bug.cgi?id=52500#c122 image on file input screen shot here: https://bugzilla.mozilla.org/show_bug.cgi?id=52500#c119 Sample Safari screenshot for comparison: https://bugzilla.mozilla.org/show_bug.cgi?id=52500#c122
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b3pre) Gecko/20090131 Shiretoko/3.1b3pre URL works on 1.9.1 branch (Fx3.1) and trunk. Can we have this on branch?
Marking dup of the bug where this ended up getting fixed.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.