Generate bindings for HTMLHRElement.

This commit is contained in:
saneyuki_s 2013-08-07 22:52:39 +09:00
parent ac4938b7dd
commit 2e3cd1945c
9 changed files with 91 additions and 3 deletions

View file

@ -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) {
}
}