Closed
Bug 246656
Opened 21 years ago
Closed 21 years ago
<select> ignores background-color style attribute for selected value
Categories
(SeaMonkey :: General, defect)
Tracking
(Not tracked)
People
(Reporter: osavill, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8a2) Gecko/20040610
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8a2) Gecko/20040610
The following HTML snippet produces a drop down with coloured bars in both IE
and Mozilla :
<select>
<option value='noact' style='background-color: magenta;' selected='true'>Text
foreground colour</option>
<option value='#FFFFFF' style='background-color: #ffffff;'></option>
<option value='cyan' style='background-color: cyan;'></option>
</select>
In IE the initial state is a Magenta bar and, once the focus is removed from the
drop down !, the entire drop down becomes the colour of the selection. In
Mozilla this does not happen, The drop down remains starts white and remains white.
This maybe down to me using the wrong style attribute, in which case many
appologies. I based this observation on what IE does.
Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1•21 years ago
|
||
*** This bug has been marked as a duplicate of 79107 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
Updated•21 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•