mirror of
https://github.com/servo/servo
synced 2026-05-01 11:57:31 +02:00
Implement "reset algorithm" for <select>.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user