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

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

Issue 2889733002: Set the target lazily for the coalesced events (Closed)
Patch Set: Add missing override Created 3 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/events/MouseEvent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/external/wpt/pointerevents/extension/pointerevent_constructor.html
diff --git a/third_party/WebKit/LayoutTests/external/wpt/pointerevents/extension/pointerevent_constructor.html b/third_party/WebKit/LayoutTests/external/wpt/pointerevents/extension/pointerevent_constructor.html
index f5f8201c9edf25da4aa90a6421a5cc05f8133e0b..43d0aa5d38b2ac65b5100c9ba8fa2b794ffd03ee 100644
--- a/third_party/WebKit/LayoutTests/external/wpt/pointerevents/extension/pointerevent_constructor.html
+++ b/third_party/WebKit/LayoutTests/external/wpt/pointerevents/extension/pointerevent_constructor.html
@@ -33,11 +33,13 @@
["getCoalescedEvents()[" + i + "].pointerType", coalescedEvent.pointerType, event.pointerType],
["getCoalescedEvents()[" + i + "].isPrimary", coalescedEvent.isPrimary, event.isPrimary],
["getCoalescedEvents()[" + i + "].getCoalescedEvents().length", coalescedEvent.getCoalescedEvents().length, 0],
- ["getCoalescedEvents()[" + i + "].target", coalescedEvent.target, null],
- ["getCoalescedEvents()[" + i + "].currentTarget", coalescedEvent.target, null],
+ ["getCoalescedEvents()[" + i + "].target", coalescedEvent.target, target0],
+ ["getCoalescedEvents()[" + i + "].currentTarget", coalescedEvent.currentTarget, null],
["getCoalescedEvents()[" + i + "].eventPhase", coalescedEvent.eventPhase, Event.NONE],
["getCoalescedEvents()[" + i + "].cancelable", coalescedEvent.cancelable, false],
["getCoalescedEvents()[" + i + "].bubbles", coalescedEvent.bubbles, false],
+ ["getCoalescedEvents()[" + i + "].offsetX", coalescedEvent.offsetX, event.offsetX + (i==0?-10:0)],
+ ["getCoalescedEvents()[" + i + "].offsetY", coalescedEvent.offsetY, event.offsetY],
]);
}
}));
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/events/MouseEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698