aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/htmltableelement.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/script/dom/htmltableelement.rs')
-rw-r--r--src/components/script/dom/htmltableelement.rs123
1 files changed, 0 insertions, 123 deletions
diff --git a/src/components/script/dom/htmltableelement.rs b/src/components/script/dom/htmltableelement.rs
index 20fd1d1e964..14b7d708818 100644
--- a/src/components/script/dom/htmltableelement.rs
+++ b/src/components/script/dom/htmltableelement.rs
@@ -5,7 +5,6 @@
use dom::bindings::codegen::BindingDeclarations::HTMLTableElementBinding;
use dom::bindings::codegen::InheritTypes::HTMLTableElementDerived;
use dom::bindings::js::{JSRef, Temporary};
-use dom::bindings::error::ErrorResult;
use dom::document::Document;
use dom::element::HTMLTableElementTypeId;
use dom::eventtarget::{EventTarget, NodeTargetTypeId};
@@ -38,126 +37,4 @@ impl HTMLTableElement {
}
pub trait HTMLTableElementMethods {
- fn DeleteCaption(&self);
- fn DeleteTHead(&self);
- fn DeleteTFoot(&self);
- fn DeleteRow(&self, _index: i32) -> ErrorResult;
- fn Sortable(&self) -> bool;
- fn SetSortable(&self, _sortable: bool);
- fn StopSorting(&self);
- fn Align(&self) -> DOMString;
- fn SetAlign(&self, _align: DOMString) -> ErrorResult;
- fn Border(&self) -> DOMString;
- fn SetBorder(&self, _border: DOMString) -> ErrorResult;
- fn Frame(&self) -> DOMString;
- fn SetFrame(&self, _frame: DOMString) -> ErrorResult;
- fn Rules(&self) -> DOMString;
- fn SetRules(&self, _rules: DOMString) -> ErrorResult;
- fn Summary(&self) -> DOMString;
- fn SetSummary(&self, _summary: DOMString) -> ErrorResult;
- fn Width(&self) -> DOMString;
- fn SetWidth(&self, _width: DOMString) -> ErrorResult;
- fn BgColor(&self) -> DOMString;
- fn SetBgColor(&self, _bg_color: DOMString) -> ErrorResult;
- fn CellPadding(&self) -> DOMString;
- fn SetCellPadding(&self, _cell_padding: DOMString) -> ErrorResult;
- fn CellSpacing(&self) -> DOMString;
- fn SetCellSpacing(&self, _cell_spacing: DOMString) -> ErrorResult;
-}
-
-impl<'a> HTMLTableElementMethods for JSRef<'a, HTMLTableElement> {
- fn DeleteCaption(&self) {
- }
-
- fn DeleteTHead(&self) {
- }
-
- fn DeleteTFoot(&self) {
- }
-
- fn DeleteRow(&self, _index: i32) -> ErrorResult {
- Ok(())
- }
-
- fn Sortable(&self) -> bool {
- false
- }
-
- fn SetSortable(&self, _sortable: bool) {
- }
-
- fn StopSorting(&self) {
- }
-
- fn Align(&self) -> DOMString {
- "".to_owned()
- }
-
- fn SetAlign(&self, _align: DOMString) -> ErrorResult {
- Ok(())
- }
-
- fn Border(&self) -> DOMString {
- "".to_owned()
- }
-
- fn SetBorder(&self, _border: DOMString) -> ErrorResult {
- Ok(())
- }
-
- fn Frame(&self) -> DOMString {
- "".to_owned()
- }
-
- fn SetFrame(&self, _frame: DOMString) -> ErrorResult {
- Ok(())
- }
-
- fn Rules(&self) -> DOMString {
- "".to_owned()
- }
-
- fn SetRules(&self, _rules: DOMString) -> ErrorResult {
- Ok(())
- }
-
- fn Summary(&self) -> DOMString {
- "".to_owned()
- }
-
- fn SetSummary(&self, _summary: DOMString) -> ErrorResult {
- Ok(())
- }
-
- fn Width(&self) -> DOMString {
- "".to_owned()
- }
-
- fn SetWidth(&self, _width: DOMString) -> ErrorResult {
- Ok(())
- }
-
- fn BgColor(&self) -> DOMString {
- "".to_owned()
- }
-
- fn SetBgColor(&self, _bg_color: DOMString) -> ErrorResult {
- Ok(())
- }
-
- fn CellPadding(&self) -> DOMString {
- "".to_owned()
- }
-
- fn SetCellPadding(&self, _cell_padding: DOMString) -> ErrorResult {
- Ok(())
- }
-
- fn CellSpacing(&self) -> DOMString {
- "".to_owned()
- }
-
- fn SetCellSpacing(&self, _cell_spacing: DOMString) -> ErrorResult {
- Ok(())
- }
}