aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/htmlhrelement.rs
blob: d1a3bb0348e2c1a8cc3b717ec57571f88b963bcf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
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) {
    }
}