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

[DOM3 Events] data of compositionstart dead key examples are wrong

From: Masayuki Nakano <masayuki@d-toybox.com>
Date: Tue, 16 Aug 2011 12:42:21 +0900
Message-ID: <4E49E71D.6040306@d-toybox.com>
To: "www-dom@w3.org" <www-dom@w3.org>
compositionstart event defines:

 > Some implemenations may populate the data attribute of the 
compositionstart event with the text currently selected in the document 
(for editing and replacement); otherwise, the value of the data 
attribute must be the empty string.

http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html/DOM3-Events.html#event-type-compositionstart

However, the dead key examples in the document set the first character 
of composition string.

http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html/DOM3-Events.html#keys-DeadKeys

Input Method Editor examples are fine.

-- 
Masayuki Nakano <masayuki@d-toybox.com>
Manager, Internationalization, Mozilla Japan.
Received on Tuesday, 16 August 2011 03:43:39 GMT

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