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

Issue 249133002: hitTest should take care if the location is inside rounded border if border-radius is specified (Closed)

Created:
6 years, 8 months ago by pals
Modified:
6 years, 6 months ago
Reviewers:
ojan
CC:
blink-reviews, bemjb+rendering_chromium.org, dsinclair, zoltan1, eae+blinkwatch, leviw+renderwatch, jchaffraix+rendering, pdr.
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

hitTest should take care if the location is inside rounded border if border-radius is specified BUG=100004, 105447 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175094

Patch Set 1 #

Total comments: 12

Patch Set 2 : Fixed the review comments #

Total comments: 4

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -2 lines) Patch
A LayoutTests/fast/borders/border-radius-hittest.html View 1 1 chunk +42 lines, -0 lines 0 comments Download
A LayoutTests/fast/borders/border-radius-hittest-expected.txt View 1 1 chunk +11 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderBlock.cpp View 1 2 2 chunks +13 lines, -2 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
pals
As you pointed out in my last CL, there was a bug related to border-radius. ...
6 years, 8 months ago (2014-04-23 09:42:47 UTC) #1
pals
On 2014/04/23 09:42:47, sanjoy.pal wrote: > As you pointed out in my last CL, there ...
6 years, 7 months ago (2014-04-30 05:57:51 UTC) #2
ojan
Mostly just cleanup comments. The code change itself looks correct. Thanks for fixing this. Sorry ...
6 years, 7 months ago (2014-04-30 18:37:47 UTC) #3
pals
Please review. https://codereview.chromium.org/249133002/diff/1/LayoutTests/fast/borders/border-radius-hittest.html File LayoutTests/fast/borders/border-radius-hittest.html (right): https://codereview.chromium.org/249133002/diff/1/LayoutTests/fast/borders/border-radius-hittest.html#newcode18 LayoutTests/fast/borders/border-radius-hittest.html:18: y = offset(innerBox).top; On 2014/04/30 18:37:47, ojan ...
6 years, 7 months ago (2014-05-06 06:33:40 UTC) #4
ojan
https://codereview.chromium.org/249133002/diff/1/Source/core/rendering/RenderBlock.cpp File Source/core/rendering/RenderBlock.cpp (right): https://codereview.chromium.org/249133002/diff/1/Source/core/rendering/RenderBlock.cpp#newcode2886 Source/core/rendering/RenderBlock.cpp:2886: bool checkChildren = !useClip || (hasControlClip() ? locationInContainer.intersects(controlClipRect(adjustedLocation)) : ...
6 years, 7 months ago (2014-05-07 03:11:02 UTC) #5
ojan
https://codereview.chromium.org/249133002/diff/50001/Source/core/rendering/RenderBlock.cpp File Source/core/rendering/RenderBlock.cpp (right): https://codereview.chromium.org/249133002/diff/50001/Source/core/rendering/RenderBlock.cpp#newcode2885 Source/core/rendering/RenderBlock.cpp:2885: LayoutRect clipRect = overflowClipRect(adjustedLocation, IncludeOverlayScrollbarSize); It looks like this ...
6 years, 7 months ago (2014-05-07 03:18:27 UTC) #6
pals
PTAL. https://codereview.chromium.org/249133002/diff/1/Source/core/rendering/RenderBlock.cpp File Source/core/rendering/RenderBlock.cpp (right): https://codereview.chromium.org/249133002/diff/1/Source/core/rendering/RenderBlock.cpp#newcode2886 Source/core/rendering/RenderBlock.cpp:2886: bool checkChildren = !useClip || (hasControlClip() ? locationInContainer.intersects(controlClipRect(adjustedLocation)) ...
6 years, 7 months ago (2014-05-07 06:31:53 UTC) #7
pals
Updated the patch. Please take another look.
6 years, 7 months ago (2014-05-26 10:05:44 UTC) #8
ojan
lgtm Sorry for taking so long to get back to this. Thanks for fixing it.
6 years, 6 months ago (2014-05-29 22:58:06 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sanjoy.pal@samsung.com/249133002/70001
6 years, 6 months ago (2014-05-29 22:59:11 UTC) #10
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_blink_dbg on tryserver.blink ...
6 years, 6 months ago (2014-05-30 00:44:34 UTC) #11
commit-bot: I haz the power
6 years, 6 months ago (2014-05-30 02:05:02 UTC) #12
Message was sent while issue was closed.
Change committed as 175094

Powered by Google App Engine
This is Rietveld 408576698