OLD | NEW |
1 Tests for HTMLTextAreaElement.minLength behaviors. | 1 Tests for HTMLTextAreaElement.minLength behaviors. |
2 | 2 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 4 |
5 | 5 |
6 PASS textArea.minLength is -1 | 6 PASS textArea.minLength is -1 |
7 PASS textArea.minLength is -1 | 7 PASS textArea.minLength is -1 |
8 PASS textArea.minLength is -1 | 8 PASS textArea.minLength is -1 |
9 PASS textArea.minLength is 1 | 9 PASS textArea.minLength is 1 |
10 PASS textArea.minLength is -1 | 10 PASS textArea.minLength is -1 |
11 PASS textArea.minLength is -1 | 11 PASS textArea.minLength is -1 |
12 PASS textArea.minLength is 1 | 12 PASS textArea.minLength is 1 |
13 PASS textArea.minLength is 256 | 13 PASS textArea.minLength is 256 |
14 PASS textArea.getAttribute("minlength") is "6" | 14 PASS textArea.getAttribute("minlength") is "6" |
15 PASS textArea.minLength = -1 threw exception IndexSizeError: Failed to set the '
minLength' property on 'HTMLTextAreaElement': The value provided (-1) is not pos
itive or 0.. | 15 PASS textArea.minLength = -1 threw exception IndexSizeError: Failed to set the '
minLength' property on 'HTMLTextAreaElement': The value provided (-1) is not pos
itive or 0.. |
16 PASS textArea.getAttribute("minlength") is "6" | 16 PASS textArea.getAttribute("minlength") is "6" |
17 PASS textArea.minLength = 11 threw exception IndexSizeError: Failed to set the '
minLength' property on 'HTMLTextAreaElement': The minLength provided (11) is gre
ater than the maximum bound (10).. | 17 PASS textArea.minLength = 11 threw exception IndexSizeError: Failed to set the '
minLength' property on 'HTMLTextAreaElement': The minLength provided (11) is gre
ater than the maximum bound (10).. |
18 PASS textArea.getAttribute("minlength") is "6" | 18 PASS textArea.getAttribute("minlength") is "6" |
19 PASS textArea.minLength = 10; textArea.getAttribute("minlength") is "10" | 19 PASS textArea.minLength = 10; textArea.getAttribute("minlength") is "10" |
20 PASS textArea.minLength is 0 | 20 PASS textArea.minLength is 0 |
21 PASS textArea.getAttribute("minlength") is "0" | 21 PASS textArea.getAttribute("minlength") is "0" |
22 PASS successfullyParsed is true | 22 PASS successfullyParsed is true |
23 | 23 |
24 TEST COMPLETE | 24 TEST COMPLETE |
25 | 25 |
OLD | NEW |