| Index: sky/engine/core/rendering/EllipsisBox.cpp
|
| diff --git a/sky/engine/core/rendering/EllipsisBox.cpp b/sky/engine/core/rendering/EllipsisBox.cpp
|
| index 23f1e94ff8090d3ae4f629abd09182a74cbdbbbf..10c880d651c2d0ffb663b3049f8aa56d368d668c 100644
|
| --- a/sky/engine/core/rendering/EllipsisBox.cpp
|
| +++ b/sky/engine/core/rendering/EllipsisBox.cpp
|
| @@ -133,10 +133,9 @@ void EllipsisBox::paintSelection(GraphicsContext* context, const FloatPoint& box
|
| c = Color(0xff - c.red(), 0xff - c.green(), 0xff - c.blue());
|
|
|
| GraphicsContextStateSaver stateSaver(*context);
|
| - LayoutUnit selectionBottom = root().selectionBottom();
|
| LayoutUnit top = root().selectionTop();
|
| LayoutUnit h = root().selectionHeight();
|
| - const int deltaY = roundToInt(renderer().style()->isFlippedLinesWritingMode() ? selectionBottom - logicalBottom() : logicalTop() - top);
|
| + const int deltaY = roundToInt(logicalTop() - top);
|
| const FloatPoint localOrigin(boxOrigin.x(), boxOrigin.y() - deltaY);
|
| FloatRect clipRect(localOrigin, FloatSize(m_logicalWidth, h.toFloat()));
|
| context->clip(clipRect);
|
|
|