mirror of
https://github.com/servo/servo.git
synced 2025-06-21 15:49:04 +01:00
60 lines
1.2 KiB
Rust
60 lines
1.2 KiB
Rust
/* 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, ErrorResult};
|
|
use dom::htmlelement::HTMLElement;
|
|
|
|
pub struct HTMLBodyElement {
|
|
htmlelement: HTMLElement
|
|
}
|
|
|
|
impl HTMLBodyElement {
|
|
pub fn Text(&self) -> DOMString {
|
|
None
|
|
}
|
|
|
|
pub fn SetText(&mut self, _text: &DOMString) -> ErrorResult {
|
|
Ok(())
|
|
}
|
|
|
|
pub fn Link(&self) -> DOMString {
|
|
None
|
|
}
|
|
|
|
pub fn SetLink(&self, _link: &DOMString) -> ErrorResult {
|
|
Ok(())
|
|
}
|
|
|
|
pub fn VLink(&self) -> DOMString {
|
|
None
|
|
}
|
|
|
|
pub fn SetVLink(&self, _v_link: &DOMString) -> ErrorResult {
|
|
Ok(())
|
|
}
|
|
|
|
pub fn ALink(&self) -> DOMString {
|
|
None
|
|
}
|
|
|
|
pub fn SetALink(&self, _a_link: &DOMString) -> ErrorResult {
|
|
Ok(())
|
|
}
|
|
|
|
pub fn BgColor(&self) -> DOMString {
|
|
None
|
|
}
|
|
|
|
pub fn SetBgColor(&self, _bg_color: &DOMString) -> ErrorResult {
|
|
Ok(())
|
|
}
|
|
|
|
pub fn Background(&self) -> DOMString {
|
|
None
|
|
}
|
|
|
|
pub fn SetBackground(&self, _background: &DOMString) -> ErrorResult {
|
|
Ok(())
|
|
}
|
|
}
|