Implement HTMLFormElement::Elements

Fixes #8566
This commit is contained in:
Corey Farwell 2016-01-09 13:10:26 -05:00
parent 6d49681c79
commit bff8947e43
14 changed files with 142 additions and 68 deletions

View file

@ -66,7 +66,7 @@ pub struct HTMLCollection {
impl HTMLCollection {
#[allow(unrooted_must_root)]
fn new_inherited(root: &Node, filter: Box<CollectionFilter + 'static>) -> HTMLCollection {
pub fn new_inherited(root: &Node, filter: Box<CollectionFilter + 'static>) -> HTMLCollection {
HTMLCollection {
reflector_: Reflector::new(),
root: JS::from_ref(root),