Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(221)

Unified Diff: LayoutTests/fast/events/touch/script-tests/document-create-touch.js

Issue 335413003: Added unprefixed version of Touch radius and force (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: incorporated review comments Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/fast/events/touch/document-create-touch-expected.txt ('k') | Source/core/dom/Touch.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/events/touch/script-tests/document-create-touch.js
diff --git a/LayoutTests/fast/events/touch/script-tests/document-create-touch.js b/LayoutTests/fast/events/touch/script-tests/document-create-touch.js
index 70c49006849961939e83864fcc48f05192fe88df..bf2986e31c14f2d13a460a1eda645d96569bc410 100644
--- a/LayoutTests/fast/events/touch/script-tests/document-create-touch.js
+++ b/LayoutTests/fast/events/touch/script-tests/document-create-touch.js
@@ -17,6 +17,9 @@ shouldBe("touch.pageX", "100");
shouldBe("touch.pageY", "101");
shouldBe("touch.screenX", "102");
shouldBe("touch.screenY", "103");
+shouldBe("touch.radiusX", "5");
+shouldBe("touch.radiusY", "3");
+shouldBe("touch.force", "10");
shouldBe("touch.webkitRadiusX", "5");
shouldBe("touch.webkitRadiusY", "3");
shouldBe("touch.webkitRotationAngle", "10");
@@ -30,6 +33,9 @@ shouldBe("emptyTouch.pageX", "0");
shouldBe("emptyTouch.pageY", "0");
shouldBe("emptyTouch.screenX", "0");
shouldBe("emptyTouch.screenY", "0");
+shouldBe("emptyTouch.radiusX", "0");
+shouldBe("emptyTouch.radiusY", "0");
+shouldBeNaN("emptyTouch.force");
shouldBe("emptyTouch.webkitRadiusX", "0");
shouldBe("emptyTouch.webkitRadiusY", "0");
shouldBeNaN("emptyTouch.webkitRotationAngle");
@@ -44,6 +50,9 @@ shouldBe("badParamsTouch.pageX", "0");
shouldBe("badParamsTouch.pageY", "0");
shouldBe("badParamsTouch.screenX", "0");
shouldBe("badParamsTouch.screenY", "104");
+shouldBe("badParamsTouch.radiusX", "0");
+shouldBe("badParamsTouch.radiusY", "0");
+shouldBeNaN("badParamsTouch.force");
shouldBe("badParamsTouch.webkitRadiusX", "0");
shouldBe("badParamsTouch.webkitRadiusY", "0");
shouldBeNaN("badParamsTouch.webkitRotationAngle");
« no previous file with comments | « LayoutTests/fast/events/touch/document-create-touch-expected.txt ('k') | Source/core/dom/Touch.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698