Index: core/dom/Touch.idl |
diff --git a/core/dom/Touch.idl b/core/dom/Touch.idl |
index 72bc53c014f2faed07bcb375e446193bee3f61cf..a48a0230dd0916685686868aa6eeced84a143518 100644 |
--- a/core/dom/Touch.idl |
+++ b/core/dom/Touch.idl |
@@ -23,9 +23,11 @@ |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
-// http://rawgit.com/w3c/touch-events/v1-errata/touchevents.html#touch-interface |
+// https://w3c.github.io/touch-events/#touch-interface |
[ |
+ Constructor(TouchInit initDict), |
+ ConstructorCallWith=Document, |
WillBeGarbageCollected, |
] interface Touch { |
readonly attribute long identifier; |
@@ -36,17 +38,8 @@ |
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; |
}; |