[Webkit-unassigned] [Bug 139179] HTMLSelectElement add() should be as per the HTML specification
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Dec 8 21:43:39 PST 2014
https://bugs.webkit.org/show_bug.cgi?id=139179
--- Comment #2 from Shivakumar J M <shiva.jm at samsung.com> ---
(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
--
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/20141209/1741f43d/attachment-0002.html>
More information about the webkit-unassigned
mailing list