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

Issue 1949563002: Retarget mouse event if the target is removed (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

Retarget mouse event if the target is removed This CL calculates the ancenstor chain for every mouse event and retarget the mouse event to the first ancestor of the node that is still in the document if the pointer event handler removes the target node. BUG=608003 Committed: https://crrev.com/827f606ae83c257352ab1711fe0eb4b142b8828f Cr-Commit-Position: refs/heads/master@{#392319}

Patch Set 1 #

Patch Set 2 : Using event path #

Total comments: 6

Patch Set 3 : Applying comments #

Messages

Total messages: 25 (6 generated)
Navid Zolghadr
This is the change to handle removing the node in pointer event handler. I personally ...
4 years, 7 months ago (2016-05-03 16:41:38 UTC) #2
dtapuska
On 2016/05/03 16:41:38, Navid Zolghadr wrote: > This is the change to handle removing the ...
4 years, 7 months ago (2016-05-03 17:07:25 UTC) #3
dtapuska
4 years, 7 months ago (2016-05-03 17:07:37 UTC) #4
Navid Zolghadr
On 2016/05/03 17:07:37, dtapuska wrote: Can you give me some pointers? Where do we handle ...
4 years, 7 months ago (2016-05-03 17:23:48 UTC) #5
dtapuska
On 2016/05/03 17:23:48, Navid Zolghadr wrote: > On 2016/05/03 17:07:37, dtapuska wrote: > > Can ...
4 years, 7 months ago (2016-05-03 17:25:36 UTC) #6
dtapuska
On 2016/05/03 17:25:36, dtapuska wrote: > On 2016/05/03 17:23:48, Navid Zolghadr wrote: > > On ...
4 years, 7 months ago (2016-05-03 17:32:00 UTC) #7
Navid Zolghadr
ptal. This one does sound better.
4 years, 7 months ago (2016-05-03 18:46:30 UTC) #8
Navid Zolghadr
On 2016/05/03 18:46:30, Navid Zolghadr wrote: > ptal. > > This one does sound better. ...
4 years, 7 months ago (2016-05-05 15:22:30 UTC) #9
mustaq
https://codereview.chromium.org/1949563002/diff/20001/third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/mouse-node-remove.html File third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/mouse-node-remove.html (right): https://codereview.chromium.org/1949563002/diff/20001/third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/mouse-node-remove.html#newcode30 third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/mouse-node-remove.html:30: Nit: empty line. https://codereview.chromium.org/1949563002/diff/20001/third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/mouse-node-remove.html#newcode80 third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/mouse-node-remove.html:80: removeNodeEvent = "pointerdown"; Please ...
4 years, 7 months ago (2016-05-05 15:31:02 UTC) #10
Navid Zolghadr
ptal. https://codereview.chromium.org/1949563002/diff/20001/third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/mouse-node-remove.html File third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/mouse-node-remove.html (right): https://codereview.chromium.org/1949563002/diff/20001/third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/mouse-node-remove.html#newcode30 third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/mouse-node-remove.html:30: On 2016/05/05 15:31:02, mustaq wrote: > Nit: empty ...
4 years, 7 months ago (2016-05-06 15:47:20 UTC) #11
mustaq
lgtm
4 years, 7 months ago (2016-05-06 15:54:47 UTC) #12
Navid Zolghadr
bokan@chromium.org: Please review changes in hird_party/WebKit/Source/core/*
4 years, 7 months ago (2016-05-06 15:55:53 UTC) #14
dtapuska
On 2016/05/06 15:55:53, Navid Zolghadr wrote: > mailto:bokan@chromium.org: Please review changes in > > hird_party/WebKit/Source/core/* ...
4 years, 7 months ago (2016-05-06 16:04:28 UTC) #15
bokan
lgtm
4 years, 7 months ago (2016-05-06 16:12:25 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1949563002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1949563002/40001
4 years, 7 months ago (2016-05-09 12:11:25 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/225465)
4 years, 7 months ago (2016-05-09 13:14:46 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1949563002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1949563002/40001
4 years, 7 months ago (2016-05-09 14:11:10 UTC) #22
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 7 months ago (2016-05-09 15:18:06 UTC) #23
commit-bot: I haz the power
4 years, 7 months ago (2016-05-09 15:19:13 UTC) #25
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/827f606ae83c257352ab1711fe0eb4b142b8828f
Cr-Commit-Position: refs/heads/master@{#392319}

Powered by Google App Engine
This is Rietveld 408576698