mirror of
https://github.com/servo/servo.git
synced 2025-10-08 20:49:24 +01:00
Restore HTMLSelectElement.add to avoid neutering test_union.html.
This commit is contained in:
parent
a0783aebbf
commit
2f0929fc36
2 changed files with 8 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue