Closed Bug 193318 Opened 22 years ago Closed 22 years ago

Background colour of select options not rendered according to CSS

Categories

(Core :: Web Painting, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 79107

People

(Reporter: danpat, Assigned: roc)

References

()

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021210 Debian/1.2.1-3 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021210 Debian/1.2.1-3 (also see URL provided) <select> <option style="background: red; color: white;">This should be red</option> <option>This should be the default color</option> </select> When the list is not expanded, the red colour does not appear anywhere. It is visible when the list is dropped down. Reproducible: Always Steps to Reproduce: 1. Open browser 2. Visit page Actual Results: unexpanded select box did not have the expected background colour Expected Results: unexpanded select box should show the CSS specified background colour of the selected item.
You do know that CSS does not apply to the internal rendering of form controls very well, right? ;) *** This bug has been marked as a duplicate of 79107 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Component: Layout: View Rendering → Layout: Web Painting
You need to log in before you can comment on or make changes to this bug.