diff options
author | Youngsoo Son <ysoo.son@samsung.com> | 2013-08-12 13:42:44 +0900 |
---|---|---|
committer | Josh Matthews <josh@joshmatthews.net> | 2013-08-22 16:20:28 -0400 |
commit | 57f3ce8f811d8f7f1a74cac4cc5573f76c19169c (patch) | |
tree | 8c4abc848de6004311a42069a55044a025d36f3b /src/components/script/dom/htmltimeelement.rs | |
parent | c0935cba7255e01ed58e11bbb61f87c2c04c9602 (diff) | |
download | servo-57f3ce8f811d8f7f1a74cac4cc5573f76c19169c.tar.gz servo-57f3ce8f811d8f7f1a74cac4cc5573f76c19169c.zip |
Generate bindings for HTMLTimeElement
Diffstat (limited to 'src/components/script/dom/htmltimeelement.rs')
-rw-r--r-- | src/components/script/dom/htmltimeelement.rs | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/components/script/dom/htmltimeelement.rs b/src/components/script/dom/htmltimeelement.rs new file mode 100644 index 00000000000..2b3b5be795d --- /dev/null +++ b/src/components/script/dom/htmltimeelement.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, ErrorResult}; +use dom::htmlelement::HTMLElement; + +pub struct HTMLTimeElement { + parent: HTMLElement +} + +impl HTMLTimeElement { + pub fn DateTime(&self) -> DOMString { + null_string + } + + pub fn SetDateTime(&mut self, _dateTime: &DOMString, _rv: &mut ErrorResult) { + } +} |