RESOLVED DUPLICATE of bug 26693524606
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
Adam Roben (:aroben)
Comment 1 2009-06-15 08:56:44 PDT
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.