aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/htmlhrelement.rs
diff options
context:
space:
mode:
authorsaneyuki_s <saneyuki.s.snyk@gmail.com>2013-08-07 22:52:39 +0900
committersaneyuki_s <saneyuki.s.snyk@gmail.com>2013-08-07 22:52:39 +0900
commit2e3cd1945cc7f071ce8a3b17febd0f8b404e897c (patch)
tree7297c3100079f2d892070d0852b19f1d4206db76 /src/components/script/dom/htmlhrelement.rs
parentac4938b7ddd9b76c60cf51dd33fba23ccdb828f8 (diff)
downloadservo-2e3cd1945cc7f071ce8a3b17febd0f8b404e897c.tar.gz
servo-2e3cd1945cc7f071ce8a3b17febd0f8b404e897c.zip
Generate bindings for HTMLHRElement.
Diffstat (limited to 'src/components/script/dom/htmlhrelement.rs')
-rw-r--r--src/components/script/dom/htmlhrelement.rs47
1 files changed, 47 insertions, 0 deletions
diff --git a/src/components/script/dom/htmlhrelement.rs b/src/components/script/dom/htmlhrelement.rs
new file mode 100644
index 00000000000..d1a3bb0348e
--- /dev/null
+++ b/src/components/script/dom/htmlhrelement.rs
@@ -0,0 +1,47 @@
+/* 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 HTMLHRElement {
+ parent: HTMLElement,
+}
+
+impl HTMLHRElement {
+ pub fn Align(&self) -> DOMString {
+ null_string
+ }
+
+ pub fn SetAlign(&mut self, _align: &DOMString, _rv: &mut ErrorResult) {
+ }
+
+ pub fn Color(&self) -> DOMString {
+ null_string
+ }
+
+ pub fn SetColor(&mut self, _color: &DOMString, _rv: &mut ErrorResult) {
+ }
+
+ pub fn NoShade(&self) -> bool {
+ false
+ }
+
+ pub fn SetNoShade(&self, _no_shade: bool, _rv: &mut ErrorResult) {
+ }
+
+ pub fn Size(&self) -> DOMString {
+ null_string
+ }
+
+ pub fn SetSize(&mut self, _size: &DOMString, _rv: &mut ErrorResult) {
+ }
+
+ pub fn Width(&self) -> DOMString {
+ null_string
+ }
+
+ pub fn SetWidth(&mut self, _width: &DOMString, _rv: &mut ErrorResult) {
+ }
+}