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

Unified Diff: third_party/WebKit/LayoutTests/external/wpt/pointerevents/pointerevent_constructor.html

Issue 2642393002: Import wpt@40665266227e475bc4a56884247d8c09d78dfb6a (Closed)
Patch Set: rebaseline-cl Created 3 years, 11 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: third_party/WebKit/LayoutTests/external/wpt/pointerevents/pointerevent_constructor.html
diff --git a/third_party/WebKit/LayoutTests/external/wpt/pointerevents/pointerevent_constructor.html b/third_party/WebKit/LayoutTests/external/wpt/pointerevents/pointerevent_constructor.html
index b8a97d1a6bb7f7b895d16282a1231c335e35f650..b2a779d1f7385c3381a64e52cfdd2bc0069b8a8d 100644
--- a/third_party/WebKit/LayoutTests/external/wpt/pointerevents/pointerevent_constructor.html
+++ b/third_party/WebKit/LayoutTests/external/wpt/pointerevents/pointerevent_constructor.html
@@ -33,8 +33,6 @@
var testButton = 0;
var testButtons = 1;
var testPressure = 0.4;
- var testTangentialPressure = 0.5;
- var testTwist = 286;
var testIsPrimary = true;
on_event(target0, "pointerover", this.step_func(function(event) {
@@ -52,12 +50,10 @@
["custom clientY", event.clientY, testClientY],
["custom tiltX", event.tiltX, testTiltX],
["custom tiltY", event.tiltY, testTiltY],
- ["custom twist", event.twist, testTwist],
["custom isPrimary", event.isPrimary, testIsPrimary]
]);
test(function() {
assert_approx_equals(event.pressure, testPressure, 0.00000001, "custom pressure: ");
- assert_approx_equals(event.tangentialPressure, testTangentialPressure, 0.00000001, "custom tangential pressure: ");
}, "custom pressure: ");
}));
@@ -70,8 +66,6 @@
["default tiltX", event.tiltX, 0],
["default tiltY", event.tiltY, 0],
["default pressure", event.pressure, 0],
- ["default tangentialPressure", event.tangentialPressure, 0],
- ["default twist", event.twist, 0],
["default isPrimary", event.isPrimary, false]
]);
}));
@@ -93,8 +87,6 @@
button: testButton,
buttons: testButtons,
pressure: testPressure,
- tangentialPressure: testTangentialPressure,
- twist: testTwist,
isPrimary: testIsPrimary
});
// A PointerEvent created with a PointerEvent constructor must have all its attributes set to the corresponding values provided to the constructor.

Powered by Google App Engine
This is Rietveld 408576698