[Webkit-unassigned] [Bug 139179] HTMLSelectElement add() should support index as second argument

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 23 11:11:33 PST 2014


https://bugs.webkit.org/show_bug.cgi?id=139179

--- Comment #32 from Chris Dumez <cdumez at apple.com> ---
By the way, what the spec says is that HTMLSelectElement.add() should behave the same way as HTMLOptionsCollection.add():
https://html.spec.whatwg.org/multipage/forms.html#dom-select-add

However, in WebKit, HTMLOptionsCollection.add() only supports an index as second argument (not an HTMLElement).

I think HTMLOptionsCollection.add() should be updated in the same patch to make sure both behave the same way (and according to spec).

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20141223/97ec5771/attachment-0002.html>


More information about the webkit-unassigned mailing list