mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Cleanup HTMLCollection binding.
This commit is contained in:
parent
d2b57ba7c1
commit
8cb4976136
7 changed files with 32 additions and 39 deletions
|
@ -20,7 +20,7 @@ impl HTMLMapElement {
|
|||
}
|
||||
|
||||
pub fn Areas(&self) -> @mut HTMLCollection {
|
||||
let (scope, cx) = self.htmlelement.element.node.get_scope_and_cx();
|
||||
HTMLCollection::new(~[], cx, scope)
|
||||
let window = self.htmlelement.element.node.owner_doc().document().window;
|
||||
HTMLCollection::new(window, ~[])
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue