mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Added refs to live HTMLCollections issue
This commit is contained in:
parent
7f5e27fd9d
commit
9b56e2cc09
1 changed files with 3 additions and 0 deletions
|
@ -476,16 +476,19 @@ impl Element {
|
||||||
|
|
||||||
// http://dom.spec.whatwg.org/#dom-element-getelementsbytagname
|
// http://dom.spec.whatwg.org/#dom-element-getelementsbytagname
|
||||||
pub fn GetElementsByTagName(&self, _localname: DOMString) -> @mut HTMLCollection {
|
pub fn GetElementsByTagName(&self, _localname: DOMString) -> @mut HTMLCollection {
|
||||||
|
// FIXME: https://github.com/mozilla/servo/issues/1662
|
||||||
HTMLCollection::new(self.node.owner_doc().document().window, ~[])
|
HTMLCollection::new(self.node.owner_doc().document().window, ~[])
|
||||||
}
|
}
|
||||||
|
|
||||||
// http://dom.spec.whatwg.org/#dom-element-getelementsbytagnamens
|
// http://dom.spec.whatwg.org/#dom-element-getelementsbytagnamens
|
||||||
pub fn GetElementsByTagNameNS(&self, _namespace: Option<DOMString>, _localname: DOMString) -> Fallible<@mut HTMLCollection> {
|
pub fn GetElementsByTagNameNS(&self, _namespace: Option<DOMString>, _localname: DOMString) -> Fallible<@mut HTMLCollection> {
|
||||||
|
// FIXME: https://github.com/mozilla/servo/issues/1662
|
||||||
Ok(HTMLCollection::new(self.node.owner_doc().document().window, ~[]))
|
Ok(HTMLCollection::new(self.node.owner_doc().document().window, ~[]))
|
||||||
}
|
}
|
||||||
|
|
||||||
// http://dom.spec.whatwg.org/#dom-element-getelementsbyclassname
|
// http://dom.spec.whatwg.org/#dom-element-getelementsbyclassname
|
||||||
pub fn GetElementsByClassName(&self, _names: DOMString) -> @mut HTMLCollection {
|
pub fn GetElementsByClassName(&self, _names: DOMString) -> @mut HTMLCollection {
|
||||||
|
// FIXME: https://github.com/mozilla/servo/issues/1662
|
||||||
HTMLCollection::new(self.node.owner_doc().document().window, ~[])
|
HTMLCollection::new(self.node.owner_doc().document().window, ~[])
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue