Closed Bug 149266 Opened 22 years ago Closed 22 years ago

it's impossible to redefine colors for some form controls via CSS

Categories

(Core :: Layout: Form Controls, defect)

All
Linux
defect
Not set
major

Tracking

()

RESOLVED DUPLICATE of bug 52500

People

(Reporter: hvv, Assigned: rods)

References

()

Details

(Keywords: regression, testcase)

Attachments

(1 file)

Since 0.9.9 (and the bug is present in 1.0RC3 too) it's impossible to recolor button of dropdown list of <SELECT> and it's impossible to recolor the button "Browse" of <input type=file> It was possible to do that in mozilla-0.9.6. It seems this change was made intentionally, to be visually compatible with broken IEs. Why did you do that? It's impossible to redefine the colors of the elements mentioned even if one uses very specific CSS rules that are similar to ones in $mozilla_root/res/forms.css (it seems ones in $mozilla_root/res/forms.css have much higher precedence for some reason, which is a bug too IMO). The html in URL field is an example of inability to recolor the abovementioned form controls.
->HTML form controls
Assignee: dbaron → rods
Component: Style System → HTML Form Controls
QA Contact: ian → tpreston
Attached file Testcase (deleted) —
Seeing in 2002072204 as well. Testcase shows that we allow some attributes for the file-selection textbox (e.g., color) but not others (e.g., font-size, font-weight). Also shows that the button stays normal no matter what. Although not in the test case, normal buttons (e.g., input type=submit) get style. There are apparently a lot of bugs about styling <input type=file>. Bug 52500 seems the most advanced. There are also: bug 151896 and bug 146096. It should be noted that the CSS2 standard does not specify form controls at all. *** This bug has been marked as a duplicate of 52500 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Keywords: regression, testcase
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: