ISSUE-12: altKey/ctrlKey/etc. should be attributes of TouchEvent, not TouchPoint
authorMatt Brubeck <mbrubeck@mozilla.com>
Fri, 08 Apr 2011 09:34:04 -0700
changeset 30 795c0f6c44e7
parent 29 348e35a8557f
child 31 80a964ec062b
ISSUE-12: altKey/ctrlKey/etc. should be attributes of TouchEvent, not TouchPoint
touchevents.html
--- a/touchevents.html	Wed Apr 06 00:08:16 2011 -0700
+++ b/touchevents.html	Fri Apr 08 09:34:04 2011 -0700
@@ -182,23 +182,6 @@
 
           <p class="issue" id="issue-inkml"><strong>Issue:</strong> Consider aligning with other "channels" and values from <a href="http://www.w3.org/TR/InkML/#channelContents">Ink Markup Language (InkML)</a>, in addition to <a>force</a>, e.g. adding <a>angle</a>, <a>clientZ</a>, <a>rotation</a>, etc.</p>
         </dd>
-
-        <dt>readonly attribute boolean altKey</dt>
-        <dd>
-          <code>true</code> if the alt (Alternate) key modifier is activated; otherwise <code>false</code>
-        </dd>
-        <dt>readonly attribute boolean metaKey</dt>
-        <dd>
-          <code>true</code> if the meta (Meta) key modifier is activated; otherwise <code>false</code>.  On some platforms this attribute may map to a differently-named key modifier.
-        </dd>
-        <dt>readonly attribute boolean ctrlKey</dt>
-        <dd>
-          <code>true</code> if the ctrl (Control) key modifier is activated; otherwise <code>false</code>
-        </dd>
-        <dt>readonly attribute boolean shiftKey</dt>
-        <dd>
-          <code>true</code> if the shift (Shift) key modifier is activated; otherwise <code>false</code>
-        </dd>
       </dl>
 
     </section>
@@ -243,6 +226,23 @@
           a list of <a>TouchPoint</a>s for every point of contact which contributed to the event
         </dd>
 
+        <dt>readonly attribute boolean altKey</dt>
+        <dd>
+          <code>true</code> if the alt (Alternate) key modifier is activated; otherwise <code>false</code>
+        </dd>
+        <dt>readonly attribute boolean metaKey</dt>
+        <dd>
+          <code>true</code> if the meta (Meta) key modifier is activated; otherwise <code>false</code>.  On some platforms this attribute may map to a differently-named key modifier.
+        </dd>
+        <dt>readonly attribute boolean ctrlKey</dt>
+        <dd>
+          <code>true</code> if the ctrl (Control) key modifier is activated; otherwise <code>false</code>
+        </dd>
+        <dt>readonly attribute boolean shiftKey</dt>
+        <dd>
+          <code>true</code> if the shift (Shift) key modifier is activated; otherwise <code>false</code>
+        </dd>
+
         <!-- Methods -->
         <dt>void initTouchEvent()</dt>
         <dd>