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

Issue 1964523002: Fix clientX/Y properties of touch pointer events (Closed)

Created:
4 years, 7 months ago by Navid Zolghadr
Modified:
4 years, 7 months ago
Reviewers:
mustaq, dtapuska, bokan
CC:
chromium-reviews, blink-reviews, dtapuska+blinkwatch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix clientX/Y properties of touch pointer events Before this change clientX/Y of touch pointer events were incorrectly set from content coordinates. But after this CL they are correctly translated by scroll position and will become clientX/Y. BUG=608394 Committed: https://crrev.com/52b840ceccfb1041681e0e85a61e9bcdee071b8a Cr-Commit-Position: refs/heads/master@{#392722}

Patch Set 1 #

Total comments: 8

Patch Set 2 : clientPoint -> framePoint #

Total comments: 10

Patch Set 3 : Applying comments #

Total comments: 6

Patch Set 4 : Fix zoom problem #

Messages

Total messages: 28 (7 generated)
Navid Zolghadr
4 years, 7 months ago (2016-05-09 14:28:50 UTC) #2
mustaq
https://codereview.chromium.org/1964523002/diff/1/third_party/WebKit/Source/core/input/TouchEventManager.h File third_party/WebKit/Source/core/input/TouchEventManager.h (right): https://codereview.chromium.org/1964523002/diff/1/third_party/WebKit/Source/core/input/TouchEventManager.h#newcode40 third_party/WebKit/Source/core/input/TouchEventManager.h:40: FloatPoint clientPoint; bokan@: "client" seems to be an overloaded ...
4 years, 7 months ago (2016-05-09 14:49:06 UTC) #3
Navid Zolghadr
On 2016/05/09 14:49:06, mustaq wrote: > https://codereview.chromium.org/1964523002/diff/1/third_party/WebKit/Source/core/input/TouchEventManager.h > File third_party/WebKit/Source/core/input/TouchEventManager.h (right): > > https://codereview.chromium.org/1964523002/diff/1/third_party/WebKit/Source/core/input/TouchEventManager.h#newcode40 > ...
4 years, 7 months ago (2016-05-09 14:51:53 UTC) #4
mustaq
On 2016/05/09 14:51:53, Navid Zolghadr wrote: > On 2016/05/09 14:49:06, mustaq wrote: > > > ...
4 years, 7 months ago (2016-05-09 15:01:15 UTC) #5
Navid Zolghadr
On 2016/05/09 15:01:15, mustaq wrote: > On 2016/05/09 14:51:53, Navid Zolghadr wrote: > > On ...
4 years, 7 months ago (2016-05-09 15:02:04 UTC) #6
Navid Zolghadr
https://codereview.chromium.org/1964523002/diff/1/third_party/WebKit/Source/core/input/TouchEventManager.h File third_party/WebKit/Source/core/input/TouchEventManager.h (right): https://codereview.chromium.org/1964523002/diff/1/third_party/WebKit/Source/core/input/TouchEventManager.h#newcode40 third_party/WebKit/Source/core/input/TouchEventManager.h:40: FloatPoint clientPoint; On 2016/05/09 14:49:05, mustaq wrote: > bokan@: ...
4 years, 7 months ago (2016-05-09 17:01:43 UTC) #9
bokan
https://codereview.chromium.org/1964523002/diff/1/third_party/WebKit/Source/core/input/TouchEventManager.h File third_party/WebKit/Source/core/input/TouchEventManager.h (right): https://codereview.chromium.org/1964523002/diff/1/third_party/WebKit/Source/core/input/TouchEventManager.h#newcode40 third_party/WebKit/Source/core/input/TouchEventManager.h:40: FloatPoint clientPoint; On 2016/05/09 17:01:43, Navid Zolghadr wrote: > ...
4 years, 7 months ago (2016-05-09 17:17:48 UTC) #10
Navid Zolghadr
I changed clientPoint to framePoint as it is an internal state. ptal.
4 years, 7 months ago (2016-05-09 17:46:29 UTC) #11
mustaq
https://codereview.chromium.org/1964523002/diff/1/third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-event-properties-in-iframe-expected.txt File third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-event-properties-in-iframe-expected.txt (right): https://codereview.chromium.org/1964523002/diff/1/third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-event-properties-in-iframe-expected.txt#newcode11 third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-event-properties-in-iframe-expected.txt:11: clientX = 92 It's not clear to me why ...
4 years, 7 months ago (2016-05-09 18:08:35 UTC) #12
bokan
https://codereview.chromium.org/1964523002/diff/1/third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-event-properties-in-iframe-expected.txt File third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-event-properties-in-iframe-expected.txt (right): https://codereview.chromium.org/1964523002/diff/1/third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-event-properties-in-iframe-expected.txt#newcode11 third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-event-properties-in-iframe-expected.txt:11: clientX = 92 On 2016/05/09 18:08:34, mustaq wrote: > ...
4 years, 7 months ago (2016-05-09 18:13:08 UTC) #13
mustaq
https://codereview.chromium.org/1964523002/diff/20001/third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-event-properties-in-iframe.html File third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-event-properties-in-iframe.html (right): https://codereview.chromium.org/1964523002/diff/20001/third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-event-properties-in-iframe.html#newcode40 third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-event-properties-in-iframe.html:40: document.getElementById('target').contentWindow.scrollTo(0, 100); Can we test the same event sequence ...
4 years, 7 months ago (2016-05-09 18:16:50 UTC) #14
Navid Zolghadr
ptal. https://codereview.chromium.org/1964523002/diff/1/third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-event-properties-in-iframe-expected.txt File third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-event-properties-in-iframe-expected.txt (right): https://codereview.chromium.org/1964523002/diff/1/third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-event-properties-in-iframe-expected.txt#newcode11 third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-event-properties-in-iframe-expected.txt:11: clientX = 92 On 2016/05/09 18:13:08, bokan wrote: ...
4 years, 7 months ago (2016-05-09 18:59:04 UTC) #15
bokan
https://codereview.chromium.org/1964523002/diff/40001/third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-event-properties-in-iframe-expected.txt File third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-event-properties-in-iframe-expected.txt (right): https://codereview.chromium.org/1964523002/diff/40001/third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-event-properties-in-iframe-expected.txt#newcode30 third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-event-properties-in-iframe-expected.txt:30: clientY = -107 This looks wrong to me. For ...
4 years, 7 months ago (2016-05-09 21:03:07 UTC) #16
Navid Zolghadr
On 2016/05/09 21:03:07, bokan wrote: > https://codereview.chromium.org/1964523002/diff/40001/third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-event-properties-in-iframe-expected.txt > File > third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-event-properties-in-iframe-expected.txt > (right): > > ...
4 years, 7 months ago (2016-05-10 13:41:43 UTC) #17
Navid Zolghadr
https://codereview.chromium.org/1964523002/diff/40001/third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-event-properties-in-iframe-expected.txt File third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-event-properties-in-iframe-expected.txt (right): https://codereview.chromium.org/1964523002/diff/40001/third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-event-properties-in-iframe-expected.txt#newcode30 third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-event-properties-in-iframe-expected.txt:30: clientY = -107 On 2016/05/09 21:03:07, bokan wrote: > ...
4 years, 7 months ago (2016-05-10 15:01:40 UTC) #18
bokan
https://codereview.chromium.org/1964523002/diff/40001/third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-event-properties-in-iframe-expected.txt File third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-event-properties-in-iframe-expected.txt (right): https://codereview.chromium.org/1964523002/diff/40001/third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-event-properties-in-iframe-expected.txt#newcode30 third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-event-properties-in-iframe-expected.txt:30: clientY = -107 On 2016/05/10 15:01:40, Navid Zolghadr wrote: ...
4 years, 7 months ago (2016-05-10 16:33:54 UTC) #19
mustaq
lgtm. https://codereview.chromium.org/1964523002/diff/40001/third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-event-properties-in-iframe.html File third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-event-properties-in-iframe.html (right): https://codereview.chromium.org/1964523002/diff/40001/third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-event-properties-in-iframe.html#newcode39 third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-event-properties-in-iframe.html:39: document.getElementById('target').contentWindow.scrollTo(scrollX, scrollY); Please print a test scenario header ...
4 years, 7 months ago (2016-05-10 17:26:16 UTC) #20
Navid Zolghadr
https://codereview.chromium.org/1964523002/diff/40001/third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-event-properties-in-iframe-expected.txt File third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-event-properties-in-iframe-expected.txt (right): https://codereview.chromium.org/1964523002/diff/40001/third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-event-properties-in-iframe-expected.txt#newcode30 third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-event-properties-in-iframe-expected.txt:30: clientY = -107 On 2016/05/10 16:33:53, bokan wrote: > ...
4 years, 7 months ago (2016-05-10 17:46:42 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1964523002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1964523002/60001
4 years, 7 months ago (2016-05-10 19:14:18 UTC) #24
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 7 months ago (2016-05-10 21:18:38 UTC) #26
commit-bot: I haz the power
4 years, 7 months ago (2016-05-10 21:20:20 UTC) #28
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/52b840ceccfb1041681e0e85a61e9bcdee071b8a
Cr-Commit-Position: refs/heads/master@{#392722}

Powered by Google App Engine
This is Rietveld 408576698