Index: core/dom/Touch.idl |
diff --git a/core/dom/Touch.idl b/core/dom/Touch.idl |
index d7003b65ea7ebc2f22a2636836a56b98a5fd9089..72bc53c014f2faed07bcb375e446193bee3f61cf 100644 |
--- a/core/dom/Touch.idl |
+++ b/core/dom/Touch.idl |
@@ -23,22 +23,30 @@ |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
+// http://rawgit.com/w3c/touch-events/v1-errata/touchevents.html#touch-interface |
+ |
[ |
WillBeGarbageCollected, |
] interface Touch { |
- readonly attribute double clientX; |
- readonly attribute double clientY; |
- readonly attribute double screenX; |
- readonly attribute double screenY; |
- readonly attribute double pageX; |
- readonly attribute double pageY; |
- readonly attribute EventTarget target; |
- readonly attribute unsigned long identifier; |
- readonly attribute double radiusX; |
- readonly attribute double radiusY; |
- readonly attribute float force; |
- [MeasureAs=PrefixedTouchRadiusX] readonly attribute double webkitRadiusX; |
- [MeasureAs=PrefixedTouchRadiusY] readonly attribute double webkitRadiusY; |
- [MeasureAs=PrefixedTouchRotationAngle] readonly attribute float webkitRotationAngle; |
- [MeasureAs=PrefixedTouchForce] readonly attribute float webkitForce; |
+ readonly attribute long identifier; |
+ readonly attribute EventTarget target; |
+ readonly attribute double screenX; |
+ readonly attribute double screenY; |
+ readonly attribute double clientX; |
+ readonly attribute double clientY; |
+ readonly attribute double pageX; |
+ readonly attribute double pageY; |
+ |
+ // Touch Events Extensions |
+ // http://rawgit.com/w3c/touch-events/master/touchevents.html#touch-interface |
+ readonly attribute float radiusX; |
+ readonly attribute float radiusY; |
+ readonly attribute float rotationAngle; |
+ readonly attribute float force; |
+ |
+ // Non-standard APIs |
+ [DeprecateAs=PrefixedTouchRadiusX, ImplementedAs=radiusX] readonly attribute float webkitRadiusX; |
+ [DeprecateAs=PrefixedTouchRadiusY, ImplementedAs=radiusY] readonly attribute float webkitRadiusY; |
+ [DeprecateAs=PrefixedTouchRotationAngle, ImplementedAs=rotationAngle] readonly attribute float webkitRotationAngle; |
+ [DeprecateAs=PrefixedTouchForce, ImplementedAs=force] readonly attribute float webkitForce; |
}; |