[Webkit-unassigned] [Bug 11681] Resetting a multiple-select control selects first item rather than none

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Nov 27 21:59:27 PST 2006


http://bugs.webkit.org/show_bug.cgi?id=11681





------- Comment #4 from mitz at webkit.org  2006-11-27 21:59 PDT -------
(In reply to comment #3)
> Created an attachment (id=11647)
 --> (http://bugs.webkit.org/attachment.cgi?id=11647&action=view) [edit]
> Adding testcase
> 
> As I understand the spec, single-choice <select> controls with no "selected"
> option properly default to the first option when reset, whereas multiple-choice
> ones reset to empty.  That makes sense, at least to me, since otherwise the
> single-select's drop-down wouldn't have anything to show.
> 

My comment was referring to single-select list boxes, not drop-downs. The
behavior of the former in WebKit and Firefox is that initially they have no
option selected. Furthermore, in Firefox, resetting the form deselects all
options. So I was suggesting that WebKit do the same to be consistent both with
itself and with Firefox.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list