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

Issue 685963002: We need to account for culled inline parents of the hit-tested nodes.(Reland) (Closed)

Created:
6 years, 1 month ago by Miyoung Shin(g)
Modified:
5 years, 10 months ago
CC:
blink-reviews, blink-reviews-rendering, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

We need to account for culled inline parents of the hit-tested nodes.(Reland) There are two kind of problem. One is that we get the wrong hit-test result from culled inlines because we try to overrun checking them until top of parent. The other is that mouse events aren't fired when there is the element culled inline like label element that doesn't has any background color or border or self-layer. This patch makes hit-test include not only area-based hit-tests but also point-based ones at the place handling culled inline. More information: https://docs.google.com/presentation/d/1KlT_FQxCTGeH-lPWjzXnPdZ3Bb1p7GL-IwoP-SfGvEo/edit#slide=id.g535467cad_40 BUG=312199, 435483 R=rbyers@chromium.org, pdr@chromium.org, leviw@chromium.org TEST=fast/events/hit-test-culled_inline.html =fast/dom/nodesFromRect/nodesFromRect-culled-inlines-between-silblings.html Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=187593

Patch Set 1 #

Patch Set 2 : #

Total comments: 1

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Total comments: 1

Patch Set 5 : #

Total comments: 10

Patch Set 6 : #

Total comments: 19

Patch Set 7 : #

Total comments: 8

Patch Set 8 : #

Total comments: 1

Patch Set 9 : #

Messages

Total messages: 58 (10 generated)
Miyoung Shin(g)
dstockwell@, PTAL
6 years, 1 month ago (2014-10-29 02:16:36 UTC) #1
dstockwell
I'm not very familiar with hit-testing, but this doesn't seem like the right fix for ...
6 years, 1 month ago (2014-10-29 02:46:48 UTC) #3
Miyoung Shin(g)
On 2014/10/29 02:46:48, dstockwell wrote: > I'm not very familiar with hit-testing, but this doesn't ...
6 years, 1 month ago (2014-10-29 03:29:21 UTC) #4
Miyoung Shin(g)
tkent@, PTAL, I'm not sure why win_blink_rel is failed. When I test manually http/tests/media/media-source/mediasource-play-then-seek-back.html in ...
6 years, 1 month ago (2014-10-30 15:36:39 UTC) #5
tkent
I'm not familiar with this code. Please find an appropriate reviewer.
6 years, 1 month ago (2014-10-31 01:36:27 UTC) #7
Miyoung Shin(g)
pdr@, I'm not sure that you are familiar with hit-testing. It's really hard to find ...
6 years, 1 month ago (2014-10-31 11:55:19 UTC) #9
pdr.
On 2014/10/31 at 11:55:19, myid.o.shin wrote: > pdr@, > I'm not sure that you are ...
6 years, 1 month ago (2014-11-02 19:50:28 UTC) #10
Miyoung Shin(g)
> Can you explain why the inline box was culled to begin with? My understanding ...
6 years, 1 month ago (2014-11-03 02:17:01 UTC) #11
pdr.
On 2014/11/03 at 02:17:01, myid.o.shin wrote: > > Does this happen with other elements too? ...
6 years, 1 month ago (2014-11-07 02:58:02 UTC) #12
Miyoung Shin(g)
On 2014/11/07 02:58:02, pdr wrote: > On 2014/11/03 at 02:17:01, myid.o.shin wrote: > > > ...
6 years, 1 month ago (2014-11-08 03:40:55 UTC) #13
pdr.
On 2014/11/08 at 03:40:55, myid.o.shin wrote: > On 2014/11/07 02:58:02, pdr wrote: > > On ...
6 years, 1 month ago (2014-11-08 03:44:11 UTC) #14
Miyoung Shin(g)
> I tried this in Firefox and they do not hit test the empty space ...
6 years, 1 month ago (2014-11-08 04:11:07 UTC) #15
pdr.
On 2014/11/08 at 04:11:07, myid.o.shin wrote: > > I tried this in Firefox and they ...
6 years, 1 month ago (2014-11-08 04:27:18 UTC) #17
Rick Byers
On 2014/11/08 04:27:18, pdr wrote: > On 2014/11/08 at 04:11:07, myid.o.shin wrote: > > > ...
6 years, 1 month ago (2014-11-10 18:40:02 UTC) #18
Rick Byers
https://codereview.chromium.org/685963002/diff/20001/LayoutTests/fast/forms/label/label-hit-test-culled_inline.html File LayoutTests/fast/forms/label/label-hit-test-culled_inline.html (right): https://codereview.chromium.org/685963002/diff/20001/LayoutTests/fast/forms/label/label-hit-test-culled_inline.html#newcode19 LayoutTests/fast/forms/label/label-hit-test-culled_inline.html:19: label.addEventListener('click', function() { labelClicked = true; }); There are ...
6 years, 1 month ago (2014-11-10 18:40:10 UTC) #19
leviw_travelin_and_unemployed
On 2014/11/10 at 18:40:02, rbyers wrote: > On 2014/11/08 04:27:18, pdr wrote: > > On ...
6 years, 1 month ago (2014-11-10 19:12:14 UTC) #20
pdr.
Sounds like we have quorum :) Lets give it a go once the test is ...
6 years, 1 month ago (2014-11-11 03:23:33 UTC) #21
Miyoung Shin(g)
Thanks, I've uploaded the patch to change the test case. PTAL
6 years, 1 month ago (2014-11-11 13:33:16 UTC) #22
Rick Byers
https://codereview.chromium.org/685963002/diff/40001/LayoutTests/fast/events/hit-test-culled_inline.html File LayoutTests/fast/events/hit-test-culled_inline.html (right): https://codereview.chromium.org/685963002/diff/40001/LayoutTests/fast/events/hit-test-culled_inline.html#newcode20 LayoutTests/fast/events/hit-test-culled_inline.html:20: debug(parent.nodeName + ' that is a parent of ' ...
6 years, 1 month ago (2014-11-11 17:19:16 UTC) #23
Miyoung Shin(g)
rbyers@, Thank you for your good tip. I've updated the test case to use elementFromPoint, ...
6 years, 1 month ago (2014-11-12 07:26:01 UTC) #24
Rick Byers
Thanks for improving the test. The improvement appears to uncovered a bug that needs investigating! ...
6 years, 1 month ago (2014-11-13 19:37:01 UTC) #25
Miyoung Shin(g)
On 2014/11/13 19:37:01, Rick Byers wrote: > Thanks for improving the test. The improvement appears ...
6 years, 1 month ago (2014-11-14 11:14:13 UTC) #26
Rick Byers
On 2014/11/14 11:14:13, Miyoung Shin(g) wrote: > On 2014/11/13 19:37:01, Rick Byers wrote: > > ...
6 years, 1 month ago (2014-11-14 21:59:11 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/685963002/60001
6 years, 1 month ago (2014-11-16 14:10:34 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: linux_blink_dbg on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/linux_blink_dbg/builds/33240)
6 years, 1 month ago (2014-11-16 16:15:30 UTC) #31
pdr.
On 2014/11/16 at 16:15:30, commit-bot wrote: > Try jobs failed on following builders: > linux_blink_dbg ...
6 years, 1 month ago (2014-11-17 04:23:52 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/685963002/60001
6 years, 1 month ago (2014-11-17 04:24:12 UTC) #34
commit-bot: I haz the power
Committed patchset #4 (id:60001) as 185417
6 years, 1 month ago (2014-11-17 05:27:00 UTC) #35
Miyoung Shin(g)
pdr@, rbyers@, PTAL.
6 years ago (2014-11-27 17:43:18 UTC) #36
Miyoung Shin(g)
pdr@, rbyers@, PTAL.
6 years ago (2014-12-04 06:53:52 UTC) #37
Rick Byers
On 2014/12/04 06:53:52, Miyoung Shin(g) wrote: > pdr@, rbyers@, PTAL. Sorry for the delay. I ...
6 years ago (2014-12-04 16:42:10 UTC) #38
pdr.
On 2014/12/04 at 16:42:10, rbyers wrote: > On 2014/12/04 06:53:52, Miyoung Shin(g) wrote: > > ...
6 years ago (2014-12-05 01:40:43 UTC) #39
Miyoung Shin(g)
On 2014/12/05 01:40:43, pdr wrote: > On 2014/12/04 at 16:42:10, rbyers wrote: > > On ...
6 years ago (2014-12-05 08:54:22 UTC) #40
pdr.
https://codereview.chromium.org/685963002/diff/80001/Source/core/rendering/InlineFlowBox.cpp File Source/core/rendering/InlineFlowBox.cpp (right): https://codereview.chromium.org/685963002/diff/80001/Source/core/rendering/InlineFlowBox.cpp#newcode1031 Source/core/rendering/InlineFlowBox.cpp:1031: // Check all of children including culled inlines. This ...
6 years ago (2014-12-05 21:21:01 UTC) #41
Miyoung Shin(g)
https://codereview.chromium.org/685963002/diff/80001/Source/core/rendering/InlineFlowBox.cpp File Source/core/rendering/InlineFlowBox.cpp (right): https://codereview.chromium.org/685963002/diff/80001/Source/core/rendering/InlineFlowBox.cpp#newcode1031 Source/core/rendering/InlineFlowBox.cpp:1031: // Check all of children including culled inlines. On ...
6 years ago (2014-12-06 07:22:11 UTC) #42
Miyoung Shin(g)
pdr@, I've uploaded the patch that includes to consider BIDI direction, PTAL.
6 years ago (2014-12-06 07:39:25 UTC) #43
pdr.
I apologize for the slow review. I like this patch and I think it's going ...
6 years ago (2014-12-10 07:16:19 UTC) #44
Miyoung Shin(g)
https://codereview.chromium.org/685963002/diff/100001/LayoutTests/fast/dom/nodesFromRect/nodesFromRect-culled-inlines-between-silblings.html File LayoutTests/fast/dom/nodesFromRect/nodesFromRect-culled-inlines-between-silblings.html (right): https://codereview.chromium.org/685963002/diff/100001/LayoutTests/fast/dom/nodesFromRect/nodesFromRect-culled-inlines-between-silblings.html#newcode1 LayoutTests/fast/dom/nodesFromRect/nodesFromRect-culled-inlines-between-silblings.html:1: <!DOCTYPE html> On 2014/12/10 07:16:19, pdr wrote: > This ...
6 years ago (2014-12-12 14:46:57 UTC) #45
pdr.
https://codereview.chromium.org/685963002/diff/100001/Source/core/rendering/InlineFlowBox.cpp File Source/core/rendering/InlineFlowBox.cpp (right): https://codereview.chromium.org/685963002/diff/100001/Source/core/rendering/InlineFlowBox.cpp#newcode1031 Source/core/rendering/InlineFlowBox.cpp:1031: // Check all of children including culled inlines. On ...
6 years ago (2014-12-12 21:21:08 UTC) #46
Miyoung Shin(g)
https://codereview.chromium.org/685963002/diff/100001/Source/core/rendering/InlineFlowBox.cpp File Source/core/rendering/InlineFlowBox.cpp (right): https://codereview.chromium.org/685963002/diff/100001/Source/core/rendering/InlineFlowBox.cpp#newcode1054 Source/core/rendering/InlineFlowBox.cpp:1054: if (!prev || curr->renderer() != prev->renderer()) { On 2014/12/12 ...
6 years ago (2014-12-14 06:54:56 UTC) #47
Miyoung Shin(g)
pdr@, I've uploaded the patch to apply your comment. PTAL.
6 years ago (2014-12-14 08:08:28 UTC) #48
pdr.
This is looking very good. I found a few more issues but I think we ...
6 years ago (2014-12-14 22:06:48 UTC) #49
Miyoung Shin(g)
https://codereview.chromium.org/685963002/diff/120001/Source/core/rendering/InlineFlowBox.cpp File Source/core/rendering/InlineFlowBox.cpp (right): https://codereview.chromium.org/685963002/diff/120001/Source/core/rendering/InlineFlowBox.cpp#newcode1049 Source/core/rendering/InlineFlowBox.cpp:1049: // If current inlinebox's renderer and previous inlinebox's renderer ...
6 years ago (2014-12-15 13:01:15 UTC) #50
Miyoung Shin(g)
pdr@. could you take a look ?
6 years ago (2014-12-20 00:43:23 UTC) #52
pdr.
Miyoung Shin, this is excellent work; thank you for sticking with it. This was a ...
6 years ago (2014-12-20 06:55:31 UTC) #54
Miyoung Shin(g)
On 2014/12/20 06:55:31, pdr wrote: > Miyoung Shin, this is excellent work; thank you for ...
6 years ago (2014-12-21 05:01:30 UTC) #55
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/685963002/180001
6 years ago (2014-12-21 05:02:04 UTC) #57
commit-bot: I haz the power
6 years ago (2014-12-21 06:15:03 UTC) #58
Message was sent while issue was closed.
Committed patchset #9 (id:180001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=187593

Powered by Google App Engine
This is Rietveld 408576698