On Thu, Jul 29, 2010 at 3:13 AM, Oliver Hunt <oli...@apple.com> wrote: > > On Jul 28, 2010, at 8:45 AM, Joone Hur wrote: > >> 3) Keyboard events should not be dispatched during a composition. > Key events must be sent while an IME is active otherwise sites break. IIRC > you get keydown and keyup events, but not keypress. The keydown event when > an IME is active has charCode 229 in order to be compatible with IE. >
In case of Firefox, it doesn't fire any keyboard events during a composition. Therefore, a Mozilla developer mentioned on a bug about "no keyboard events during a Hangul composition" as follows, "I still think that we shouldn't fire any key events during composing. The compositionupdate event is enough for this issue." https://bugzilla.mozilla.org/show_bug.cgi?id=354358#c24 Firefox4.0b1 also doesn't fire any keyboard events after compositionstart event. => You can find a test result from http://bit.ly/99tkd0 Of course, there has been a compatibility issue of detecting composition states in case of Firefox compared to IE. However, I think that composition events seem enough without keyboard events during a IME composition. Because many Korean web developers have known this issue so they have used a workaround to avoid it. We need a consensus on this issue between WebKit and Mozilla developers. Thanks for your feedback. Joone _______________________________________________ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev