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>
http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html/DOM3-Events.html#event-type-compositionstart

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 
implementations.

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:14:08 GMT