Bug 143272

Summary: VALUE attribute of OPTION tag ignored
Product: [Applications] konqueror Reporter: Andrew Greenwood <andrew.greenwood>
Component: khtmlAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED NOT A BUG    
Severity: normal CC: christophe, grundleborg
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:

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