Hangul(Korean Alphabet) Composition Events in Firefox 4.0b1
Key Press | Composition State | Firefox4.0b1 for Mac OS X 10.6.4 | Firefox4.0b1 for Linux (Ubuntu 9.10) | Firefox 4.01b for Win7 |
ㄱ (r) | ㄱ | 1. keydown | 1. compositionstart | 1. keydown |
ㅏ (k) | 가 | No Events | No Events | No Events |
ㄴ (s) | 간 | No Events | No Events | No Events |
ㅏ (k) | 가나 | 3. compositionend | 2.compositionend 3.input 4.compositionstart | 4. compositionend |
mouse press (Cancel) | 가나 | 6. compositionend | 5. compositionend 6. input 7. compositionstart 8. compositionend 9. input (‘나 enters twice) ==> 가나나 | 7. compositionend |
Test case from https://bug354358.bugzilla.mozilla.org/attachment.cgi?id=420498
Bug 354358 - Key events via Korean IME not available
Bug 543789 - No compositionupdate events using IME
Hangul Composition Event Test in the major browsers
key press | composition state | Firefox4.0b1 for OSX | Safari 5 for OSX (6553.16) | Chrome for OSX 5.0.375.99 | Opera 10.60 for OSX (8402) |
ㄱ (r) | ㄱ | 1. keydown | 1. compositionstart | 1. keydown | 1. keydown 2. keyup |
ㅏ (k) | 가 | 5. compositionupdate | 5. keydown | 3. keydown 4. keyup | |
ㄴ (s) | 간 | 9. compositionupdate | 9. keydown | 5. keydown 6. keyup | |
ㅏ (k) | 가나 | 3. compositionend | 13. compositionend | 13. keydown | 7. keydown 8. keyup |
mouse press (Cancel) | 가나 | 6. compositionend | 20. compositionend | 22. compositionend (‘나' was deleted. It’s a bug) |
test case from https://bug354358.bugzilla.mozilla.org/attachment.cgi?id=420498
key press | composition state | DOM Event Level3 guideline (Is this right?) |
ㄱ (r) | ㄱ | 1. compositionstart |
ㅏ (k) | 가 | 3. compositionupdate 4. input |
ㄴ (s) | 간 | 5. compositionupdate 6. input |
ㅏ (k) | 가나 | 7.compositionend (for 가) 8. textInput 9. input 10. compositionstart 11. input |
mouse press (Cancel) | 가나 | 12. compositionend 13 textinput 13 input |
References