blob: 6d462b64bf0c190c5c30d7c0027f3f4b1db1ee44 [file] [log] [blame]
This tests that calling input-method functions sends Composition Events and Text Events introduced in DOM Level 3.
To test manually, enable an IME, input CJK characters, and see this page doesn't show 'FAILED' lines.
SUCCESS: INPUT - compositionstart - ""
SUCCESS: INPUT - compositionupdate - "1"
SUCCESS: INPUT - compositionupdate - "2"
SUCCESS: INPUT - compositionupdate - "3"
SUCCESS: INPUT - compositionend - "4"
SUCCESS: INPUT - textInput - "4"
SUCCESS: INPUT - compositionstart - ""
SUCCESS: INPUT - compositionupdate - "5"
SUCCESS: INPUT - compositionupdate - "6"
SUCCESS: INPUT - compositionupdate - "7"
SUCCESS: INPUT - compositionend - ""
SUCCESS: INPUT - textInput - "8"
SUCCESS: INPUT - compositionstart - ""
SUCCESS: INPUT - compositionupdate - "9"
SUCCESS: INPUT - compositionend - "9"
SUCCESS: INPUT - textInput - "9"
SUCCESS: INPUT - compositionstart - "have"
SUCCESS: INPUT - compositionupdate - "lost"
SUCCESS: INPUT - compositionend - "made"
SUCCESS: INPUT - textInput - "made"
SUCCESS: I made a pen