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

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 UTC