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

Issue 1513663002: Include inner border radius in block hit testing (Closed)

Created:
5 years ago by pdr.
Modified:
5 years ago
Reviewers:
chrishtr
CC:
blink-reviews, blink-reviews-layout_chromium.org, chromium-reviews, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, szager+layoutwatch_chromium.org, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Include inner border radius in block hit testing This patch fixes a bug in [1] where the a border radius used was used based on the clip rect instead of an inner border radius based on the border box. A test has been added covering both the overflow auto and overflow scroll cases. This patch also creates a new top-level hittesting directory for tests. [1] https://src.chromium.org/viewvc/blink?view=rev&revision=175094 BUG=468613 Committed: https://crrev.com/b6749c9b582f70fc9a5dcb364087e30cf45a7306 Cr-Commit-Position: refs/heads/master@{#364134}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Create hittesting directory for tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+129 lines, -182 lines) Patch
D third_party/WebKit/LayoutTests/fast/borders/border-hittest.html View 1 1 chunk +0 lines, -21 lines 0 comments Download
D third_party/WebKit/LayoutTests/fast/borders/border-hittest-expected.txt View 1 1 chunk +0 lines, -11 lines 0 comments Download
D third_party/WebKit/LayoutTests/fast/borders/border-hittest-inlineFlowBox.html View 1 1 chunk +0 lines, -63 lines 0 comments Download
D third_party/WebKit/LayoutTests/fast/borders/border-hittest-inlineFlowBox-expected.txt View 1 1 chunk +0 lines, -19 lines 0 comments Download
D third_party/WebKit/LayoutTests/fast/borders/border-radius-hittest.html View 1 1 chunk +0 lines, -42 lines 0 comments Download
D third_party/WebKit/LayoutTests/fast/borders/border-radius-hittest-expected.txt View 1 1 chunk +0 lines, -11 lines 0 comments Download
A + third_party/WebKit/LayoutTests/hittesting/border-hittest.html View 1 2 chunks +2 lines, -2 lines 0 comments Download
A + third_party/WebKit/LayoutTests/hittesting/border-hittest-expected.txt View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A + third_party/WebKit/LayoutTests/hittesting/border-hittest-inlineFlowBox.html View 1 1 chunk +1 line, -1 line 0 comments Download
A + third_party/WebKit/LayoutTests/hittesting/border-hittest-inlineFlowBox-expected.txt View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A + third_party/WebKit/LayoutTests/hittesting/border-radius-hittest.html View 1 1 chunk +1 line, -1 line 0 comments Download
A + third_party/WebKit/LayoutTests/hittesting/border-radius-hittest-expected.txt View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A third_party/WebKit/LayoutTests/hittesting/inner-border-radius-hittest.html View 1 1 chunk +88 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/hittesting/inner-border-radius-hittest-expected.txt View 1 1 chunk +24 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutBlock.cpp View 1 2 chunks +16 lines, -14 lines 0 comments Download

Messages

Total messages: 23 (8 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1513663002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1513663002/1
5 years ago (2015-12-09 05:54:45 UTC) #2
pdr.
After some more investigation... the !hasSelfPaintingLayer codepath is definitely needed.. This patch fixes a bug ...
5 years ago (2015-12-09 06:50:14 UTC) #4
commit-bot: I haz the power
Dry run: 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/146785)
5 years ago (2015-12-09 09:57:09 UTC) #6
chrishtr
What is the bug you're fixing? https://codereview.chromium.org/1513663002/diff/1/third_party/WebKit/LayoutTests/fast/borders/inner-border-radius-hittest.html File third_party/WebKit/LayoutTests/fast/borders/inner-border-radius-hittest.html (right): https://codereview.chromium.org/1513663002/diff/1/third_party/WebKit/LayoutTests/fast/borders/inner-border-radius-hittest.html#newcode2 third_party/WebKit/LayoutTests/fast/borders/inner-border-radius-hittest.html:2: <script src="../../resources/js-test.js"></script> Is ...
5 years ago (2015-12-09 17:06:40 UTC) #7
pdr.
This is a real bug where we used the wrong border radius, discovered while investigating ...
5 years ago (2015-12-09 17:42:08 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1513663002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1513663002/20001
5 years ago (2015-12-09 17:53:48 UTC) #11
chrishtr
Are the other callers of overflowClipRect also wrong then? Does overflowClipRect need to be fixed?
5 years ago (2015-12-09 17:55:58 UTC) #12
pdr.
On 2015/12/09 at 17:55:58, chrishtr wrote: > Are the other callers of overflowClipRect also wrong ...
5 years ago (2015-12-09 18:00:17 UTC) #13
chrishtr
On 2015/12/09 at 18:00:17, pdr wrote: > On 2015/12/09 at 17:55:58, chrishtr wrote: > > ...
5 years ago (2015-12-09 18:01:43 UTC) #14
pdr.
On 2015/12/09 at 18:01:43, chrishtr wrote: > On 2015/12/09 at 18:00:17, pdr wrote: > > ...
5 years ago (2015-12-09 18:11:53 UTC) #15
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years ago (2015-12-09 19:40:27 UTC) #17
chrishtr
lgtm
5 years ago (2015-12-09 19:46:54 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1513663002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1513663002/20001
5 years ago (2015-12-09 19:49:42 UTC) #20
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years ago (2015-12-09 19:59:13 UTC) #21
commit-bot: I haz the power
5 years ago (2015-12-09 20:00:08 UTC) #23
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/b6749c9b582f70fc9a5dcb364087e30cf45a7306
Cr-Commit-Position: refs/heads/master@{#364134}

Powered by Google App Engine
This is Rietveld 408576698