aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/htmldirectoryelement.rs
diff options
context:
space:
mode:
authorMs2ger <ms2ger@gmail.com>2014-06-01 15:41:09 +0200
committerMs2ger <ms2ger@gmail.com>2014-06-01 15:41:09 +0200
commita0783aebbf95659ed571dabcbb7df7784828d696 (patch)
tree9adda8f3c3b245d04dc2f47573b4962281926d89 /src/components/script/dom/htmldirectoryelement.rs
parenteaae994d5761e137ecc847e6b38cbcaf9ff88c19 (diff)
downloadservo-a0783aebbf95659ed571dabcbb7df7784828d696.tar.gz
servo-a0783aebbf95659ed571dabcbb7df7784828d696.zip
Remove not-yet-implemented members from IDL and Rust code.
These stub implementations bring no value, and significantly increased maintenance costs. This commit also synchronizes the IDL with the HTML specification and makes the URLs consistent.
Diffstat (limited to 'src/components/script/dom/htmldirectoryelement.rs')
-rw-r--r--src/components/script/dom/htmldirectoryelement.rs13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/components/script/dom/htmldirectoryelement.rs b/src/components/script/dom/htmldirectoryelement.rs
index fd42c56d95a..f2a960473c7 100644
--- a/src/components/script/dom/htmldirectoryelement.rs
+++ b/src/components/script/dom/htmldirectoryelement.rs
@@ -5,7 +5,6 @@
use dom::bindings::codegen::BindingDeclarations::HTMLDirectoryElementBinding;
use dom::bindings::codegen::InheritTypes::HTMLDirectoryElementDerived;
use dom::bindings::js::{JSRef, Temporary};
-use dom::bindings::error::ErrorResult;
use dom::document::Document;
use dom::element::HTMLDirectoryElementTypeId;
use dom::eventtarget::{EventTarget, NodeTargetTypeId};
@@ -38,16 +37,4 @@ impl HTMLDirectoryElement {
}
pub trait HTMLDirectoryElementMethods {
- fn Compact(&self) -> bool;
- fn SetCompact(&self, _compact: bool) -> ErrorResult;
-}
-
-impl<'a> HTMLDirectoryElementMethods for JSRef<'a, HTMLDirectoryElement> {
- fn Compact(&self) -> bool {
- false
- }
-
- fn SetCompact(&self, _compact: bool) -> ErrorResult {
- Ok(())
- }
}