implement HTMLOptionsCollection and add related items to HTMLSelectElement

This commit is contained in:
Alexandrov Sergey 2016-09-22 21:10:38 +03:00
parent 6bda471007
commit cf284cc035
6 changed files with 277 additions and 38 deletions

View file

@ -229,6 +229,9 @@ impl HTMLCollection {
}
}
pub fn root_node(&self) -> Root<Node> {
Root::from_ref(&self.root)
}
}
// TODO: Make this generic, and avoid code duplication