| Index: sky/engine/core/rendering/RenderLineBoxList.cpp
|
| diff --git a/sky/engine/core/rendering/RenderLineBoxList.cpp b/sky/engine/core/rendering/RenderLineBoxList.cpp
|
| index 75bb637eafd3a7866f748533c71c1d59a57ebdaa..96d78367aa86beb3bcef8f948f934805e99b6526 100644
|
| --- a/sky/engine/core/rendering/RenderLineBoxList.cpp
|
| +++ b/sky/engine/core/rendering/RenderLineBoxList.cpp
|
| @@ -238,9 +238,7 @@ bool RenderLineBoxList::hitTest(RenderBoxModelObject* renderer, const HitTestReq
|
| return false;
|
|
|
| LayoutPoint point = locationInContainer.point();
|
| - LayoutRect rect = firstLineBox()->isHorizontal() ?
|
| - IntRect(point.x(), point.y() - locationInContainer.topPadding(), 1, locationInContainer.topPadding() + locationInContainer.bottomPadding() + 1) :
|
| - IntRect(point.x() - locationInContainer.leftPadding(), point.y(), locationInContainer.rightPadding() + locationInContainer.leftPadding() + 1, 1);
|
| + LayoutRect rect = IntRect(point.x(), point.y() - locationInContainer.topPadding(), 1, locationInContainer.topPadding() + locationInContainer.bottomPadding() + 1);
|
|
|
| if (!anyLineIntersectsRect(renderer, rect, accumulatedOffset))
|
| return false;
|
|
|