<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>16275</bug_id>
          
          <creation_ts>2012-03-08 20:42:42 +0000</creation_ts>
          <short_desc>[DOM L3 Events] Contradition statement regarding keyboard events in the CompositionEvents section</short_desc>
          <delta_ts>2012-03-13 00:05:39 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebAppsWG</product>
          <component>HISTORICAL - DOM3 Events</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html/DOM3-Events.html?rev=1.214</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>reviewerSatisfied</keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Travis Leithead [MSFT]">travil</reporter>
          <assigned_to name="Travis Leithead [MSFT]">travil</assigned_to>
          <cc>mike</cc>
    
    <cc>www-dom</cc>
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>65152</commentid>
    <comment_count>0</comment_count>
    <who name="Travis Leithead [MSFT]">travil</who>
    <bug_when>2012-03-08 20:42:42 +0000</bug_when>
    <thetext>There is a contradition statement in the DOM L3 Events spec for keyboard events in the  CompositionEvents section:

*** no keyboard events should generated: 
http://www.w3.org/TR/DOM-Level-3-Events/#events-compositionevents
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:
http://www.w3.org/TR/DOM-Level-3-Events/#event-type-compositionstart
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:
http://samples.msdn.microsoft.com/ietestcenter/domevents/compositionstart.keydown.html

---
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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65268</commentid>
    <comment_count>1</comment_count>
    <who name="Travis Leithead [MSFT]">travil</who>
    <bug_when>2012-03-10 01:06:38 +0000</bug_when>
    <thetext>Now fixed in revision 1.214

http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html/DOM3-Events.html?rev=1.214</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65271</commentid>
    <comment_count>2</comment_count>
    <who name="Travis Leithead [MSFT]">travil</who>
    <bug_when>2012-03-10 01:12:18 +0000</bug_when>
    <thetext>As the opener, I verify that this has been fixed.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>