W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2011

[DOM3 Events] compositionstart shouldn't be cancelable for IME

From: Masayuki Nakano <masayuki@d-toybox.com>
Date: Tue, 16 Aug 2011 15:11:55 +0900
Message-ID: <4E4A0A2B.8060902@d-toybox.com>
To: "www-dom@w3.org" <www-dom@w3.org>

DOM3 Events Spec defines that compositionstart is cancelable. But it 
doesn't make sense for IME at least.

UA doesn't know which key event causes starting composition. It is 
decided by IME. Current UAs dispatch compositionstart when IME starts 
composition actually.

Therefore, "This event must be dispatched immediately before a text 
composition system is launched", this definition doesn't match current 

And also the composition has started already at that time. Therefore, 
"If this event is canceled, the text composition system must not be 
launched.", this explanation is impossible behavior.

I'm not sure for other input methods. I think that the spec should 
document the IME case at least.

Masayuki Nakano <masayuki@d-toybox.com>
Manager, Internationalization, Mozilla Japan.
Received on Tuesday, 16 August 2011 06:13:15 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:18 UTC