Bug 143272 - VALUE attribute of OPTION tag ignored
Summary: VALUE attribute of OPTION tag ignored
Status: RESOLVED NOT A BUG
Alias: None
Product: konqueror
Classification: Applications
Component: khtml (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-21 00:28 UTC by Andrew Greenwood
Modified: 2008-04-21 10:32 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Greenwood 2007-03-21 00:28:52 UTC
Version:            (using KDE KDE 3.5.5)
Installed from:    Gentoo Packages
OS:                Linux

Usually, drop-down lists are written like so:
<select>
    <option>Foo</option>
</select>

This works fine in Konqueror. However, an alternative to the above is:
<select>
    <option value="Foo" />
</select>

Konqueror appears to ignore the value entirely.

There is also a "label" attribute which appears to be ignored as well, but my understanding of this is that it is generally not supported by any browser.

(Information source: O'Reilly - Web Design in a Nutshell, 3rd Edition)
Comment 1 Tommi Tervo 2007-03-21 08:10:46 UTC
Opera and firefox will ignore second one too.
http://130.233.18.134/~teve/kde/143272.html
Comment 2 Christophe Marin 2008-04-20 21:07:49 UTC
Confirmed in trunk (r. 799086)

However, this is working as intended. See http://www.w3.org/TR/html401/interact/forms.html#edef-OPTION.

The 'value' or 'label' settings are not meant to be displayed in the select menu.
Comment 3 George Goldberg 2008-04-21 10:32:47 UTC
Closing as invalid based on comment #2