changed cx/cy to rx/ry, defined units for both; added key modifier attributes; changed identifier to float
--- a/touchevents.html Tue Jan 25 09:34:57 2011 -0500
+++ b/touchevents.html Tue Jan 25 11:29:05 2011 -0500
@@ -88,9 +88,9 @@
<p>This interface defines an individual point of contact for a touch event.</p>
<dl title='interface TouchPoint' class='idl'>
- <dt>readonly attribute integer identifier</dt>
+ <dt>readonly attribute float identifier</dt>
<dd>
- an identification number unique to each touch point
+ an identification number unique to each touch point, per session
</dd>
<dt>readonly attribute EventTarget target</dt>
<dd>
@@ -124,13 +124,27 @@
y-coordinate of point relative to the viewport, including any scroll offset
</dd>
- <dt>readonly attribute float cx</dt>
+ <dt>readonly attribute float rx</dt>
<dd>
- the radius of the ellipse which most closely circumscribes the touching area (e.g. finger, stylus) along the x-axis
+ the radius of the ellipse which most closely circumscribes the touching area (e.g. finger, stylus) along the x-axis, in pixels
</dd>
- <dt>readonly attribute float cy</dt>
+ <dt>readonly attribute float ry</dt>
<dd>
- the radius of the ellipse which most closely circumscribes the touching area (e.g. finger, stylus) along the y-axis
+ the radius of the ellipse which most closely circumscribes the touching area (e.g. finger, stylus) along the y-axis, in pixels
+ </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>
+ <dt>readonly attribute boolean altKey</dt>
+ <dd>
+ <code>true</code> if the alt (Alternate) key modifier is activated; otherwise <code>false</code>
</dd>
</dl>
</section>
@@ -149,9 +163,9 @@
<dd>
returns the touchpoint with index <dfn>index</dfn> from the list, sorted in order from latest to earliest
</dd>
- <dt>caller getter object identifiedPoint(in integer <dfn>identifier</dfn>)</dt>
+ <dt>caller getter object identifiedPoint(in float <dfn>identifier</dfn>)</dt>
<dd>
- returns the first touchpoint with integer <dfn>identifier</dfn> from the list
+ returns the first touchpoint with float <dfn>identifier</dfn> from the list
</dd>
</dl>
</section>
@@ -161,7 +175,7 @@
<h2>Touch Interface</h2>
<p>This interface defines the <dfn>touchstart</dfn>, <dfn>touchend</dfn>, <dfn>touchmove</dfn>, <dfn>touchenter</dfn>, <dfn>touchleave</dfn>, and <dfn>touchcancel</dfn> event types.</p>
- <dl title='interface TouchEvent : Event' class='idl'>
+ <dl title='interface TouchEvent : UIEvent' class='idl'>
<!-- <dt>readonly attribute views::AbstractView view</dt>
<dd>
The <code>view</code> attribute identifies the <code>AbstractView</code> from which the event was generated.