mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
parent
38ba71ceb1
commit
4b809bf9e6
4 changed files with 4 additions and 0 deletions
|
@ -42,6 +42,7 @@ impl HTMLDataListElement {
|
|||
|
||||
impl HTMLDataListElement {
|
||||
pub fn Options(&self) -> JS<HTMLCollection> {
|
||||
// FIXME: https://github.com/mozilla/servo/issues/1842
|
||||
let doc = self.htmlelement.element.node.owner_doc();
|
||||
let doc = doc.get();
|
||||
HTMLCollection::new(&doc.window, ~[])
|
||||
|
|
|
@ -69,6 +69,7 @@ impl HTMLFieldSetElement {
|
|||
}
|
||||
|
||||
pub fn Elements(&self) -> JS<HTMLCollection> {
|
||||
// FIXME: https://github.com/mozilla/servo/issues/1843
|
||||
let doc = self.htmlelement.element.node.owner_doc();
|
||||
let doc = doc.get();
|
||||
HTMLCollection::new(&doc.window, ~[])
|
||||
|
|
|
@ -115,6 +115,7 @@ impl HTMLFormElement {
|
|||
}
|
||||
|
||||
pub fn Elements(&self) -> JS<HTMLCollection> {
|
||||
// FIXME: https://github.com/mozilla/servo/issues/1844
|
||||
let doc = self.htmlelement.element.node.owner_doc();
|
||||
let doc = doc.get();
|
||||
HTMLCollection::new(&doc.window, ~[])
|
||||
|
|
|
@ -51,6 +51,7 @@ impl HTMLMapElement {
|
|||
}
|
||||
|
||||
pub fn Areas(&self) -> JS<HTMLCollection> {
|
||||
// FIXME: https://github.com/mozilla/servo/issues/1845
|
||||
let doc = self.htmlelement.element.node.owner_doc();
|
||||
let doc = doc.get();
|
||||
HTMLCollection::new(&doc.window, ~[])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue