Closed Bug 271160 Opened 20 years ago Closed 20 years ago

Font styles not shown in SELECT box for selected item

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 79107

People

(Reporter: jason, Assigned: bugzilla)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.7.5) Gecko/20041110 Firefox/1.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.7.5) Gecko/20041110 Firefox/1.0

When a font style (e.g. color) is defined for a SELECT option, the color is
shown correctly for dropdown items.. but when the item is selected, the font
style (color) is not shown.

e.g.

<HTML><HEAD><TITLE>Luxe Ideas: Luxe Ideas: Checkout</TITLE>
</HEAD>
<select name="shipto" onchange="Hform.submit();
Hform.Hcontinue.value='Updating'; Hform.disabled=true;">
<option value=1 style="color:#FF0000;">(select)<option value=2>Domestic
(Singapore only)
<option value=3 SELECTED>International</SELECT><br>
<select name=shipint onchange="Hform.submit(); Hform.Hcontinue.value='Updating';
Hform.disabled=true;">
<option value=0 style="color:#FF0000;">(select)
<option value="Air Mail">Air Mail (7-14 working days)
<option value="Air Mail Express">Air Mail Express (2-4 working days)</SELECT>
</BODY></HTML>

This is important, since this functionality is used to highlight settings or
errors in form submission for many sites.


Reproducible: Always
Steps to Reproduce:
1.
2.
3.

Actual Results:  
The selected option does not show the font color as red.

Expected Results:  
The selected item should have a red font color. The style settings are not being
displayed for selected items.

*** This bug has been marked as a duplicate of 79107 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.