aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/htmlhrelement.rs
diff options
context:
space:
mode:
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) {
+ }
+}