mirror of
https://github.com/servo/servo.git
synced 2025-08-04 13:10:20 +01:00
Generate bindings for HTMLLegendElement.
This commit is contained in:
parent
e55b3d6b86
commit
f7bc8beb18
8 changed files with 55 additions and 0 deletions
19
src/components/script/dom/htmllegendelement.rs
Normal file
19
src/components/script/dom/htmllegendelement.rs
Normal file
|
@ -0,0 +1,19 @@
|
|||
/* 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 HTMLLegendElement {
|
||||
parent: HTMLElement,
|
||||
}
|
||||
|
||||
impl HTMLLegendElement {
|
||||
pub fn Align(&self) -> DOMString {
|
||||
null_string
|
||||
}
|
||||
|
||||
pub fn SetAlign(&mut self, _align: &DOMString, _rv: &mut ErrorResult) {
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue