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

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 UTC