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

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

Issue 2024243002: Set default width/height of pointer events to 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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-expected.txt
diff --git a/third_party/WebKit/LayoutTests/fast/events/constructors/pointer-event-constructor-expected.txt b/third_party/WebKit/LayoutTests/fast/events/constructors/pointer-event-constructor-expected.txt
index 320faefb849e1ce3cb36fb9395af42b8d1383d7b..e2cfbc810eba5979fcc518d9cf45df89528fc5b2 100644
--- a/third_party/WebKit/LayoutTests/fast/events/constructors/pointer-event-constructor-expected.txt
+++ b/third_party/WebKit/LayoutTests/fast/events/constructors/pointer-event-constructor-expected.txt
@@ -71,7 +71,7 @@ FAIL new PointerEvent('eventType', { tiltY: {abc:1} }).tiltY should be 0. Threw
FAIL new PointerEvent('eventType', { tiltY: {} }).tiltY should be 0. Threw exception ReferenceError: PointerEvent is not defined
FAIL new PointerEvent('eventType', { tiltY: {valueOf: function () { return 123; }} }).tiltY should be 123. Threw exception ReferenceError: PointerEvent is not defined
-- no init --
-FAIL new PointerEvent('eventType').width should be 0. Threw exception ReferenceError: PointerEvent is not defined
+FAIL new PointerEvent('eventType').width should be 1. Threw exception ReferenceError: PointerEvent is not defined
-- init with valid float/double values --
FAIL new PointerEvent('eventType', { width: 123 }).width should be 123. Threw exception ReferenceError: PointerEvent is not defined
FAIL new PointerEvent('eventType', { width: -123 }).width should be -123. Threw exception ReferenceError: PointerEvent is not defined
@@ -84,7 +84,7 @@ PASS new PointerEvent('eventType', { width: '123abc' }).width threw exception Re
PASS new PointerEvent('eventType', { width: 'dummy' }).width threw exception ReferenceError: PointerEvent is not defined.
PASS new PointerEvent('eventType', { width: NaN }).width threw exception ReferenceError: PointerEvent is not defined.
FAIL new PointerEvent('eventType', { width: null }).width should be 0. Threw exception ReferenceError: PointerEvent is not defined
-FAIL new PointerEvent('eventType', { width: undefined }).width should be 0. Threw exception ReferenceError: PointerEvent is not defined
+FAIL new PointerEvent('eventType', { width: undefined }).width should be 1. Threw exception ReferenceError: PointerEvent is not defined
FAIL new PointerEvent('eventType', { width: [] }).width should be 0. Threw exception ReferenceError: PointerEvent is not defined
FAIL new PointerEvent('eventType', { width: [12] }).width should be 12. Threw exception ReferenceError: PointerEvent is not defined
PASS new PointerEvent('eventType', { width: [12, 34] }).width threw exception ReferenceError: PointerEvent is not defined.
@@ -93,7 +93,7 @@ PASS new PointerEvent('eventType', { width: {abc:1} }).width threw exception Ref
PASS new PointerEvent('eventType', { width: {} }).width threw exception ReferenceError: PointerEvent is not defined.
FAIL new PointerEvent('eventType', { width: {valueOf: function () { return 123; }} }).width should be 123. Threw exception ReferenceError: PointerEvent is not defined
-- no init --
-FAIL new PointerEvent('eventType').height should be 0. Threw exception ReferenceError: PointerEvent is not defined
+FAIL new PointerEvent('eventType').height should be 1. Threw exception ReferenceError: PointerEvent is not defined
-- init with valid float/double values --
FAIL new PointerEvent('eventType', { height: 123 }).height should be 123. Threw exception ReferenceError: PointerEvent is not defined
FAIL new PointerEvent('eventType', { height: -123 }).height should be -123. Threw exception ReferenceError: PointerEvent is not defined
@@ -106,7 +106,7 @@ PASS new PointerEvent('eventType', { height: '123abc' }).height threw exception
PASS new PointerEvent('eventType', { height: 'dummy' }).height threw exception ReferenceError: PointerEvent is not defined.
PASS new PointerEvent('eventType', { height: NaN }).height threw exception ReferenceError: PointerEvent is not defined.
FAIL new PointerEvent('eventType', { height: null }).height should be 0. Threw exception ReferenceError: PointerEvent is not defined
-FAIL new PointerEvent('eventType', { height: undefined }).height should be 0. Threw exception ReferenceError: PointerEvent is not defined
+FAIL new PointerEvent('eventType', { height: undefined }).height should be 1. Threw exception ReferenceError: PointerEvent is not defined
FAIL new PointerEvent('eventType', { height: [] }).height should be 0. Threw exception ReferenceError: PointerEvent is not defined
FAIL new PointerEvent('eventType', { height: [12] }).height should be 12. Threw exception ReferenceError: PointerEvent is not defined
PASS new PointerEvent('eventType', { height: [12, 34] }).height threw exception ReferenceError: PointerEvent is not defined.

Powered by Google App Engine
This is Rietveld 408576698