Chromium Code Reviews| Index: Source/core/dom/Touch.idl |
| diff --git a/Source/core/dom/Touch.idl b/Source/core/dom/Touch.idl |
| index dd4f87078eda045050726358ec1970c9ffe9c2df..4966a1ac7511cec330a1557f8e0d1a82fab00f7b 100644 |
| --- a/Source/core/dom/Touch.idl |
| +++ b/Source/core/dom/Touch.idl |
| @@ -40,14 +40,14 @@ |
| // 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 radiusX; |
| + readonly attribute float radiusY; |
| + // readonly attribute float rotationAngle; |
|
Rick Byers
2015/05/20 15:33:41
FYI I think we can unprefixing this too and deprec
philipj_slow
2015/05/20 18:08:37
That looks very quick to do indeed, and I'd be ver
|
| 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; |
| - [MeasureAs=PrefixedTouchForce] readonly attribute float webkitForce; |
| + [MeasureAs=PrefixedTouchRadiusX, ImplementedAs=radiusX] readonly attribute float webkitRadiusX; |
| + [MeasureAs=PrefixedTouchRadiusY, ImplementedAs=radiusY] readonly attribute float webkitRadiusY; |
| + [MeasureAs=PrefixedTouchRotationAngle, ImplementedAs=rotationAngle] readonly attribute float webkitRotationAngle; |
| + [MeasureAs=PrefixedTouchForce, ImplementedAs=force] readonly attribute float webkitForce; |
| }; |