OLD | NEW |
(Empty) | |
| 1 This tests composition attribute of InputMethodContext. |
| 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 |
| 5 |
| 6 PASS composition.text is "" |
| 7 PASS composition2.text is "" |
| 8 Testing IME on an input element. |
| 9 PASS composition.text is "abcde" |
| 10 PASS composition2.text is "" |
| 11 PASS composition.selectionStart is 1 |
| 12 PASS composition.selectionEnd is 4 |
| 13 PASS composition.getSegments().length is 3 |
| 14 PASS composition.getSegments().length is 2 |
| 15 PASS composition.getSegments().length is 2 |
| 16 PASS composition.text is "" |
| 17 PASS composition.getSegments().length is 0 |
| 18 PASS input.value is "abcde" |
| 19 PASS input2.value is "" |
| 20 Testing IME on another input element. |
| 21 PASS input.value is "abcde" |
| 22 PASS input2.value is "" |
| 23 PASS composition.getSegments().length is 0 |
| 24 PASS composition2.getSegments().length is 1 |
| 25 PASS input.value is "abcde" |
| 26 PASS input2.value is "fghij" |
| 27 PASS composition.text is "" |
| 28 PASS composition2.text is "fghij" |
| 29 PASS composition2.text is "" |
| 30 PASS input.value is "abcde" |
| 31 PASS input2.value is "fghij" |
| 32 Testing when context is obtained after some IME input. |
| 33 PASS input3.value is "" |
| 34 PASS input3.value is "klmno" |
| 35 PASS composition3.text is "klmno" |
| 36 PASS composition3.text is "" |
| 37 PASS successfullyParsed is true |
| 38 |
| 39 TEST COMPLETE |
| 40 |
OLD | NEW |