mirror of
https://github.com/servo/servo.git
synced 2025-07-24 15:50:21 +01:00
changing test_union.html to union.html fixes #7744
This commit is contained in:
parent
37ce248f31
commit
e6442767ed
2 changed files with 2 additions and 2 deletions
|
@ -62,7 +62,7 @@ impl HTMLSelectElementMethods for HTMLSelectElement {
|
||||||
ValidityState::new(window.r())
|
ValidityState::new(window.r())
|
||||||
}
|
}
|
||||||
|
|
||||||
// Note: this function currently only exists for test_union.html.
|
// Note: this function currently only exists for union.html.
|
||||||
// https://html.spec.whatwg.org/multipage/#dom-select-add
|
// https://html.spec.whatwg.org/multipage/#dom-select-add
|
||||||
fn Add(&self, _element: HTMLOptionElementOrHTMLOptGroupElement, _before: Option<HTMLElementOrLong>) {
|
fn Add(&self, _element: HTMLOptionElementOrHTMLOptGroupElement, _before: Option<HTMLElementOrLong>) {
|
||||||
}
|
}
|
||||||
|
|
|
@ -19,7 +19,7 @@ interface HTMLSelectElement : HTMLElement {
|
||||||
// attribute unsigned long length;
|
// attribute unsigned long length;
|
||||||
//getter Element? item(unsigned long index);
|
//getter Element? item(unsigned long index);
|
||||||
//HTMLOptionElement? namedItem(DOMString name);
|
//HTMLOptionElement? namedItem(DOMString name);
|
||||||
// Note: this function currently only exists for test_union.html.
|
// Note: this function currently only exists for union.html.
|
||||||
void add((HTMLOptionElement or HTMLOptGroupElement) element, optional (HTMLElement or long)? before = null);
|
void add((HTMLOptionElement or HTMLOptGroupElement) element, optional (HTMLElement or long)? before = null);
|
||||||
//void remove(); // ChildNode overload
|
//void remove(); // ChildNode overload
|
||||||
//void remove(long index);
|
//void remove(long index);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue