[Webkit-unassigned] [Bug 9179] Implement select.options.add() method

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Wed Jun 21 04:56:48 PDT 2006


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





------- Comment #3 from ddkilzer at kilzer.net  2006-06-21 04:56 PDT -------
(In reply to comment #2)
> - There seems to be some code duplication between the HTMLSelect and
> HTMLCollection regarding the management of the Option element list.  I'm
> wondering if I should clean that up while I'm digging around in this part of
> the code?

This is why there is only a setLength() method on HTMLOptionsCollection and not
a length(), since the HTMLCollection::length() method handles that.  I could
have added HTMLOptionsCollection::length() and called the method on the
HTMLSelectElement instead, but wasn't sure which way was better (due to the
code duplication).


-- 
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