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

Issue 2965603002: Update hover states when dragging the mouse into an element (Closed)

Created:
3 years, 5 months ago by lanwei
Modified:
3 years, 5 months ago
CC:
chromium-reviews, sof, eae+blinkwatch, blink-reviews-dom_chromium.org, dglazkov+blink, blink-reviews, rwlbuis
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Update hover states when dragging the mouse into an element Now when we move the mouse into an element while pressing the left button, we do not update the hover states of the element. We should update hover states of the element, which is now underneath the mouse cursor no matter the mouse button is pressed or not. The design doc: https://docs.google.com/document/d/1TgqvDg8L_TkEiNjBUaz39FDgxpp5aj9ZdIWeQSanKHY/ BUG=122746 Review-Url: https://codereview.chromium.org/2965603002 Cr-Commit-Position: refs/heads/master@{#486537} Committed: https://chromium.googlesource.com/chromium/src/+/1c014b7ed8bd0c568f7f69b5f0c241f6fd635d2f

Patch Set 1 #

Patch Set 2 : hover active chain #

Total comments: 3

Patch Set 3 : hover drag #

Total comments: 11

Patch Set 4 : hover drag #

Messages

Total messages: 56 (44 generated)
lanwei
3 years, 5 months ago (2017-07-04 14:08:08 UTC) #26
Navid Zolghadr
A quick question. Does this code path affect when we are actually dragging a draggable ...
3 years, 5 months ago (2017-07-04 17:51:59 UTC) #27
lanwei
On 2017/07/04 17:51:59, Navid Zolghadr wrote: > A quick question. Does this code path affect ...
3 years, 5 months ago (2017-07-06 15:33:21 UTC) #32
lanwei
https://codereview.chromium.org/2965603002/diff/80001/third_party/WebKit/Source/core/dom/Document.cpp File third_party/WebKit/Source/core/dom/Document.cpp (right): https://codereview.chromium.org/2965603002/diff/80001/third_party/WebKit/Source/core/dom/Document.cpp#newcode6532 third_party/WebKit/Source/core/dom/Document.cpp:6532: // no problem in skipping this step. On 2017/07/04 ...
3 years, 5 months ago (2017-07-06 15:33:38 UTC) #33
Navid Zolghadr
lgtm https://codereview.chromium.org/2965603002/diff/100001/third_party/WebKit/LayoutTests/fast/events/no-hover-when-mouse-drag.html File third_party/WebKit/LayoutTests/fast/events/no-hover-when-mouse-drag.html (right): https://codereview.chromium.org/2965603002/diff/100001/third_party/WebKit/LayoutTests/fast/events/no-hover-when-mouse-drag.html#newcode37 third_party/WebKit/LayoutTests/fast/events/no-hover-when-mouse-drag.html:37: assert_equals(getComputedStyle(downbox).backgroundColor, "rgb(0, 0, 0)"); nit: I assume we ...
3 years, 5 months ago (2017-07-07 18:21:01 UTC) #34
Rick Byers
This looks like a reasonable change, thanks! LGTM It's been quite a while now since ...
3 years, 5 months ago (2017-07-07 20:02:17 UTC) #37
mustaq
Thanks for looking into this cryptic piece of code. I have a few questions mostly ...
3 years, 5 months ago (2017-07-10 15:40:48 UTC) #39
mustaq
On 2017/07/10 15:40:48, mustaq wrote: > Thanks for looking into this cryptic piece of code. ...
3 years, 5 months ago (2017-07-11 16:14:28 UTC) #40
lanwei
https://codereview.chromium.org/2965603002/diff/100001/third_party/WebKit/LayoutTests/fast/events/no-hover-when-mouse-drag.html File third_party/WebKit/LayoutTests/fast/events/no-hover-when-mouse-drag.html (right): https://codereview.chromium.org/2965603002/diff/100001/third_party/WebKit/LayoutTests/fast/events/no-hover-when-mouse-drag.html#newcode37 third_party/WebKit/LayoutTests/fast/events/no-hover-when-mouse-drag.html:37: assert_equals(getComputedStyle(downbox).backgroundColor, "rgb(0, 0, 0)"); On 2017/07/07 18:21:00, Navid Zolghadr ...
3 years, 5 months ago (2017-07-12 21:03:10 UTC) #47
Navid Zolghadr
Still lgtm. Thanks. The code looks cleaner now having two different functions for the active ...
3 years, 5 months ago (2017-07-13 21:00:42 UTC) #50
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2965603002/140001
3 years, 5 months ago (2017-07-13 21:06:19 UTC) #53
commit-bot: I haz the power
3 years, 5 months ago (2017-07-13 23:37:27 UTC) #56
Message was sent while issue was closed.
Committed patchset #4 (id:140001) as
https://chromium.googlesource.com/chromium/src/+/1c014b7ed8bd0c568f7f69b5f0c2...

Powered by Google App Engine
This is Rietveld 408576698