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

Issue 2616483002: Reduce rectangle merges when doing region-based hit test on text boxes (Closed)

Created:
3 years, 11 months ago by Stephen Chennney
Modified:
3 years, 11 months ago
Reviewers:
wkorman
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
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reduce rectangle merges when doing region-based hit test on text boxes Only unite the box rect with the hit test result if it intersects the hit test rect. That is sufficient because the only use for the united rect is to check that it contains the location rect for early termination of testing. Patch based on work by oicqchen@gmail.com. R=wkorman@chromium.org BUG=676764 Review-Url: https://codereview.chromium.org/2616483002 Cr-Commit-Position: refs/heads/master@{#443684} Committed: https://chromium.googlesource.com/chromium/src/+/4f24093ff9c2a18dcddb8728edf40be941b8aadc

Patch Set 1 #

Total comments: 1

Patch Set 2 : Improve plus unit test #

Patch Set 3 : Improve test to be platform agnostic. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -4 lines) Patch
M third_party/WebKit/Source/core/layout/LayoutInline.cpp View 1 2 1 chunk +8 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutInlineTest.cpp View 1 2 1 chunk +30 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (13 generated)
wkorman
What about adding a unit test, or a performance test, or both? Not sure how ...
3 years, 11 months ago (2017-01-04 00:36:35 UTC) #6
Stephen Chennney
On 2017/01/04 00:36:35, wkorman wrote: > What about adding a unit test, or a performance ...
3 years, 11 months ago (2017-01-04 17:11:59 UTC) #7
Stephen Chennney
I've modified the logic a bit and have a unit test to confirm it works. ...
3 years, 11 months ago (2017-01-13 15:45:47 UTC) #10
wkorman
LGTM if we'd like to land this and observe
3 years, 11 months ago (2017-01-13 17:39:03 UTC) #13
Stephen Chennney
On 2017/01/13 17:39:03, wkorman wrote: > LGTM if we'd like to land this and observe ...
3 years, 11 months ago (2017-01-13 18:41:38 UTC) #14
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/2616483002/40001
3 years, 11 months ago (2017-01-13 19:44:08 UTC) #17
commit-bot: I haz the power
3 years, 11 months ago (2017-01-13 21:47:27 UTC) #20
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/4f24093ff9c2a18dcddb8728edf4...

Powered by Google App Engine
This is Rietveld 408576698