| Index: Source/core/rendering/RenderBlock.cpp
|
| diff --git a/Source/core/rendering/RenderBlock.cpp b/Source/core/rendering/RenderBlock.cpp
|
| index 93a49477bba05a402300b1341bd58380a0242be6..681873d6556b003753433fc60cf36383609bbaf5 100644
|
| --- a/Source/core/rendering/RenderBlock.cpp
|
| +++ b/Source/core/rendering/RenderBlock.cpp
|
| @@ -3079,7 +3079,9 @@ bool RenderBlock::nodeAtPoint(const HitTestRequest& request, HitTestResult& resu
|
| return false;
|
| }
|
|
|
| - if ((hitTestAction == HitTestBlockBackground || hitTestAction == HitTestChildBlockBackground) && isPointInOverflowControl(result, locationInContainer.point(), adjustedLocation)) {
|
| + if ((hitTestAction == HitTestBlockBackground || hitTestAction == HitTestChildBlockBackground)
|
| + && visibleToHitTestRequest(request)
|
| + && isPointInOverflowControl(result, locationInContainer.point(), adjustedLocation)) {
|
| updateHitTestResult(result, locationInContainer.point() - localOffset);
|
| // FIXME: isPointInOverflowControl() doesn't handle rect-based tests yet.
|
| if (!result.addNodeToRectBasedTestResult(nodeForHitTest(), request, locationInContainer))
|
|
|