W3C home > Mailing lists > Public > www-dom@w3.org > January to March 2012

[Bug 16275] New: [DOM L3 Events] Contradition statement regarding keyboard events in the CompositionEvents section

From: <bugzilla@jessica.w3.org>
Date: Thu, 08 Mar 2012 20:42:43 +0000
To: www-dom@w3.org
Message-ID: <bug-16275-4009@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=16275

           Summary: [DOM L3 Events] Contradition statement regarding
                    keyboard events in the CompositionEvents section
           Product: WebAppsWG
           Version: unspecified
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DOM3 Events
        AssignedTo: travil@microsoft.com
        ReportedBy: travil@microsoft.com
         QAContact: public-webapps-bugzilla@w3.org
                CC: mike@w3.org, www-dom@w3.org


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.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Received on Thursday, 8 March 2012 20:42:45 GMT

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