diff options
author | Taryn Hill <Phrohdoh@gmail.com> | 2016-09-18 22:22:47 -0500 |
---|---|---|
committer | Taryn Hill <Phrohdoh@gmail.com> | 2016-09-21 07:54:39 -0500 |
commit | 2cb5adf6c6bee44e6aac6b6e875a1cda7eb50c87 (patch) | |
tree | 7ef07e6d413aefced4f80029a9fc69adae5adc06 /components/script/dom/htmltextareaelement.rs | |
parent | 7c0dfd07ad5149406b389ca893d51f6fa442e98e (diff) | |
download | servo-2cb5adf6c6bee44e6aac6b6e875a1cda7eb50c87.tar.gz servo-2cb5adf6c6bee44e6aac6b6e875a1cda7eb50c87.zip |
Implement minlength for text inputs
Diffstat (limited to 'components/script/dom/htmltextareaelement.rs')
-rw-r--r-- | components/script/dom/htmltextareaelement.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/htmltextareaelement.rs b/components/script/dom/htmltextareaelement.rs index b43f4f75d5c..3a4418d713d 100644 --- a/components/script/dom/htmltextareaelement.rs +++ b/components/script/dom/htmltextareaelement.rs @@ -105,7 +105,7 @@ impl HTMLTextAreaElement { HTMLElement::new_inherited_with_state(IN_ENABLED_STATE | IN_READ_WRITE_STATE, local_name, prefix, document), textinput: DOMRefCell::new(TextInput::new( - Lines::Multiple, DOMString::new(), chan, None, SelectionDirection::None)), + Lines::Multiple, DOMString::new(), chan, None, None, SelectionDirection::None)), value_changed: Cell::new(false), } } |