diff options
author | bors-servo <release+servo@mozilla.com> | 2013-08-08 05:57:47 -0700 |
---|---|---|
committer | bors-servo <release+servo@mozilla.com> | 2013-08-08 05:57:47 -0700 |
commit | c8be8edbb2983dd9354943b6540746ef9b685d5c (patch) | |
tree | cf5f76d1c560851a229d4a2956e3afec580f94dd /src/components/script/dom/htmlbodyelement.rs | |
parent | 4800ddf742ce347bc50d431fa96d3b54cf3270d8 (diff) | |
parent | 6241064681d872423bfdc5fb024581a0df2c43d4 (diff) | |
download | servo-c8be8edbb2983dd9354943b6540746ef9b685d5c.tar.gz servo-c8be8edbb2983dd9354943b6540746ef9b685d5c.zip |
auto merge of #691 : june0cho/servo/genBinding_Body, r=jdm
I commented out the last line of HTMLBodyElement.webidl, 'HTMLBodyElement implements WindowEventHandlers;' in order to avoid compile error.
Diffstat (limited to 'src/components/script/dom/htmlbodyelement.rs')
-rw-r--r-- | src/components/script/dom/htmlbodyelement.rs | 54 |
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) { + } +} |