Closed
Bug 278994
Opened 20 years ago
Closed 20 years ago
Currently selection OPTION in a SELECT element does not follow CSS
Categories
(Core :: DOM: CSS Object Model, defect)
Tracking
()
People
(Reporter: jason, Unassigned)
Details
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
CSS attributes do not apply to the currently selected option in a select element.
Reproducible: Always
Steps to Reproduce:
<html>
<body>
<select>
<option style="color:red;background-color:yellow">Option 1</option>
<option style="color:green;background-color:red">Option 2</option>
</select>
</body>
</html>
Actual Results:
A select widget is shown with black text on a white background, that has an
option selected labeled "Option 1"
Expected Results:
The select widget should be displayed with red text on a yellow background, that
has an option selected labeled "Option 1".
Comment 1•20 years ago
|
||
*** This bug has been marked as a duplicate of 79107 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•