Closed Bug 415875 Opened 16 years ago Closed 16 years ago

Style of selected <option> tag is not reflected in <select> tag.

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
trivial

Tracking

()

RESOLVED DUPLICATE of bug 79107

People

(Reporter: m4341, Unassigned)

References

()

Details

(Keywords: css2, css3, testcase)

Attachments

(2 files)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11

The style of the selected <option> tag is not reflected in the <select> tag, but the option styles are displayed in the drop-down list.

Both Opera and Internet Explorer has this feature, but Safari for Windows does not have it.

I'm not sure if this is regulated in the CSS rules or not, but the feature would be useful or else it is necessary to implement a bit of JavaScript to change the style of the <select> tag.


Reproducible: Always

Steps to Reproduce:
Visit http://www.bedug.com/BugTest/example1.html with different browsers (Opera, IE) to see.

Actual Results:  
In the example the background of the selected element is always white.

Expected Results:  
The background should be the color of the background set in the option tag.
Keywords: css2, css3
Version: unspecified → 2.0 Branch
Nils,

I'd like to point out this testcase

http://www.gtalbot.org/BrowserBugsSection/MSIE7Bugs/BackgroundColorSelect.html

which is passed by Opera 9.25, Opera 9.50 build 9770 and Konqueror 3.5.8 but not by MSIE 6 and MSIE 7 despite rendering (through the select) the color of the selected option. Ideally, it would be best for every browser to support background-color: transparent for the select.

Seamonkey 2.0a1pre rv:1.9b4pre build 2008020602 under XP Pro SP2 also fails the 2 testcases. So:

Version set to Trunk 

Adding testcase keyword

Search for possible duplicate is required before confirming.
Keywords: testcase
Version: 2.0 Branch → Trunk
Everything suggests that this is a DUPLICATE of bug 79107 (see bug 354850, bug 354850 and also bug 56451).

Resolving accordingly
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: