Index: Source/core/dom/Touch.idl |
diff --git a/Source/core/dom/Touch.idl b/Source/core/dom/Touch.idl |
index d7003b65ea7ebc2f22a2636836a56b98a5fd9089..dd4f87078eda045050726358ec1970c9ffe9c2df 100644 |
--- a/Source/core/dom/Touch.idl |
+++ b/Source/core/dom/Touch.idl |
@@ -23,20 +23,29 @@ |
* 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; |
+ // FIXME: identifier should be long, not unsigned long. |
+ readonly attribute unsigned 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 |
+ // FIXME: radiusX and radiusY should be float, not double. |
+ readonly attribute double radiusX; |
+ readonly attribute double radiusY; |
+ readonly attribute float force; |
+ |
+ // Non-standard APIs |
[MeasureAs=PrefixedTouchRadiusX] readonly attribute double webkitRadiusX; |
[MeasureAs=PrefixedTouchRadiusY] readonly attribute double webkitRadiusY; |
[MeasureAs=PrefixedTouchRotationAngle] readonly attribute float webkitRotationAngle; |