Closed
Bug 237443
Opened 21 years ago
Closed 21 years ago
CSS BACKGROUND-COLOR not set on SELECT boxes with size="x"
Categories
(Core :: Layout: Form Controls, defect)
Core
Layout: Form Controls
Tracking
()
RESOLVED
DUPLICATE
of bug 224974
People
(Reporter: bugs, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040206 Firefox/0.8
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040206 Firefox/0.8
here is a problem with CSS in Mozilla 1.6/1.7 and FireFox
(in Mozilla 1.5 it was OK!)
There is no css background-color set for select-fields with a SIZE > 1
SIZE > 1 makes the browser to generate the SELECT-Box with another routine
and forget to apply the CSS BACKGROUND-COLOR and perhaps also other flags (you
should check that) for Mozilla FireFox & Mozilla 1.6 or above...
Reproducible: Always
Steps to Reproduce:
So there is a minimized code fragment for the problem to reproduce the bug:
(replace SIZE="2" with SIZE="1" to have a normal, bug-free SELECT-representation)
test.css:
SELECT.text {
COLOR: #FFFFFF;
BACKGROUND-COLOR: #442277;
}
test.html:
<HTML>
<HEAD>
<LINK REL="stylesheet" TYPE="text/css" HREF="test.css">
</HEAD>
<BODY>
<FORM>
<SELECT SIZE="2">
<OPTION VALUE="1" SELECTED>test 1</OPTION>
<OPTION VALUE="2">test 2</OPTION>
</SELECT>
</FORM>
</BODY>
</HTML>
Actual Results:
Background of the select-box not set (default white or whatever)
Expected Results:
Mozilla should set the CSS-Style defined BACKGROUND-COLOR on SELECT boxes with a
SIZE > 1
Comment 1•21 years ago
|
||
*** This bug has been marked as a duplicate of 224974 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•