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

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

From: Masayuki Nakano <masayuki@d-toybox.com>
Date: Wed, 17 Aug 2011 09:39:11 +0900
Message-ID: <4E4B0DAF.1080909@d-toybox.com>
To: Daniel Danilatos <daniel.danilatos@gmail.com>
CC: "www-dom@w3.org" <www-dom@w3.org>
On 08/16/2011 10:30 AM, Daniel Danilatos wrote:
 > but then I'm curious as to why the event can not be cancelled,
 > since the browser can clearly prevent manipulation of its own DOM.

Since both Google Chrome (confirmed on Windows) and Firefox (confirmed 
on Win/Mac/Linux) cannot prevent launching IME composition by 
preventDefault() of comositionstart event.

The compositionstart event is actually fired when IME composition has 
been started. So, it's impossible to prevent composition by cancelling 
compositionstart.

-- 
Masayuki Nakano <masayuki@d-toybox.com>
Manager, Internationalization, Mozilla Japan.
Received on Wednesday, 17 August 2011 00:40:32 GMT

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