mirror of
https://github.com/servo/servo.git
synced 2025-06-24 09:04:33 +01:00
Remove methods from IDL that don't do anything useful.
This commit is contained in:
parent
ffcf3b2905
commit
2c8107e811
2 changed files with 0 additions and 12 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue