mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Cleanup HTMLCollection binding.
This commit is contained in:
parent
d2b57ba7c1
commit
8cb4976136
7 changed files with 32 additions and 39 deletions
|
@ -38,8 +38,8 @@ impl HTMLFieldSetElement {
|
|||
}
|
||||
|
||||
pub fn Elements(&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, ~[])
|
||||
}
|
||||
|
||||
pub fn WillValidate(&self) -> bool {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue