mirror of
https://github.com/servo/servo.git
synced 2025-06-13 10:54:29 +00:00
Generate bindings for HTMLHRElement.
This commit is contained in:
parent
ac4938b7dd
commit
2e3cd1945c
9 changed files with 91 additions and 3 deletions
47
src/components/script/dom/htmlhrelement.rs
Normal file
47
src/components/script/dom/htmlhrelement.rs
Normal 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) {
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue