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

Issue 1288483003: Skipping mouseenter/over/out/leave on deleted nodes. (Closed)

Created:
5 years, 4 months ago by mustaq
Modified:
5 years, 4 months ago
Reviewers:
dtapuska, Rick Byers
CC:
blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Skipping mouseenter/over/out/leave on deleted nodes. Both IE and FF skip firing of mouse transition events at deleted nodes, with only IE doing it in a perfect manner by maintining the pairing of entry/exit events. A crack in our code had been causing firing of these events at a node after the node got deleted. This CL fixes the bug by making chromium behave similar to FF. The perfect solution seems non-trivial. BUG=515921 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=200656

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Total comments: 2

Patch Set 3 : Fixed bad test expectations #

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+100 lines, -86 lines) Patch
A LayoutTests/fast/events/mouse-events-on-node-deletion.html View 1 1 chunk +62 lines, -0 lines 0 comments Download
A LayoutTests/fast/events/mouse-events-on-node-deletion-expected.txt View 1 1 chunk +19 lines, -0 lines 0 comments Download
M LayoutTests/fast/events/mouseout-dead-node-expected.txt View 1 2 1 chunk +0 lines, -4 lines 0 comments Download
M LayoutTests/fast/events/mouseover-mouseout.html View 1 2 1 chunk +2 lines, -10 lines 0 comments Download
M LayoutTests/fast/events/mouseover-mouseout-expected.txt View 1 2 2 chunks +1 line, -26 lines 0 comments Download
M LayoutTests/fast/events/mouseover-mouseout2.html View 1 2 1 chunk +2 lines, -11 lines 0 comments Download
M LayoutTests/fast/events/mouseover-mouseout2-expected.txt View 1 2 2 chunks +1 line, -31 lines 0 comments Download
M Source/core/input/EventHandler.cpp View 1 2 3 4 chunks +13 lines, -4 lines 0 comments Download

Messages

Total messages: 23 (10 generated)
mustaq
ptal
5 years, 4 months ago (2015-08-11 17:55:34 UTC) #2
Rick Byers
LGTM with nit https://codereview.chromium.org/1288483003/diff/1/LayoutTests/fast/events/mouse-events-on-node-deletion-expected.txt File LayoutTests/fast/events/mouse-events-on-node-deletion-expected.txt (right): https://codereview.chromium.org/1288483003/diff/1/LayoutTests/fast/events/mouse-events-on-node-deletion-expected.txt#newcode13 LayoutTests/fast/events/mouse-events-on-node-deletion-expected.txt:13: outer received mouseenter Nit: It's this ...
5 years, 4 months ago (2015-08-12 22:16:58 UTC) #3
mustaq
https://codereview.chromium.org/1288483003/diff/1/LayoutTests/fast/events/mouse-events-on-node-deletion-expected.txt File LayoutTests/fast/events/mouse-events-on-node-deletion-expected.txt (right): https://codereview.chromium.org/1288483003/diff/1/LayoutTests/fast/events/mouse-events-on-node-deletion-expected.txt#newcode13 LayoutTests/fast/events/mouse-events-on-node-deletion-expected.txt:13: outer received mouseenter On 2015/08/12 22:16:58, Rick Byers wrote: ...
5 years, 4 months ago (2015-08-13 14:36:32 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1288483003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1288483003/20001
5 years, 4 months ago (2015-08-13 14:43:12 UTC) #7
Rick Byers
Thanks, still LGTM
5 years, 4 months ago (2015-08-13 14:43:26 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: mac_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/mac_blink_rel/builds/66099)
5 years, 4 months ago (2015-08-13 15:29:45 UTC) #10
dtapuska
https://codereview.chromium.org/1288483003/diff/20001/Source/core/input/EventHandler.cpp File Source/core/input/EventHandler.cpp (right): https://codereview.chromium.org/1288483003/diff/20001/Source/core/input/EventHandler.cpp#newcode1529 Source/core/input/EventHandler.cpp:1529: if (exitedNode && exitedNode->inDocument()) Can we just make an ...
5 years, 4 months ago (2015-08-14 17:20:09 UTC) #12
mustaq
https://codereview.chromium.org/1288483003/diff/20001/Source/core/input/EventHandler.cpp File Source/core/input/EventHandler.cpp (right): https://codereview.chromium.org/1288483003/diff/20001/Source/core/input/EventHandler.cpp#newcode1529 Source/core/input/EventHandler.cpp:1529: if (exitedNode && exitedNode->inDocument()) On 2015/08/14 17:20:09, dtapuska wrote: ...
5 years, 4 months ago (2015-08-14 21:00:16 UTC) #13
mustaq
On 2015/08/14 21:00:16, mustaq wrote: > https://codereview.chromium.org/1288483003/diff/20001/Source/core/input/EventHandler.cpp > File Source/core/input/EventHandler.cpp (right): > > https://codereview.chromium.org/1288483003/diff/20001/Source/core/input/EventHandler.cpp#newcode1529 > ...
5 years, 4 months ago (2015-08-14 21:09:48 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1288483003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1288483003/40001
5 years, 4 months ago (2015-08-14 21:24:41 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/93590)
5 years, 4 months ago (2015-08-14 22:26:03 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1288483003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1288483003/60001
5 years, 4 months ago (2015-08-17 17:07:40 UTC) #22
commit-bot: I haz the power
5 years, 4 months ago (2015-08-17 18:25:23 UTC) #23
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=200656

Powered by Google App Engine
This is Rietveld 408576698