From 233a769c67738942a0ac47c15465e36891883c3b Mon Sep 17 00:00:00 2001 From: Bogdan Cuza Date: Tue, 21 Jul 2015 18:53:01 +0300 Subject: Add spec links --- components/script/dom/htmlselectelement.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'components/script/dom/htmlselectelement.rs') diff --git a/components/script/dom/htmlselectelement.rs b/components/script/dom/htmlselectelement.rs index a33e8d419ba..a24c892335a 100644 --- a/components/script/dom/htmlselectelement.rs +++ b/components/script/dom/htmlselectelement.rs @@ -59,12 +59,14 @@ impl HTMLSelectElement { } impl<'a> HTMLSelectElementMethods for &'a HTMLSelectElement { + // https://html.spec.whatwg.org/multipage/#dom-cva-validity fn Validity(self) -> Root { let window = window_from_node(self); ValidityState::new(window.r()) } // Note: this function currently only exists for test_union.html. + // https://html.spec.whatwg.org/multipage/#dom-select-add fn Add(self, _element: HTMLOptionElementOrHTMLOptGroupElement, _before: Option) { } -- cgit v1.2.3