Bug 16275 - [DOM L3 Events] Contradition statement regarding keyboard events in the CompositionEvents section
Summary: [DOM L3 Events] Contradition statement regarding keyboard events in the Compo...
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://dev.w3.org/2006/webapi/DOM-Lev...
Keywords: reviewerSatisfied
Depends on:
Reported: 2012-03-08 20:42 UTC by Travis Leithead [MSFT]
Modified: 2012-03-13 00:05 UTC (History)
2 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Travis Leithead [MSFT] 2012-03-08 20:42:42 UTC
There is a contradition statement in the DOM L3 Events spec for keyboard events in the  CompositionEvents section:

*** no keyboard events should generated: 
While a composition session is active, keyboard events should not be dispatched to the DOM (i.e., the text composition system “swallows” the keyboard events), and only compositionupdate events are dispatched to indicate the composition process.

*** keydown event is generated:
When a keyboard is used to feed an input method editor, this event type is generated after a keydown event, but speech or handwriting recognition systems may send this event type without keyboard events. 

We do have a public test case for the 2nd scenario -- compositionstart event type is generated after a keydown event:

Recommended fix is to correct the statement in http://www.w3.org/TR/DOM-Level-3-Events/#events-compositionevents to match implementations and eliminate this contradiction.
Comment 1 Travis Leithead [MSFT] 2012-03-10 01:06:38 UTC
Now fixed in revision 1.214

Comment 2 Travis Leithead [MSFT] 2012-03-10 01:12:18 UTC
As the opener, I verify that this has been fixed.