diff options
author | Corey Farwell <coreyf@rwell.org> | 2016-10-13 23:34:55 -0400 |
---|---|---|
committer | Corey Farwell <coreyf@rwell.org> | 2016-10-19 23:35:19 -0400 |
commit | a45e1d9d95831077d3dcaf2cec696c43720a7bd5 (patch) | |
tree | a594c2a1112fe84d17f0213c4c7aeec9289e42c4 /components/script/dom/htmlformelement.rs | |
parent | 6c28d4446a07fe5f2a6ae90e41ce21b02a04a6a0 (diff) | |
download | servo-a45e1d9d95831077d3dcaf2cec696c43720a7bd5.tar.gz servo-a45e1d9d95831077d3dcaf2cec696c43720a7bd5.zip |
Implement "reset algorithm" for `<select>`.
Diffstat (limited to 'components/script/dom/htmlformelement.rs')
-rw-r--r-- | components/script/dom/htmlformelement.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/components/script/dom/htmlformelement.rs b/components/script/dom/htmlformelement.rs index 090aa8553bf..26a30d07599 100644 --- a/components/script/dom/htmlformelement.rs +++ b/components/script/dom/htmlformelement.rs @@ -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(); |