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

Unified Diff: third_party/WebKit/LayoutTests/fast/events/constructors/pointer-event-constructor.html

Issue 2587393004: Add tangentialPressure and twist properties to PointerEvent on Mac (Closed)
Patch Set: rebase 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/fast/events/constructors/pointer-event-constructor.html
diff --git a/third_party/WebKit/LayoutTests/fast/events/constructors/pointer-event-constructor.html b/third_party/WebKit/LayoutTests/fast/events/constructors/pointer-event-constructor.html
index 134bb2f24212d1a0491088b09fd2e8f9639e5965..32dfdbd3c117dbbd957e396d2b2c22cc1641b79d 100644
--- a/third_party/WebKit/LayoutTests/fast/events/constructors/pointer-event-constructor.html
+++ b/third_party/WebKit/LayoutTests/fast/events/constructors/pointer-event-constructor.html
@@ -7,7 +7,7 @@ description("This tests the constructor for the PointerEvent DOM class.");
debug("--- tests for intrinsic attributes plus screen & client coordinates ---");
-["pointerId", "tiltX", "tiltY"].forEach(function (attr) {
+["pointerId", "tiltX", "tiltY", "twist"].forEach(function (attr) {
debug("-- no init --");
shouldBeZero("new PointerEvent('eventType')." + attr);
@@ -35,7 +35,7 @@ debug("--- tests for intrinsic attributes plus screen & client coordinates ---")
shouldBeEqualToNumber("new PointerEvent('eventType', { " + attr + ": {valueOf: function () { return 123; }} })." + attr, 123);
});
-["width", "height", "pressure", "screenX", "screenY", "clientX", "clientY"].forEach(function (attr) {
+["width", "height", "pressure", "tangentialPressure", "screenX", "screenY", "clientX", "clientY"].forEach(function (attr) {
debug("-- no init --");
var defaultValue = (attr == "width" || attr == "height") ? 1 : 0;
shouldBeEqualToNumber("new PointerEvent('eventType')." + attr, defaultValue);

Powered by Google App Engine
This is Rietveld 408576698