This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 16330 - data of compositionstart dead key examples are wrong
Summary: data of compositionstart dead key examples are wrong
Status: RESOLVED FIXED
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: HISTORICAL - DOM3 Events (show other bugs)
Version: unspecified
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: Travis Leithead [MSFT]
QA Contact: public-webapps-bugzilla
URL: http://lists.w3.org/Archives/Public/w...
Whiteboard:
Keywords: LC, needsReview
Depends on:
Blocks:
 
Reported: 2012-03-12 20:32 UTC by Travis Leithead [MSFT]
Modified: 2012-03-17 00:19 UTC (History)
3 users (show)

See Also:


Attachments

Description Travis Leithead [MSFT] 2012-03-12 20:32:34 UTC
PORT: ISSUE-183: (This bug will track this issue to close.)

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.
Comment 1 Travis Leithead [MSFT] 2012-03-17 00:19:00 UTC
Fixed. The Dead Key examples now correctly start compositionstart with a value of the empty string.

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