mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Generate bindings for HTMLBodyElement
This commit is contained in:
parent
4800ddf742
commit
6241064681
10 changed files with 95 additions and 5 deletions
54
src/components/script/dom/htmlbodyelement.rs
Normal file
54
src/components/script/dom/htmlbodyelement.rs
Normal file
|
@ -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) {
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue