ISSUE-1: Add rotationAngle attribute for elliptical touch areas.
authorMatt Brubeck <mbrubeck@mozilla.com>
Fri, 25 Mar 2011 15:59:03 -0700
changeset 18 1ea45991d3e9
parent 17 53d825c0800e
child 19 f6cda6b9d1ae
ISSUE-1: Add rotationAngle attribute for elliptical touch areas.
touchevents.html
--- a/touchevents.html	Wed Mar 16 07:49:33 2011 -0700
+++ b/touchevents.html	Fri Mar 25 15:59:03 2011 -0700
@@ -22,7 +22,7 @@
           // subtitle   :  "an excellent document",
 
           // if you wish the publication date to be other than today, set this
-          publishDate:  "2011-02-22",
+          publishDate:  "2011-03-25",
 
           // if the specification's copyright date is a range of years, specify
           // the start date here:
@@ -158,6 +158,11 @@
           the radius of the ellipse which most closely circumscribes the touching area (e.g. finger, stylus) along the y-axis, in pixels of the same scale as <a>screenY</a>; <code>1</code> if no value is known.  This attribute may not be available on all user agents or platforms.
         </dd>
 
+        <dt>readonly attribute float rotationAngle</dt>
+        <dd>
+          the angle (in degrees) that the ellipse described by <a>radiusX</a> and <a>radiusY</a> is rotated counter-clockwise about its center.  The value must be in the range (-90, 90].
+        </dd>
+
         <dt>readonly attribute float force</dt>
         <dd>
           a relative value of pressure applied, in the range <code>0</code> to <code>1</code>, where <code>0</code> is no pressure, and <code>1</code> is the highest level of pressure the touch device is capable of sensing; <code>0</code> if no value is known.  This attribute may not be available on all user agents or platforms.  In environments where <a>force</a> is available, the absolute pressure represented by the <a>force</a> attribute, and the sensitivity in levels of pressure, may vary.