1 Tests for tooShort flag with <textarea> elements.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 No minlength and no value
7 PASS textarea.validity.tooShort is false
10 PASS textarea.value.length is 2
11 PASS textarea.validity.tooShort is false
12 PASS textarea.value.length is 1
13 PASS textarea.validity.tooShort is false
15 Dirty value and longer than minLength
16 PASS textarea.value.length is 1
17 PASS textarea.validity.tooShort is true
18 PASS textarea.value.length is 0
19 PASS textarea.validity.tooShort is false
20 PASS textarea.value.length is 2
21 PASS textarea.validity.tooShort is true
22 PASS textarea.value.length is 3
23 PASS textarea.validity.tooShort is false
25 Sets a value via DOM property
26 PASS textarea.validity.tooShort is false
28 Disabling makes the control valid
29 PASS textarea.validity.tooShort is true
30 PASS textarea.disabled = true; textarea.validity.tooShort is false
31 PASS textarea.disabled = false; textarea.validity.tooShort is true
33 A value set by resetting a form doesn't make tooShort true.
34 PASS textarea.validity.tooShort is true
35 PASS textarea.value is "ab"
36 PASS textarea.validity.tooShort is false
38 A value set by a child node change doesn't make tooShort true.
39 PASS textarea.validity.tooShort is false
40 PASS textarea.value is "a"
41 PASS textarea.validity.tooShort is false
42 PASS successfullyParsed is true