<?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>22082</bug_id>
          
          <creation_ts>2013-05-18 02:16:21 +0000</creation_ts>
          <short_desc>Review and cleanup examples in D3E spec</short_desc>
          <delta_ts>2013-08-17 22:40:29 +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>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Gary Kacmarcik">garykac</reporter>
          <assigned_to name="Gary Kacmarcik">garykac</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>87869</commentid>
    <comment_count>0</comment_count>
    <who name="Gary Kacmarcik">garykac</who>
    <bug_when>2013-05-18 02:16:21 +0000</bug_when>
    <thetext>The following examples should be updated:

6.1.2 Keyboard Layout
=====================
&quot;If the keyboard layout mapping is switched to a French mapping, pressing the same key will produce the character &apos;a&apos; (&apos;\u0041&apos;, Latin Capital Letter A).&quot;
The Unicode code point and name are incorrect.
It should read: &quot;... will produce the character &apos;a&apos; (&apos;\u0061&apos;, Latin Small Letter A).&quot;


6.2.2 Modifier keys
===================
The difference between Examples 1 and 2 (which generate a character) and Example 3 (which does not) can be made more apparent by adding the keypress/textinput/beforeinput event to the first 2 examples.


6.2.5 Default actions and cancelable keyboard events
=====================
Third example seems wrong. The keypress should ignore the dead key since it was canceled. The text describes combining-circumflex + &apos;e&apos;, but the events use é instead of e. Also, the dead-key was cancelled so the key events should be simply &apos;e&apos;.
This example should also be using composition events as described in 5.2.6


6.2.5 Default actions and cancelable keyboard events
=====================
In the second example, step 4, the keypress, should have shiftKey. Actually, we may want to remove the keypress and replace it with beforeinput.


3.3 Synchronous and asynchronous events
=======================================
In first Example, &apos;keydown&apos; event is listed, but there is no corresponding &apos;keyup&apos;. Also, DOMCharacterDataModified has been deprecated and should not be part of these examples.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>