[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    Bug#44572: Select displays the label if label attribute in option tag
From:       drichardson () acquiremedia ! com
Date:       2002-07-01 1:07:22
[Download RAW message or body]

Package: khtml
Version: KDE 3.0.0 
Severity: normal
Installed from:    RedHat RPMs
Compiler:          Gcc 2.96
OS:                Linux
OS/Compiler notes: Not Specified

In a select statement, using option with the label attributed set.
Konqueror displays the labels in the drop down list instead of the correct data.
<select ...>
<option label="foo">Foo Bar<\option>
...
</select>

"foo" is displayed as a list item instead of
"Foo Bar"

Here is the code where I discovered the bug
...
        <td><select name=source>
              <option label="unknown">Unknown</option>
              <option label="camera">Camera: Unknown</option>
              <option label="elan2" selected>Camera: Canon Elan 2</option>
              <option label="g2">Camera: Canon G2 Digital</option>
              <option label="d60">Camera: Canon D60 Digital</option>
              <option label="xd5">Camera: Minulta XD5</option>
              <option label="software">Software: Unknown</option>
              <option label="gimp">Software: The Gimp</option>
              <option label="photoshople">Software: Photoshop LE 5</option>
              <option label="elements">Software: Photoshop Elements</option>
              <option label="csanner:">Scanner: Unknown</option>
              <option label="n4ed">Scanner: Nikon Coolscan IV ED</option>
            </select>
        </td>
...

(Submitted via bugs.kde.org)
(Called from KBugReport dialog. Fields Application, KDE Version, OS, Compiler manually changed)


(Complete bug history is available at http://bugs.kde.org/db/44/44572.html)
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic