| Index: sky/engine/core/rendering/RenderBlock.cpp
|
| diff --git a/sky/engine/core/rendering/RenderBlock.cpp b/sky/engine/core/rendering/RenderBlock.cpp
|
| index ee8c6d7c6dd5f2dd341ee90ee9172602aee0f610..5a9004d21c69aeb83d8d96115c675741820477bd 100644
|
| --- a/sky/engine/core/rendering/RenderBlock.cpp
|
| +++ b/sky/engine/core/rendering/RenderBlock.cpp
|
| @@ -1994,14 +1994,6 @@ void RenderBlock::markLinesDirtyInBlockRange(LayoutUnit logicalTop, LayoutUnit l
|
| }
|
| }
|
|
|
| -bool RenderBlock::isPointInOverflowControl(HitTestResult& result, const LayoutPoint& locationInContainer, const LayoutPoint& accumulatedOffset)
|
| -{
|
| - if (!scrollsOverflow())
|
| - return false;
|
| -
|
| - return layer()->scrollableArea()->hitTestOverflowControls(result, roundedIntPoint(locationInContainer - toLayoutSize(accumulatedOffset)));
|
| -}
|
| -
|
| Node* RenderBlock::nodeForHitTest() const
|
| {
|
| // If we are in the margins of block elements that are part of a
|
| @@ -2024,15 +2016,6 @@ bool RenderBlock::nodeAtPoint(const HitTestRequest& request, HitTestResult& resu
|
| return false;
|
| }
|
|
|
| - 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))
|
| - return true;
|
| - }
|
| -
|
| if (style()->clipPath()) {
|
| switch (style()->clipPath()->type()) {
|
| case ClipPathOperation::SHAPE: {
|
|
|