servo: Merge #7754 - changing test_union.html to union.html fixes #7744 (from Jayflux:#7744); r=nox

Source-Repo: https://github.com/servo/servo
Source-Revision: 599fd0094b1a5c43992092ae1ff20a2fa02db559
This commit is contained in:
Jayflux 2015-09-27 06:25:42 -06:00
parent d80fcc3c14
commit d2c2d55b86
2 changed files with 2 additions and 2 deletions

View File

@ -62,7 +62,7 @@ impl HTMLSelectElementMethods for HTMLSelectElement {
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
fn Add(&self, _element: HTMLOptionElementOrHTMLOptGroupElement, _before: Option<HTMLElementOrLong>) {
}

View File

@ -19,7 +19,7 @@ interface HTMLSelectElement : HTMLElement {
// attribute unsigned long length;
//getter Element? item(unsigned long index);
//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 remove(); // ChildNode overload
//void remove(long index);