Closed
Bug 555493
Opened 16 years ago
Closed 16 years ago
With a form, Option tag with attribute Label is not shown if text between option tags are entered
Categories
(Core :: General, defect)
Tracking
()
People
(Reporter: travisnapoleansmith, Unassigned)
Details
(Keywords: html4)
Attachments
(1 file)
|
521 bytes,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.2) Gecko/20100316 Firefox/3.6.2 (.NET CLR 3.5.30729)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.2) Gecko/20100316 Firefox/3.6.2 (.NET CLR 3.5.30729)
When a form is created with xhtml using a option tag with a label, the label is not shown if their is text inside of the option tag. I am attaching some sample code:
<form>
<select dir="ltr" lang="en-us" tabindex="1" xml:lang="en-us" name="Plattsburgh State Men's Basketball Head Coach Tom Curle">
<option dir="ltr" lang="en-us" xml:lang="en-us" label="Chicken" selected="selected">
Computer and Technology
</option>
</select>
</form>
computer and technology is displayed instead of Chicken
Reproducible: Always
| Reporter | ||
Comment 1•16 years ago
|
||
Labels are suppose to be for short versions of the text. According to W3C Standards a label as an attribute for select is suppose to be shown instead of the text. IE 8, Opera and Safari all render this properly.
| Reporter | ||
Comment 2•16 years ago
|
||
| Reporter | ||
Comment 4•16 years ago
|
||
It is a duplicate of bug 40545. Didn't find it when I searched for form option or form label. This was reported first in 2000. It should be fixed considering all of the major browsers render the form label properly. This includes IE 8, IE 7, Safari and Opera.
| Reporter | ||
Updated•16 years ago
|
Product: Firefox → Core
| Reporter | ||
Comment 5•16 years ago
|
||
Changed product to core. Maybe it should also go under FireFox because that is where I searched for the bug because it was happening in FireFox. I don't used the other Mozilla programs right now!
Updated•16 years ago
|
QA Contact: general → general
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.
Description
•