Closed Bug 409948 Opened 17 years ago Closed 17 years ago

option label is ignored

Categories

(Firefox :: General, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 40545

People

(Reporter: kir, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.10) Gecko/20071213 Fedora/2.0.0.10-3.fc8 Firefox/2.0.0.10
Build Identifier: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.10) Gecko/20071213 Fedora/2.0.0.10-3.fc8 Firefox/2.0.0.10

From http://www.w3.org/TR/html401/interact/forms.html#adef-label-OPTION

    label = text [CS]
        This attribute allows authors to specify a shorter label for an option than the content of the OPTION element. When specified, user agents should use the value of this attribute rather than the content of the OPTION element as the option label.

From http://www.ietf.org/rfc/rfc2119.txt

    3. SHOULD   This word, or the adjective "RECOMMENDED", mean that there
       may exist valid reasons in particular circumstances to ignore a
       particular item, but the full implications must be understood and
       carefully weighed before choosing a different course.

So, is there "a valid reason in particular circumstances" to ignore the label attribute in option tag?

Reproducible: Always

Steps to Reproduce:
1. Visit http://lazyboa.com/option-test.html
Actual Results:  
Numbers are appearing as options.

Expected Results:  
Contents of 'label' attrubute should appear as options.
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.