aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/htmlheadingelement.rs
blob: c7d107ee20a0b152e8f936b5815652313779cf58 (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
/* 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;
use dom::htmlelement::HTMLElement;

pub enum HeadingLevel {
    Heading1,
    Heading2,
    Heading3,
    Heading4,
    Heading5,
    Heading6,
}

pub struct HTMLHeadingElement {
    parent: HTMLElement,
    level: HeadingLevel,
}

impl HTMLHeadingElement {
    pub fn Align(&self) -> DOMString {
        None
    }

    pub fn SetAlign(&mut self, _align: &DOMString) {
    }
}