| OLD | NEW |
| 1 Tests for HTMLTextAreaElement.maxLength behaviors. | 1 Tests for HTMLTextAreaElement.maxLength 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.maxLength is -1 | 6 PASS textArea.maxLength is -1 |
| 7 PASS textArea.maxLength is -1 | 7 PASS textArea.maxLength is -1 |
| 8 PASS textArea.maxLength is -1 | 8 PASS textArea.maxLength is -1 |
| 9 PASS textArea.maxLength is 1 | 9 PASS textArea.maxLength is 1 |
| 10 PASS textArea.maxLength is -1 | 10 PASS textArea.maxLength is -1 |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 PASS textArea.getAttribute("maxlength") is "0" | 21 PASS textArea.getAttribute("maxlength") is "0" |
| 22 PASS textArea.value is "abcd" | 22 PASS textArea.value is "abcd" |
| 23 PASS textArea.value is "abcde" | 23 PASS textArea.value is "abcde" |
| 24 PASS textArea.value is "abc" | 24 PASS textArea.value is "abc" |
| 25 PASS textArea.value is "abc" | 25 PASS textArea.value is "abc" |
| 26 PASS textArea.value is "def" | 26 PASS textArea.value is "def" |
| 27 PASS textArea.value is "abcdef" | 27 PASS textArea.value is "abcdef" |
| 28 PASS textArea.value is "abcde" | 28 PASS textArea.value is "abcde" |
| 29 PASS textArea.value is "A\nB" | 29 PASS textArea.value is "A\nB" |
| 30 PASS textArea.value is "a\n\n" | 30 PASS textArea.value is "a\n\n" |
| 31 PASS textArea.value is "\n\n\n" | 31 PASS textArea.value is "\n\n\n\n\n\n" |
| 32 Inserts 2 normal characters + a combining letter with 3 code points into a maxle
ngth=3 element. | 32 Inserts 2 normal characters + a combining letter with 3 code points into a maxle
ngth=3 element. |
| 33 PASS textArea.value is "ABx" | 33 PASS textArea.value is "ABx" |
| 34 PASS textArea.value.length is 3 | 34 PASS textArea.value.length is 3 |
| 35 PASS textArea.value is "ABC" | 35 PASS textArea.value is "ABC" |
| 36 Inserts 2 normal characters + one surrogate pair into a maxlength=3 element | 36 Inserts 2 normal characters + one surrogate pair into a maxlength=3 element |
| 37 PASS textArea.value is "AB" | 37 PASS textArea.value is "AB" |
| 38 PASS textArea.value.length is 2 | 38 PASS textArea.value.length is 2 |
| 39 PASS textArea.value is "ABC" | 39 PASS textArea.value is "ABC" |
| 40 PASS textArea.value is "" | 40 PASS textArea.value is "" |
| 41 PASS textArea.value is "ABC" | 41 PASS textArea.value is "ABC" |
| 42 PASS textArea.value is "ABC" | 42 PASS textArea.value is "ABC" |
| 43 PASS successfullyParsed is true | 43 PASS successfullyParsed is true |
| 44 | 44 |
| 45 TEST COMPLETE | 45 TEST COMPLETE |
| 46 | 46 |
| OLD | NEW |