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

Issue 2389073002: Fix link's hover state if the link under scrollbar (Closed)

Created:
4 years, 2 months ago by chaopeng
Modified:
4 years, 1 month ago
Reviewers:
bokan
CC:
chromium-reviews, szager+layoutwatch_chromium.org, zoltan1, blink-reviews-layout_chromium.org, pdr+renderingwatchlist_chromium.org, eae+blinkwatch, leviw+renderwatch, jchaffraix+rendering, blink-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix link's hover state if the link under scrollbar In this patch, we check the hitTest includes scrollbar in ChromeClientImpl::showMouseOverURL, ChromeClient::mouseDidMoveOverElement, Document::updateHoverActiveState, EventHandler::selectAutoCursor to prevent showing url, tooltip and hand cursor when mouse move on the link under scrollbar or showing active state when mouse click on the link under scrollbar. BUG=636436 Committed: https://crrev.com/524f6ac4628d3d5249d291314c6100bd0a337053 Cr-Commit-Position: refs/heads/master@{#430141}

Patch Set 1 #

Patch Set 2 : test dry run #

Patch Set 3 : Merge remote-tracking branch 'origin/master' into fix-636436 #

Patch Set 4 : add test #

Total comments: 7

Patch Set 5 : fix for bokan's comments #

Patch Set 6 : fix for bokan's comments #

Total comments: 1

Patch Set 7 : fix test #

Total comments: 1

Patch Set 8 : add overlay check #

Patch Set 9 : add overlay check #

Patch Set 10 : Merge patch-2467693002 to fix testcase failed in OSX #

Unified diffs Side-by-side diffs Delta from patch set Stats (+154 lines, -31 lines) Patch
M third_party/WebKit/Source/core/dom/Document.h View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/Document.cpp View 1 2 3 4 5 6 7 8 9 2 chunks +7 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/input/EventHandler.cpp View 1 2 3 4 5 7 chunks +17 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/core/page/ChromeClient.cpp View 1 2 3 1 chunk +5 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/web/ChromeClientImpl.cpp View 1 2 3 4 1 chunk +19 lines, -12 lines 0 comments Download
M third_party/WebKit/Source/web/tests/WebFrameTest.cpp View 1 2 3 4 5 6 7 8 9 2 chunks +103 lines, -0 lines 0 comments Download

Messages

Total messages: 59 (38 generated)
chaopeng
PTAL Thank you
4 years, 1 month ago (2016-11-01 15:46:41 UTC) #16
bokan
I'm happy with the approach, I'd just like to make the test less manual. https://codereview.chromium.org/2389073002/diff/60001/third_party/WebKit/Source/core/dom/Document.h ...
4 years, 1 month ago (2016-11-01 21:09:38 UTC) #17
bokan
By the way, I'm running into issues with this layout test: plugins/overlay-scrollbar-mouse-capture.html And I think ...
4 years, 1 month ago (2016-11-02 00:09:54 UTC) #18
chaopeng
On 2016/11/02 00:09:54, bokan wrote: > By the way, I'm running into issues with this ...
4 years, 1 month ago (2016-11-02 19:05:38 UTC) #19
bokan
Looks like you've still got a failure in fast/overflow/scrollbar-click-retains-focus.html, I haven't looked at it so ...
4 years, 1 month ago (2016-11-02 21:36:34 UTC) #24
chaopeng
On 2016/11/02 21:36:34, bokan wrote: > Looks like you've still got a failure in > ...
4 years, 1 month ago (2016-11-03 02:56:11 UTC) #25
bokan
On 2016/11/03 02:56:11, chaopeng wrote: > On 2016/11/02 21:36:34, bokan wrote: > > Looks like ...
4 years, 1 month ago (2016-11-03 11:53:01 UTC) #30
bokan
https://codereview.chromium.org/2389073002/diff/120001/third_party/WebKit/LayoutTests/fast/overflow/scrollbar-click-retains-focus.html File third_party/WebKit/LayoutTests/fast/overflow/scrollbar-click-retains-focus.html (right): https://codereview.chromium.org/2389073002/diff/120001/third_party/WebKit/LayoutTests/fast/overflow/scrollbar-click-retains-focus.html#newcode122 third_party/WebKit/LayoutTests/fast/overflow/scrollbar-click-retains-focus.html:122: Nit: remove space
4 years, 1 month ago (2016-11-03 11:53:20 UTC) #31
bokan
On 2016/11/03 11:53:20, bokan wrote: > https://codereview.chromium.org/2389073002/diff/120001/third_party/WebKit/LayoutTests/fast/overflow/scrollbar-click-retains-focus.html > File > third_party/WebKit/LayoutTests/fast/overflow/scrollbar-click-retains-focus.html > (right): > > ...
4 years, 1 month ago (2016-11-03 16:49:45 UTC) #35
chaopeng
On 2016/11/03 16:49:45, bokan wrote: > On 2016/11/03 11:53:20, bokan wrote: > > > https://codereview.chromium.org/2389073002/diff/120001/third_party/WebKit/LayoutTests/fast/overflow/scrollbar-click-retains-focus.html ...
4 years, 1 month ago (2016-11-03 17:59:33 UTC) #36
bokan
On 2016/11/03 17:59:33, chaopeng wrote: > On 2016/11/03 16:49:45, bokan wrote: > > On 2016/11/03 ...
4 years, 1 month ago (2016-11-03 18:00:12 UTC) #37
bokan
still lgtm
4 years, 1 month ago (2016-11-03 18:23:10 UTC) #38
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/2389073002/180001
4 years, 1 month ago (2016-11-03 18:57:21 UTC) #43
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/330443)
4 years, 1 month ago (2016-11-03 20:25:24 UTC) #46
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/2389073002/180001
4 years, 1 month ago (2016-11-03 22:08:12 UTC) #48
commit-bot: I haz the power
Failed to apply patch for third_party/WebKit/Source/web/tests/WebFrameTest.cpp: While running git apply --index -3 -p1; error: patch ...
4 years, 1 month ago (2016-11-04 02:01:09 UTC) #50
bokan
On 2016/11/04 02:01:09, commit-bot: I haz the power wrote: > Failed to apply patch for ...
4 years, 1 month ago (2016-11-04 13:28:06 UTC) #51
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/2389073002/180001
4 years, 1 month ago (2016-11-05 01:43:10 UTC) #53
commit-bot: I haz the power
Committed patchset #10 (id:180001)
4 years, 1 month ago (2016-11-05 03:27:37 UTC) #55
commit-bot: I haz the power
Patchset 10 (id:??) landed as https://crrev.com/524f6ac4628d3d5249d291314c6100bd0a337053 Cr-Commit-Position: refs/heads/master@{#430141}
4 years, 1 month ago (2016-11-05 03:30:39 UTC) #57
bokan
4 years, 1 month ago (2016-11-08 17:11:23 UTC) #58
Message was sent while issue was closed.
A revert of this CL (patchset #10 id:180001) has been created in
https://codereview.chromium.org/2485203002/ by bokan@chromium.org.

The reason for reverting is: Due to crbug.com/662402, need to revert
crrev.com/2467693002 which this depends on. I'll reland when the dust settles..

Powered by Google App Engine
This is Rietveld 408576698