Restore HTMLSelectElement.add to avoid neutering test_union.html.

This commit is contained in:
Ms2ger 2014-06-01 18:01:56 +02:00
parent a0783aebbf
commit 2f0929fc36
2 changed files with 8 additions and 1 deletions

View file

@ -19,7 +19,8 @@ interface HTMLSelectElement : HTMLElement {
// attribute unsigned long length;
//getter Element? item(unsigned long index);
//HTMLOptionElement? namedItem(DOMString name);
//void add((HTMLOptionElement or HTMLOptGroupElement) element, optional (HTMLElement or long)? before = null);
// Note: this function currently only exists for test_union.html.
void add((HTMLOptionElement or HTMLOptGroupElement) element, optional (HTMLElement or long)? before = null);
//void remove(); // ChildNode overload
//void remove(long index);
//setter creator void (unsigned long index, HTMLOptionElement? option);