@@ -560,6 +560,7 @@ <h2 property="dcterms:issued" datatype="xsd:dateTime" content="2013-10-31T04:00:
560560 < pre class ="idl "> < span class ="idlInterface " id ="idl-def-Touch "> partial interface < span class ="idlInterfaceID "> Touch</ span > {
561561< span class ="idlAttribute "> readonly attribute < span class ="idlAttrType "> long</ span > < span class ="idlAttrName "> < a href ="#widl-Touch-radiusX "> radiusX</ a > </ span > ;</ span >
562562< span class ="idlAttribute "> readonly attribute < span class ="idlAttrType "> long</ span > < span class ="idlAttrName "> < a href ="#widl-Touch-radiusY "> radiusY</ a > </ span > ;</ span >
563+ < span class ="idlAttribute "> readonly attribute < span class ="idlAttrType "> float</ span > < span class ="idlAttrName "> < a href ="#widl-Touch-rotationAngle "> rotationAngle</ a > </ span > ;</ span >
563564< span class ="idlAttribute "> readonly attribute < span class ="idlAttrType "> float</ span > < span class ="idlAttrName "> < a href ="#widl-Touch-force "> force</ a > </ span > ;</ span >
564565};</ span > </ pre > < section id ="attributes "> < h3 aria-level ="2 " role ="heading " id ="h3_attributes "> < span class ="secno "> 2.1 </ span > Attributes</ h3 > < dl class ="attributes "> < dt id ="widl-Touch-force "> < code > force</ code > of type < span class ="idlAttrType "> float</ span > , readonly </ dt > < dd >
565566 a relative value of pressure applied, in the range < code > 0</ code > to
@@ -579,14 +580,29 @@ <h2 property="dcterms:issued" datatype="xsd:dateTime" content="2013-10-31T04:00:
579580 </ p > </ div >
580581 </ dd > < dt id ="widl-Touch-radiusX "> < code > radiusX</ code > of type < span class ="idlAttrType "> long</ span > , readonly </ dt > < dd >
581582 the radius of the ellipse which most closely circumscribes the
582- touching area (e.g. finger, stylus) along the x- axis, in CSS pixels of
583+ touching area (e.g. finger, stylus) along the axis indicated by rotationAngle , in CSS pixels of
583584 the same scale as screenX; < code > 1</ code > if no value is
584585 known. The value must be positive.
585586 </ dd > < dt id ="widl-Touch-radiusY "> < code > radiusY</ code > of type < span class ="idlAttrType "> long</ span > , readonly </ dt > < dd >
586587 the radius of the ellipse which most closely circumscribes the
587- touching area (e.g. finger, stylus) along the y- axis, in CSS pixels of
588+ touching area (e.g. finger, stylus) along the axis perpendicular to that indicated by rotationAngle , in CSS pixels of
588589 the same scale as screenY; < code > 1</ code > if no value is
589590 known. The value must be positive.
591+ </ dd > < dt id ="widl-Touch-rotationAngle "> < code > rotationAngle</ code > of type < span class ="idlAttrType "> float</ span > , readonly </ dt > < dd >
592+ < p >
593+ the angle (in degrees) that the ellipse described by < a > radiusX</ a >
594+ and < a > radiusY</ a > is rotated clockwise about its center;
595+ < code > 0</ code > if no value is known. The value must be greater
596+ than or equal to < code > 0</ code > and less than < code > 90</ code > .
597+ </ p >
598+ < p >
599+ If the ellipse described by < a > radiusX</ a > and < a > radiusY</ a > is
600+ circular, then < a > rotationAngle</ a > has no effect. The user agent
601+ may use < code > 0</ code > as the value in this case, or it may use any
602+ other value in the allowed range. (For example, the user agent may
603+ use the < a > rotationAngle</ a > value from the previous touch event,
604+ to avoid sudden changes.)
605+ </ p >
590606 </ dd > </ dl > </ section >
591607 </ section >
592608
0 commit comments