diff options
author | paavininanda <paavininanda@gmail.com> | 2018-02-06 22:33:12 +0530 |
---|---|---|
committer | paavininanda <paavininanda@gmail.com> | 2018-02-23 01:55:21 +0530 |
commit | b517410a34a3fc561a59d9a49da1f47a509f15e3 (patch) | |
tree | 970b0922ebad5c7ec47a390a387a75846c3d8c88 /components/script/dom/htmlformelement.rs | |
parent | 267f9db314acc6641c896a595a24fbb18da74459 (diff) | |
download | servo-b517410a34a3fc561a59d9a49da1f47a509f15e3.tar.gz servo-b517410a34a3fc561a59d9a49da1f47a509f15e3.zip |
Revert "Correct default Selectionstart and SelectionEnd"
This reverts commit b2c1f89b932a72f9e0110c17adde33647e84c902.
Diffstat (limited to 'components/script/dom/htmlformelement.rs')
-rwxr-xr-x | components/script/dom/htmlformelement.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/htmlformelement.rs b/components/script/dom/htmlformelement.rs index 36ebb18db87..27a64d00cda 100755 --- a/components/script/dom/htmlformelement.rs +++ b/components/script/dom/htmlformelement.rs @@ -651,7 +651,7 @@ impl HTMLFormElement { child.downcast::<HTMLSelectElement>().unwrap().reset(); } NodeTypeId::Element(ElementTypeId::HTMLElement(HTMLElementTypeId::HTMLTextAreaElement)) => { - child.downcast::<HTMLTextAreaElement>().unwrap().reset(true); + child.downcast::<HTMLTextAreaElement>().unwrap().reset(); } NodeTypeId::Element(ElementTypeId::HTMLElement(HTMLElementTypeId::HTMLOutputElement)) => { // Unimplemented |