| Index: sky/engine/core/rendering/RenderBoxModelObject.cpp
|
| diff --git a/sky/engine/core/rendering/RenderBoxModelObject.cpp b/sky/engine/core/rendering/RenderBoxModelObject.cpp
|
| index 007cfb9d33cacd5eee2800e460570a614100f90b..93b1cb8d2e6566ce65a6b585f8ae002a599dac80 100644
|
| --- a/sky/engine/core/rendering/RenderBoxModelObject.cpp
|
| +++ b/sky/engine/core/rendering/RenderBoxModelObject.cpp
|
| @@ -2536,9 +2536,9 @@ LayoutRect RenderBoxModelObject::localCaretRectForEmptyElement(LayoutUnit width,
|
| x = std::min(x, std::max<LayoutUnit>(maxX - caretWidth, 0));
|
|
|
| LayoutUnit height = style()->fontMetrics().height();
|
| - LayoutUnit verticalSpace = lineHeight(true, currentStyle->isHorizontalWritingMode() ? HorizontalLine : VerticalLine, PositionOfInteriorLineBoxes) - height;
|
| + LayoutUnit verticalSpace = lineHeight(true, HorizontalLine, PositionOfInteriorLineBoxes) - height;
|
| LayoutUnit y = paddingTop() + borderTop() + (verticalSpace / 2);
|
| - return currentStyle->isHorizontalWritingMode() ? LayoutRect(x, y, caretWidth, height) : LayoutRect(y, x, height, caretWidth);
|
| + return LayoutRect(x, y, caretWidth, height);
|
| }
|
|
|
| bool RenderBoxModelObject::shouldAntialiasLines(GraphicsContext* context)
|
|
|