<?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>25656</bug_id>
          
          <creation_ts>2014-05-11 17:16:13 +0000</creation_ts>
          <short_desc>[D3E] Another corrections and suggestions</short_desc>
          <delta_ts>2014-05-15 00:52:42 +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>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="Arkadiusz Michalski (Spirit)">crimsteam</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>105642</commentid>
    <comment_count>0</comment_count>
    <who name="Arkadiusz Michalski (Spirit)">crimsteam</who>
    <bug_when>2014-05-11 17:16:13 +0000</bug_when>
    <thetext>A few another corrections what I found.

===

Example 22:

&quot;Regardless of the current locale or the modifier key state, pressing the key labelled &apos;2&apos; on a US keyboard always results in &apos;Digit2&apos; in the code attribute.&quot; &lt; &apos;Digit2&apos; is .code, not .key (use class=&quot;code&quot;)

Example 27:

&quot;The key value for the key labeled &apos;Q&apos; will revert to its unshifted value for the keyup event:&quot; &lt;&lt; if &apos;Q&apos; is labeled maybe use class=&quot;glyph&quot;?

Example 31:

&quot;For example, on some MacOS keyboards, the key labeled &apos;delete&apos; functions the same as...&quot; &lt;&lt; the same like above, maybe for &apos;delete&apos; use class=&quot;glyph&quot;?

dead key (in glossary)
&quot;...such as a character with diacritical marks (e.g., ö, é, â).&quot; &lt;&lt; te last characters what type is it (glyph, key or other)?

===

5.2.3.1.3 Dictionary MouseEventInit Members
&quot;Initializes the altKey attribute of the MouseEvent object to true if the altKey modifier key is to be considered depressed, false otherwise.&quot;

&apos;altKey modifier key&apos; looks strange, we don&apos;t see what exactly it is. Better if use the same convention like for KeyboardEvent (5.2.6.1.1 Attributes) or all mouse/keyboard event tables.

This applies to altKey/ctrlKey/metaKey/shiftKey in Dictionary (for MouseEventInit/KeyboardEventInit).

5.2.6.1.1 Attributes
metaKey of type boolean, readonly 
 true if the meta (Meta) key modifier was active. &lt;&lt; maybe &apos;Meta&apos; (meta) with class=&quot;key&quot;?

shiftKey of type boolean, readonly 
 true if the shift (Shift) key modifier was active. &lt; maybe &apos;Shift&apos; (shift) with class=&quot;key&quot;?

===

In some places you can use &lt;code&gt; around text/link (as we have in all similar cases)

https://dvcs.w3.org/hg/dom3events/raw-file/tip/html/DOM3-Events.html#event-type-focusin
focusin table, green box:
&quot;... gaining focus without the use of the blur or focusout event types.&quot; &lt;&lt; for focusout 

https://dvcs.w3.org/hg/dom3events/raw-file/tip/html/DOM3-Events.html#widl-EventTarget-addEventListener
addEventListener (in table):
&quot;...implements EventListener, then its handleEvent method MUST...&quot; &lt;&lt; for handleEvent
&quot;This parameter MUST be optional. If not provided, the EventTarget.addEventListener method MUST...&quot; &lt;&lt; for EventTarget.addEventListener

https://dvcs.w3.org/hg/dom3events/raw-file/tip/html/DOM3-Events.html#widl-EventTarget-removeEventListener
removeEventListener (in table):
&quot;This parameter MUST be optional. If not provided, the EventTarget.removeEventListener method MUST behave a...&quot; &lt;&lt; for EventTarget.removeEventListener

https://dvcs.w3.org/hg/dom3events/raw-file/tip/html/DOM3-Events.html#interface-EventListener
Interface EventListener (first green box):
&quot;...interface and register their event listener using EventTarget.addEventListener. In JavaScript...&quot; &lt;&lt; for EventTarget.addEventListener

https://dvcs.w3.org/hg/dom3events/raw-file/tip/html/DOM3-Events.html#interface-EventTarget
4.3 Interface EventTarget (second green box):
&quot;Note: In addition to the EventTarget.addEventListener method, some...&quot; &lt;&lt; EventTarget.addEventListener

https://dvcs.w3.org/hg/dom3events/raw-file/tip/html/DOM3-Events.html#constants
4.1.4 Constants (NONE):
&quot;...being dispatched, i.e., the Event.eventPhase is being observered prior to calling EventTarget.dispatchEvent() or following the ...&quot; &lt;&lt; for Event.eventPhase and EventTarget.dispatchEvent()

https://dvcs.w3.org/hg/dom3events/raw-file/tip/html/DOM3-Events.html#widl-KeyboardEvent-repeat
&quot;...the first key event with a repeat attribute value of &apos;true&apos; MUST serve as an indication...&quot; &lt;&lt; for repeat

https://dvcs.w3.org/hg/dom3events/raw-file/tip/html/DOM3-Events.html#h5_events-keyboard-event-order
&quot;...the event target will be the HTML &lt;body&gt; element...&quot; &lt;&lt; for &lt;body&gt;
And the same in:
https://dvcs.w3.org/hg/dom3events/raw-file/tip/html/DOM3-Events.html#event-type-keydown
https://dvcs.w3.org/hg/dom3events/raw-file/tip/html/DOM3-Events.html#event-type-keyup
https://dvcs.w3.org/hg/dom3events/raw-file/tip/html/DOM3-Events.html#event-type-keypress

===

And the last, now style for &lt;a&gt; is unhelpful, especialy when you use &lt;a&gt; + &lt;code&gt;. This applies mainly to the types of events because they use class=&quot;eventtype&quot; with:
text-decoration: none;

Somtimes you use this class to other &lt;a&gt;&lt;code&gt;&lt;/code&gt;&lt;/a&gt;, not only event names. This styling does not allow to distinguish between what is a link and what is not. Sometimes whe have just &lt;code&gt;, but sometimes &lt;a&gt;&lt;code&gt;&lt;/code&gt;&lt;/a&gt;, and all looks the same. 

So making better style for references is realy necessary.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105789</commentid>
    <comment_count>1</comment_count>
    <who name="Travis Leithead [MSFT]">travil</who>
    <bug_when>2014-05-12 23:58:03 +0000</bug_when>
    <thetext>(In reply to spiritRKS1910 from comment #0)
&gt; A few another corrections what I found.
&gt; 
&gt; 5.2.6.1.1 Attributes
&gt; metaKey of type boolean, readonly 
&gt;  true if the meta (Meta) key modifier was active. &lt;&lt; maybe &apos;Meta&apos; (meta)
&gt; with class=&quot;key&quot;?
&gt; 
&gt; shiftKey of type boolean, readonly 
&gt;  true if the shift (Shift) key modifier was active. &lt; maybe &apos;Shift&apos; (shift)
&gt; with class=&quot;key&quot;?

Fixed by: https://dvcs.w3.org/hg/dom3events/rev/c990dc0929dd

Working on the rest now...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105797</commentid>
    <comment_count>2</comment_count>
    <who name="Arkadiusz Michalski (Spirit)">crimsteam</who>
    <bug_when>2014-05-13 00:30:28 +0000</bug_when>
    <thetext>true if the shift (Shift) key modifier was active. &lt;&lt; &apos;Shift&apos;

Immediately submit because probably I forget tomorrow:)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106007</commentid>
    <comment_count>3</comment_count>
    <who name="Travis Leithead [MSFT]">travil</who>
    <bug_when>2014-05-15 00:52:42 +0000</bug_when>
    <thetext>Now addressed in changelist: https://dvcs.w3.org/hg/dom3events/rev/58f7746cd6f7</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>