OLD | NEW |
(Empty) | |
| 1 Tests for HTMLTextAreaElement.minLength behaviors. |
| 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 |
| 5 |
| 6 PASS textArea.minLength is -1 |
| 7 PASS textArea.minLength is -1 |
| 8 PASS textArea.minLength is -1 |
| 9 PASS textArea.minLength is 1 |
| 10 PASS textArea.minLength is 256 |
| 11 PASS textArea.getAttribute("minlength") is "6" |
| 12 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.. |
| 13 PASS textArea.getAttribute("minlength") is "6" |
| 14 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).. |
| 15 PASS textArea.getAttribute("minlength") is "6" |
| 16 PASS textArea.minLength = 10; textArea.getAttribute("minlength") is "10" |
| 17 PASS textArea.minLength is 0 |
| 18 PASS textArea.getAttribute("minlength") is "0" |
| 19 PASS successfullyParsed is true |
| 20 |
| 21 TEST COMPLETE |
| 22 |
OLD | NEW |