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

Unified Diff: LayoutTests/fast/events/touch/document-create-touch-expected.txt

Issue 750013004: Added experimental tilt and tiltDirection to the Touch interface (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed WebInputEventConversionTest Created 5 years, 9 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
Index: LayoutTests/fast/events/touch/document-create-touch-expected.txt
diff --git a/LayoutTests/fast/events/touch/document-create-touch-expected.txt b/LayoutTests/fast/events/touch/document-create-touch-expected.txt
index f276d66a7adc6069cda88957c4680cadf0699bdd..421f7b5225b3af59272bfaf3a1c614cf2ed3a917 100644
--- a/LayoutTests/fast/events/touch/document-create-touch-expected.txt
+++ b/LayoutTests/fast/events/touch/document-create-touch-expected.txt
@@ -18,6 +18,8 @@ PASS touch.webkitRadiusX is 5
PASS touch.webkitRadiusY is 3
PASS touch.webkitRotationAngle is 10
PASS touch.webkitForce is 10
+PASS touch.tilt 45
+PASS touch.tiltDirection 60
PASS emptyTouch is non-null.
PASS emptyTouch.target is null
PASS emptyTouch.identifier is 0
@@ -32,6 +34,8 @@ PASS emptyTouch.webkitRadiusX is 0
PASS emptyTouch.webkitRadiusY is 0
FAIL emptyTouch.webkitRotationAngle should be NaN. Was 0.
FAIL emptyTouch.webkitForce should be NaN. Was 0.
+FAIL emptyTouch.tilt should be NaN. Was 0.
+FAIL emptyTouch.tiltDirection should be NaN. Was 0.
PASS badParamsTouch is non-null.
PASS badParamsTouch.target is null
PASS badParamsTouch.identifier is 0
@@ -46,6 +50,8 @@ PASS badParamsTouch.webkitRadiusX is 0
PASS badParamsTouch.webkitRadiusY is 0
FAIL badParamsTouch.webkitRotationAngle should be NaN. Was 0.
FAIL badParamsTouch.webkitForce should be NaN. Was 0.
+FAIL badParamsTouch.tilt should be NaN. Was 0.
+FAIL badParamsTouch.tiltDirection should be NaN. Was 0.
PASS detachedTouch = document.implementation.createDocument('a', 'b').createTouch() is non-null.
PASS detachedTouch.target is null
PASS detachedTouch.identifier is 0
@@ -60,6 +66,8 @@ PASS detachedTouch.webkitRadiusX is 0
PASS detachedTouch.webkitRadiusY is 0
FAIL detachedTouch.webkitRotationAngle should be NaN. Was 0.
FAIL detachedTouch.webkitForce should be NaN. Was 0.
+FAIL detachedTouch.tilt should be NaN. Was 0.
+FAIL detachedTouch.tiltDirection should be NaN. Was 0.
PASS successfullyParsed is true
TEST COMPLETE

Powered by Google App Engine
This is Rietveld 408576698