diff options
author | Tetsuharu OHZEKI <saneyuki.s.snyk@gmail.com> | 2013-08-31 03:42:02 +0900 |
---|---|---|
committer | Tetsuharu OHZEKI <saneyuki.s.snyk@gmail.com> | 2013-08-31 20:00:26 +0900 |
commit | 9919bae897c34d15492311b157170fe71dfdff1d (patch) | |
tree | 53d21d53ae451b8d88c6614010d40b115c26479b /src/components/script/dom/htmllabelelement.rs | |
parent | f7bc8beb18b1b2e89d6bd3c221a86d5750b7f065 (diff) | |
download | servo-9919bae897c34d15492311b157170fe71dfdff1d.tar.gz servo-9919bae897c34d15492311b157170fe71dfdff1d.zip |
Generate bindings for HTMLLabelElement.
Diffstat (limited to 'src/components/script/dom/htmllabelelement.rs')
-rw-r--r-- | src/components/script/dom/htmllabelelement.rs | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/components/script/dom/htmllabelelement.rs b/src/components/script/dom/htmllabelelement.rs new file mode 100644 index 00000000000..1df3924cff2 --- /dev/null +++ b/src/components/script/dom/htmllabelelement.rs @@ -0,0 +1,19 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +use dom::bindings::utils::{DOMString, null_string}; +use dom::htmlelement::HTMLElement; + +pub struct HTMLLabelElement { + parent: HTMLElement, +} + +impl HTMLLabelElement { + pub fn HtmlFor(&self) -> DOMString { + null_string + } + + pub fn SetHtmlFor(&mut self, _html_for: &DOMString) { + } +} |