aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/htmlbodyelement.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/script/dom/htmlbodyelement.rs')
-rw-r--r--src/components/script/dom/htmlbodyelement.rs54
1 files changed, 54 insertions, 0 deletions
diff --git a/src/components/script/dom/htmlbodyelement.rs b/src/components/script/dom/htmlbodyelement.rs
new file mode 100644
index 00000000000..f6781d3bbc9
--- /dev/null
+++ b/src/components/script/dom/htmlbodyelement.rs
@@ -0,0 +1,54 @@
+/* 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 HTMLBodyElement {
+ parent: HTMLElement
+}
+
+impl HTMLBodyElement {
+ pub fn Text(&self) -> DOMString {
+ null_string
+ }
+
+ pub fn SetText(&mut self, _text: &DOMString, _rv: &mut ErrorResult) {
+ }
+
+ pub fn Link(&self) -> DOMString {
+ null_string
+ }
+
+ pub fn SetLink(&self, _link: &DOMString, _rv: &mut ErrorResult) {
+ }
+
+ pub fn VLink(&self) -> DOMString {
+ null_string
+ }
+
+ pub fn SetVLink(&self, _v_link: &DOMString, _rv: &mut ErrorResult) {
+ }
+
+ pub fn ALink(&self) -> DOMString {
+ null_string
+ }
+
+ pub fn SetALink(&self, _a_link: &DOMString, _rv: &mut ErrorResult) {
+ }
+
+ pub fn BgColor(&self) -> DOMString {
+ null_string
+ }
+
+ pub fn SetBgColor(&self, _bg_color: &DOMString, _rv: &mut ErrorResult) {
+ }
+
+ pub fn Background(&self) -> DOMString {
+ null_string
+ }
+
+ pub fn SetBackground(&self, _background: &DOMString, _rv: &mut ErrorResult) {
+ }
+}