Closed Bug 180728 Opened 22 years ago Closed 22 years ago

setting the background color on a single option in a select box does not render color when the option is selected

Categories

(Core :: Layout: Form Controls, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 79107

People

(Reporter: thad.hoffman, Unassigned)

Details

(Keywords: qawanted)

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 Moz allows you to assign different font colors and background colors to individual options of a select box. They render fine when the control is expanded (as if trying to select an option) but when those colored options are selected the color disappears. We use this feature in IE for displaying invalid selections to users. Makes implementation of this feature in NS/Moz clients difficult. Reproducible: Always Steps to Reproduce: 1. create a select control 2. add options 3. add styles to individual options or use CSS classes (both create the issue) Actual Results: styles render correctly when the select box is expanded. Once a colored option is selected, the color vanishes. Expected Results: render the selected value as it's styles/css class defines it.
Attached file select box with styles on options. (deleted) —
This test file will demonstrate the proper coloring when expanded and the incorrect coloring when selected. Also, this is duplicated on Win2k server as well as Mac OS X in Moz builds 1.0-1.2Beta, also Netscape 6.1 - 7.0
Keywords: qawanted
Whiteboard: DUPEME
*** This bug has been marked as a duplicate of 79107 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Whiteboard: DUPEME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: