From 57f3ce8f811d8f7f1a74cac4cc5573f76c19169c Mon Sep 17 00:00:00 2001 From: Youngsoo Son Date: Mon, 12 Aug 2013 13:42:44 +0900 Subject: Generate bindings for HTMLTimeElement --- src/components/script/dom/htmltimeelement.rs | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/components/script/dom/htmltimeelement.rs (limited to 'src/components/script/dom/htmltimeelement.rs') 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) { + } +} -- cgit v1.2.3