diff options
author | Ms2ger <ms2ger@gmail.com> | 2014-06-01 15:41:09 +0200 |
---|---|---|
committer | Ms2ger <ms2ger@gmail.com> | 2014-06-01 15:41:09 +0200 |
commit | a0783aebbf95659ed571dabcbb7df7784828d696 (patch) | |
tree | 9adda8f3c3b245d04dc2f47573b4962281926d89 /src/components/script/dom/htmllabelelement.rs | |
parent | eaae994d5761e137ecc847e6b38cbcaf9ff88c19 (diff) | |
download | servo-a0783aebbf95659ed571dabcbb7df7784828d696.tar.gz servo-a0783aebbf95659ed571dabcbb7df7784828d696.zip |
Remove not-yet-implemented members from IDL and Rust code.
These stub implementations bring no value, and significantly increased
maintenance costs.
This commit also synchronizes the IDL with the HTML specification and
makes the URLs consistent.
Diffstat (limited to 'src/components/script/dom/htmllabelelement.rs')
-rw-r--r-- | src/components/script/dom/htmllabelelement.rs | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/components/script/dom/htmllabelelement.rs b/src/components/script/dom/htmllabelelement.rs index 69aa07ff631..3623f68227d 100644 --- a/src/components/script/dom/htmllabelelement.rs +++ b/src/components/script/dom/htmllabelelement.rs @@ -37,15 +37,4 @@ impl HTMLLabelElement { } pub trait HTMLLabelElementMethods { - fn HtmlFor(&self) -> DOMString; - fn SetHtmlFor(&self, _html_for: DOMString); -} - -impl<'a> HTMLLabelElementMethods for JSRef<'a, HTMLLabelElement> { - fn HtmlFor(&self) -> DOMString { - "".to_owned() - } - - fn SetHtmlFor(&self, _html_for: DOMString) { - } } |