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

Issue 1242593004: Fix invalidity in HitTestCache with LayoutParts. (Closed)

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

Description

Fix invalidity in HitTestCache with LayoutParts. The UMA metrics indicate that we don't have a matching HitTestRequest after a hit test. The only path that adjusts this is the LayoutPart. Attempt to fix this by recursively clearing the hit test cache when a child frame clears its own. BUG=398920 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=200439

Patch Set 1 #

Patch Set 2 : Add layout test #

Total comments: 10

Patch Set 3 : Fix issues in layout test #

Patch Set 4 : Adjust comment to be inclusive of all the cases #

Total comments: 1

Patch Set 5 : Make clearHitTestCache recursive #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -1 line) Patch
A LayoutTests/fast/events/hit-test-cache-iframes.html View 1 2 3 4 1 chunk +35 lines, -0 lines 0 comments Download
A LayoutTests/fast/events/hit-test-cache-iframes-expected.txt View 1 2 3 4 1 chunk +12 lines, -0 lines 0 comments Download
M Source/core/layout/LayoutView.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M Source/core/layout/LayoutView.cpp View 1 2 3 4 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (5 generated)
dtapuska
5 years, 5 months ago (2015-07-17 16:30:59 UTC) #2
esprehn
We really need tests, you're landing all these fixes without them. I don't understand the ...
5 years, 5 months ago (2015-07-17 17:32:26 UTC) #3
dtapuska
On 2015/07/17 17:32:26, esprehn wrote: > We really need tests, you're landing all these fixes ...
5 years, 5 months ago (2015-07-17 18:14:57 UTC) #4
esprehn
I don't think we can land this without a test. If you change the src ...
5 years, 5 months ago (2015-07-17 18:31:29 UTC) #5
dtapuska
On 2015/07/17 18:31:29, esprehn wrote: > I don't think we can land this without a ...
5 years, 5 months ago (2015-07-17 18:40:33 UTC) #6
esprehn
I'm out for the next 2 weeks, perhaps ojan@ or leviw@ can help you during ...
5 years, 5 months ago (2015-07-24 08:26:23 UTC) #8
dtapuska
On 2015/07/24 08:26:23, esprehn (ooo-until-aug-10) wrote: > I'm out for the next 2 weeks, perhaps ...
5 years, 4 months ago (2015-08-06 19:42:17 UTC) #9
ojan
pdr, this looks like it's in your wheelhouse. Mind reviewing? I won't be able to ...
5 years, 4 months ago (2015-08-06 20:42:27 UTC) #11
pdr.
On 2015/08/06 at 20:42:27, ojan wrote: > pdr, this looks like it's in your wheelhouse. ...
5 years, 4 months ago (2015-08-07 05:33:53 UTC) #12
pdr.
https://codereview.chromium.org/1242593004/diff/20001/LayoutTests/fast/events/hit-test-cache-iframes.html File LayoutTests/fast/events/hit-test-cache-iframes.html (right): https://codereview.chromium.org/1242593004/diff/20001/LayoutTests/fast/events/hit-test-cache-iframes.html#newcode1 LayoutTests/fast/events/hit-test-cache-iframes.html:1: <meta name="viewport" content="width=device-width, initial-scale=1"> Lets remove the meta viewport ...
5 years, 4 months ago (2015-08-08 05:44:14 UTC) #13
dtapuska
https://codereview.chromium.org/1242593004/diff/20001/LayoutTests/fast/events/hit-test-cache-iframes.html File LayoutTests/fast/events/hit-test-cache-iframes.html (right): https://codereview.chromium.org/1242593004/diff/20001/LayoutTests/fast/events/hit-test-cache-iframes.html#newcode1 LayoutTests/fast/events/hit-test-cache-iframes.html:1: <meta name="viewport" content="width=device-width, initial-scale=1"> On 2015/08/08 05:44:14, pdr wrote: ...
5 years, 4 months ago (2015-08-10 19:35:42 UTC) #14
pdr.
> https://codereview.chromium.org/1242593004/diff/20001/Source/core/layout/LayoutPart.cpp#newcode157 > Source/core/layout/LayoutPart.cpp:157: // likely isn't loaded yet; so don't cache this result. > ...
5 years, 4 months ago (2015-08-10 20:01:27 UTC) #15
dtapuska
On 2015/08/10 20:01:27, pdr wrote: > > > https://codereview.chromium.org/1242593004/diff/20001/Source/core/layout/LayoutPart.cpp#newcode157 > > Source/core/layout/LayoutPart.cpp:157: // likely isn't ...
5 years, 4 months ago (2015-08-10 20:11:10 UTC) #16
esprehn
Why don't we get invalidation callbacks for frames?
5 years, 4 months ago (2015-08-10 20:11:54 UTC) #17
dtapuska
On 2015/08/10 20:11:54, esprehn (ooo-until-aug-10) wrote: > Why don't we get invalidation callbacks for frames? ...
5 years, 4 months ago (2015-08-10 20:16:22 UTC) #18
esprehn
On 2015/08/10 at 20:16:22, dtapuska wrote: > On 2015/08/10 20:11:54, esprehn (ooo-until-aug-10) wrote: > > ...
5 years, 4 months ago (2015-08-10 21:22:02 UTC) #19
dtapuska
On 2015/08/10 21:22:02, esprehn (ooo-until-aug-10) wrote: > On 2015/08/10 at 20:16:22, dtapuska wrote: > > ...
5 years, 4 months ago (2015-08-11 18:25:15 UTC) #20
esprehn
lgtm
5 years, 4 months ago (2015-08-12 21:33:50 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1242593004/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1242593004/80001
5 years, 4 months ago (2015-08-12 21:59:19 UTC) #24
commit-bot: I haz the power
5 years, 4 months ago (2015-08-13 00:00:07 UTC) #25
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=200439

Powered by Google App Engine
This is Rietveld 408576698