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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Dec 10 11:04:56 PST 2014


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

--- Comment #3 from Sam Weinig <sam at webkit.org> ---
(In reply to comment #2)
> (In reply to comment #1)
> > What exactly is not to spec? Do you have a test case that fails?
> 
> 
> Dear  Sam,
> 
>       As per Spec:    
> http://www.w3.org/html/wg/drafts/html/master/forms.html#the-select-element,
> select.add should support an index as the second optional argument. so
> calling select.add("option", index) will fail, currently only HTMLElement is
> supported as second argument. so user can do add operation based on index of
> item also.
> Also its done in:
> https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement#add%28%29
> 
> Thanks

Can you provide a test case that fails as an attachments?

-- 
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/20141210/098ba3e1/attachment-0002.html>


More information about the webkit-unassigned mailing list