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

Issue 68243009: Fix RenderBlock::nodeAtPoint() for scrollbars of hidden and pointer-events:none elements (Closed)

Created:
7 years, 1 month ago by dtrebbien
Modified:
6 years, 11 months ago
CC:
blink-reviews, bemjb+rendering_chromium.org, eae+blinkwatch, leviw+renderwatch, jchaffraix+rendering, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Fix RenderBlock::nodeAtPoint() for scrollbars of hidden and pointer-events:none elements Make sure that the RenderBlock is visible to the hit test request before testing whether the test point is in an overflow control. This is similar to the code a few lines down that performs hit testing for the background. BUG=313908 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=164436

Patch Set 1 #

Patch Set 2 : Fix RenderBlock::nodeAtPoint() for scrollbars of hidden elements #

Patch Set 3 : Improve the test by also checking within div2's (hidden) horizontal scrollbar #

Total comments: 2

Patch Set 4 : Use DOM offsets and subtract 5px from edges #

Total comments: 2

Patch Set 5 : Test the effect of pointer-events:none on scrollbars #

Unified diffs Side-by-side diffs Delta from patch set Stats (+178 lines, -1 line) Patch
A LayoutTests/scrollbars/scrollbar-pointer-events.html View 1 2 3 4 1 chunk +108 lines, -0 lines 0 comments Download
A LayoutTests/scrollbars/scrollbar-pointer-events-expected.txt View 1 2 3 4 1 chunk +8 lines, -0 lines 0 comments Download
A LayoutTests/scrollbars/scrollbar-visibility-hidden.html View 1 2 3 4 1 chunk +54 lines, -0 lines 0 comments Download
A LayoutTests/scrollbars/scrollbar-visibility-hidden-expected.txt View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderBlock.cpp View 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 20 (0 generated)
dtrebbien
7 years, 1 month ago (2013-11-17 23:38:31 UTC) #1
tkent
I'm not familiar with this code. Adding people who might know.
7 years, 1 month ago (2013-11-18 01:21:49 UTC) #2
leviw_travelin_and_unemployed
On 2013/11/18 01:21:49, tkent wrote: > I'm not familiar with this code. Adding people who ...
7 years, 1 month ago (2013-11-18 04:10:33 UTC) #3
dtrebbien
On 2013/11/18 04:10:33, Levi wrote: > I'm unsure of how overflow controls are supposed to ...
7 years, 1 month ago (2013-11-18 12:59:33 UTC) #4
tony
Thanks for looking into this! Please send an email to www-style asking for clarifications with ...
7 years, 1 month ago (2013-11-18 17:26:55 UTC) #5
dtrebbien
On 2013/11/18 17:26:55, tony wrote: > Thanks for looking into this! Please send an email ...
7 years, 1 month ago (2013-11-19 13:15:32 UTC) #6
dtrebbien
On 2013/11/19 13:15:32, dtrebbien wrote: > https://codereview.chromium.org/68243009/diff/50001/LayoutTests/scrollbars/scrollbar-visibility-hidden.html > > File LayoutTests/scrollbars/scrollbar-visibility-hidden.html (right): > > What ...
7 years, 1 month ago (2013-11-19 13:25:23 UTC) #7
dtrebbien
On 2013/11/18 17:26:55, tony wrote: > https://codereview.chromium.org/68243009/diff/50001/LayoutTests/scrollbars/scrollbar-visibility-hidden.html#newcode29 > LayoutTests/scrollbars/scrollbar-visibility-hidden.html:29: var elem = > document.elementFromPoint(95, 120 ...
7 years, 1 month ago (2013-11-20 12:20:08 UTC) #8
tony
For those following at home, on www-style, Tab said that matching IE11 (which this patch ...
7 years, 1 month ago (2013-11-20 17:29:50 UTC) #9
leviw_travelin_and_unemployed
On 2013/11/20 17:29:50, tony wrote: > For those following at home, on www-style, Tab said ...
7 years, 1 month ago (2013-11-20 19:09:36 UTC) #10
dtrebbien
On 2013/11/20 17:29:50, tony wrote: > For those following at home, on www-style, Tab said ...
7 years, 1 month ago (2013-11-20 19:11:08 UTC) #11
leviw_travelin_and_unemployed
On 2013/11/20 19:11:08, dtrebbien wrote: > On 2013/11/20 17:29:50, tony wrote: > > For those ...
7 years, 1 month ago (2013-11-20 19:31:12 UTC) #12
leviw_travelin_and_unemployed
The code change looks good. Given the implications for pointer events, I'd really like a ...
7 years, 1 month ago (2013-11-20 19:33:26 UTC) #13
dtrebbien
On 2013/11/20 19:33:26, Levi wrote: > The code change looks good. Given the implications for ...
7 years, 1 month ago (2013-11-21 13:48:15 UTC) #14
dtrebbien
I thought that I could trigger try rebuilds, but it just shows up as red ...
7 years, 1 month ago (2013-11-22 12:27:48 UTC) #15
dtrebbien
Just wanted to let you all know that I haven't forgotten about this :) I ...
7 years ago (2013-12-03 23:43:02 UTC) #16
dtrebbien
On 2013/11/22 12:27:48, dtrebbien wrote: > Could someone add some trybots for the latest patch ...
7 years ago (2013-12-20 23:49:07 UTC) #17
ojan
lgtm
6 years, 11 months ago (2014-01-02 23:32:24 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dtrebbien@gmail.com/68243009/310001
6 years, 11 months ago (2014-01-02 23:32:31 UTC) #19
commit-bot: I haz the power
6 years, 11 months ago (2014-01-03 00:40:25 UTC) #20
Message was sent while issue was closed.
Change committed as 164436

Powered by Google App Engine
This is Rietveld 408576698