diff options
author | Youngmin, Yoo <youngmin.yoo@samsung.com> | 2013-08-08 23:24:07 +0900 |
---|---|---|
committer | Youngmin Yoo <youngmin.yoo@samsung.com> | 2013-08-09 15:42:15 +0900 |
commit | bc49686c3b75a756e890d2a8f2040b7f294e8d21 (patch) | |
tree | 69fb25aa5ddf165404a19821e577d983a722fea0 /src/components/script/dom/htmlbrelement.rs | |
parent | 1da9f340825fa75e0c76c26a62662a9def641a32 (diff) | |
download | servo-bc49686c3b75a756e890d2a8f2040b7f294e8d21.tar.gz servo-bc49686c3b75a756e890d2a8f2040b7f294e8d21.zip |
Generate bindings for HTMLBRElement
Diffstat (limited to 'src/components/script/dom/htmlbrelement.rs')
-rw-r--r-- | src/components/script/dom/htmlbrelement.rs | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/components/script/dom/htmlbrelement.rs b/src/components/script/dom/htmlbrelement.rs new file mode 100644 index 00000000000..e89bedff047 --- /dev/null +++ b/src/components/script/dom/htmlbrelement.rs @@ -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 HTMLBRElement { + parent: HTMLElement, +} + +impl HTMLBRElement { + pub fn Clear(&self) -> DOMString { + null_string + } + + pub fn SetClear(&mut self, _text: &DOMString, _rv: &mut ErrorResult) { + } +} |