mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Implement "reset algorithm" for <select>
.
This commit is contained in:
parent
6c28d4446a
commit
a45e1d9d95
2 changed files with 11 additions and 2 deletions
|
@ -634,8 +634,7 @@ impl HTMLFormElement {
|
|||
// {}
|
||||
//}
|
||||
NodeTypeId::Element(ElementTypeId::HTMLElement(HTMLElementTypeId::HTMLSelectElement)) => {
|
||||
// Unimplemented
|
||||
{}
|
||||
child.downcast::<HTMLSelectElement>().unwrap().reset();
|
||||
}
|
||||
NodeTypeId::Element(ElementTypeId::HTMLElement(HTMLElementTypeId::HTMLTextAreaElement)) => {
|
||||
child.downcast::<HTMLTextAreaElement>().unwrap().reset();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue