WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 266935
24606
WebKit cannot add options right into a group via HTMLSelectElement.add()
https://bugs.webkit.org/show_bug.cgi?id=24606
Summary
WebKit cannot add options right into a group via HTMLSelectElement.add()
Alexey Proskuryakov
Reported
2009-03-15 01:32:05 PDT
It is possible to add an option to a SELECT via e.g. select.add(new Option("0", "0", false, false), select.firstChild); But it is not possible to add an element to HTMLOptGroupElement in this way: select.add(new Option("0", "0", false, false), optgroup.firstChild); Same problem exists with removing. Disabled cases in fast/forms/mutation-event-recalc.html could check for this.
Attachments
Add attachment
proposed patch, testcase, etc.
Adam Roben (:aroben)
Comment 1
2009-06-15 08:56:44 PDT
<
rdar://problem/6972264
>
Anne van Kesteren
Comment 2
2024-09-02 06:40:40 PDT
Removing appears to have been fixed at some point. *** This bug has been marked as a duplicate of
bug 266935
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug