mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
implement HTMLOptionsCollection and add related items to HTMLSelectElement
This commit is contained in:
parent
6bda471007
commit
cf284cc035
6 changed files with 277 additions and 38 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue