[Webkit-unassigned] [Bug 8455] selectedIndex for a select after a Form reset() has wrong value

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Wed May 24 14:16:22 PDT 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=8455





------- Comment #9 from rwlbuis at xs4all.nl  2006-05-24 14:16 PDT -------
Hi,

(In reply to comment #8)
> (From update of attachment 8510 [edit])
> firstOption is unnecessary. You can just use items[0]. That's a nitpick,
> though. Nice work.
> 

As discussed on irc, this is mostly a preference thing. If always item[0] was
the correct one,
I'd agree, but it doesnt have to be, so we'd need a while loop. I do not think
either solution is
perfect, though I slightly prefer the current one.
Cheers,

Rob.


-- 
Configure bugmail: http://bugzilla.opendarwin.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