Remove methods from IDL that don't do anything useful.

This commit is contained in:
Ms2ger 2014-02-22 13:40:43 +01:00
parent ffcf3b2905
commit 2c8107e811
2 changed files with 0 additions and 12 deletions

View file

@ -223,16 +223,6 @@ impl Document {
self.createHTMLCollection(|elem| elem.tag_name == tag)
}
// http://dom.spec.whatwg.org/#dom-document-getelementsbytagnamens
pub fn GetElementsByTagNameNS(&self, _ns: Option<DOMString>, _tag: DOMString) -> JS<HTMLCollection> {
HTMLCollection::new(&self.window, ~[])
}
// http://dom.spec.whatwg.org/#dom-document-getelementsbyclassname
pub fn GetElementsByClassName(&self, _class: DOMString) -> JS<HTMLCollection> {
HTMLCollection::new(&self.window, ~[])
}
// http://dom.spec.whatwg.org/#dom-nonelementparentnode-getelementbyid
pub fn GetElementById(&self, id: DOMString) -> Option<JS<Element>> {
// TODO: "in tree order, within the context object's tree"