aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/htmltableelement.rs
diff options
context:
space:
mode:
authorsaneyuki_s <saneyuki.s.snyk@gmail.com>2013-08-08 21:18:20 +0900
committerJosh Matthews <josh@joshmatthews.net>2013-08-08 11:21:37 -0400
commit655bdcc5119412a3cfc696a43a9352ff36ec6847 (patch)
tree0ad1253ff4787aff3dcc7e29b9ce9fd9cd0a95e9 /src/components/script/dom/htmltableelement.rs
parentc5125ca5e240bbc42b73d0bc9a46991d9769f71a (diff)
downloadservo-655bdcc5119412a3cfc696a43a9352ff36ec6847.tar.gz
servo-655bdcc5119412a3cfc696a43a9352ff36ec6847.zip
Generate bindings for HTMLTableElement.
Diffstat (limited to 'src/components/script/dom/htmltableelement.rs')
-rw-r--r--src/components/script/dom/htmltableelement.rs98
1 files changed, 98 insertions, 0 deletions
diff --git a/src/components/script/dom/htmltableelement.rs b/src/components/script/dom/htmltableelement.rs
new file mode 100644
index 00000000000..85c038caf06
--- /dev/null
+++ b/src/components/script/dom/htmltableelement.rs
@@ -0,0 +1,98 @@
+/* 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 HTMLTableElement {
+ parent: HTMLElement,
+}
+
+impl HTMLTableElement {
+
+ pub fn DeleteCaption(&self) {
+ }
+
+ pub fn DeleteTHead(&self) {
+ }
+
+ pub fn DeleteTFoot(&self) {
+ }
+
+ pub fn DeleteRow(&mut self, _index: i32, _rv: &mut ErrorResult) {
+ }
+
+ pub fn Sortable(&self) -> bool {
+ false
+ }
+
+ pub fn SetSortable(&self, _sortable: bool) {
+ }
+
+ pub fn StopSorting(&self) {
+ }
+
+ pub fn Align(&self) -> DOMString {
+ null_string
+ }
+
+ pub fn SetAlign(&self, _align: &DOMString, _rv: &mut ErrorResult) {
+ }
+
+ pub fn Border(&self) -> DOMString {
+ null_string
+ }
+
+ pub fn SetBorder(&self, _border: &DOMString, _rv: &mut ErrorResult) {
+ }
+
+ pub fn Frame(&self) -> DOMString {
+ null_string
+ }
+
+ pub fn SetFrame(&self, _frame: &DOMString, _rv: &mut ErrorResult) {
+ }
+
+ pub fn Rules(&self) -> DOMString {
+ null_string
+ }
+
+ pub fn SetRules(&self, _rules: &DOMString, _rv: &mut ErrorResult) {
+ }
+
+ pub fn Summary(&self) -> DOMString {
+ null_string
+ }
+
+ pub fn SetSummary(&self, _summary: &DOMString, _rv: &mut ErrorResult) {
+ }
+
+ pub fn Width(&self) -> DOMString {
+ null_string
+ }
+
+ pub fn SetWidth(&self, _width: &DOMString, _rv: &mut ErrorResult) {
+ }
+
+ pub fn BgColor(&self) -> DOMString {
+ null_string
+ }
+
+ pub fn SetBgColor(&self, _bg_color: &DOMString, _rv: &mut ErrorResult) {
+ }
+
+ pub fn CellPadding(&self) -> DOMString {
+ null_string
+ }
+
+ pub fn SetCellPadding(&self, _cell_padding: &DOMString, _rv: &mut ErrorResult) {
+ }
+
+ pub fn CellSpacing(&self) -> DOMString {
+ null_string
+ }
+
+ pub fn SetCellSpacing(&self, _cell_spacing: &DOMString, _rv: &mut ErrorResult) {
+ }
+}