mirror of
https://github.com/servo/servo.git
synced 2025-06-24 09:04:33 +01:00
Generate bindings for HTMLParamElement.
This commit is contained in:
parent
8693459b28
commit
e26a541eb2
8 changed files with 76 additions and 0 deletions
40
src/components/script/dom/htmlparamelement.rs
Normal file
40
src/components/script/dom/htmlparamelement.rs
Normal file
|
@ -0,0 +1,40 @@
|
|||
/* 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, ErrorResult, null_string};
|
||||
use dom::htmlelement::HTMLElement;
|
||||
|
||||
pub struct HTMLParamElement {
|
||||
parent: HTMLElement
|
||||
}
|
||||
|
||||
impl HTMLParamElement {
|
||||
pub fn Name(&self) -> DOMString {
|
||||
null_string
|
||||
}
|
||||
|
||||
pub fn SetName(&mut self, _name: &DOMString, _rv: &mut ErrorResult) {
|
||||
}
|
||||
|
||||
pub fn Value(&self) -> DOMString {
|
||||
null_string
|
||||
}
|
||||
|
||||
pub fn SetValue(&mut self, _value: &DOMString, _rv: &mut ErrorResult) {
|
||||
}
|
||||
|
||||
pub fn Type(&self) -> DOMString {
|
||||
null_string
|
||||
}
|
||||
|
||||
pub fn SetType(&mut self, _type: &DOMString, _rv: &mut ErrorResult) {
|
||||
}
|
||||
|
||||
pub fn ValueType(&self) -> DOMString {
|
||||
null_string
|
||||
}
|
||||
|
||||
pub fn SetValueType(&mut self, _value_type: &DOMString, _rv: &mut ErrorResult) {
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue