| Index: sky/engine/core/rendering/EllipsisBox.cpp
|
| diff --git a/sky/engine/core/rendering/EllipsisBox.cpp b/sky/engine/core/rendering/EllipsisBox.cpp
|
| index 10c880d651c2d0ffb663b3049f8aa56d368d668c..01ebc3d1bb54d0df2b82b244a6babb8aa8036549 100644
|
| --- a/sky/engine/core/rendering/EllipsisBox.cpp
|
| +++ b/sky/engine/core/rendering/EllipsisBox.cpp
|
| @@ -41,12 +41,8 @@ void EllipsisBox::paint(PaintInfo& paintInfo, const LayoutPoint& paintOffset, La
|
| const Font& font = style->font();
|
| FloatPoint boxOrigin = locationIncludingFlipping();
|
| boxOrigin.moveBy(FloatPoint(paintOffset));
|
| - if (!isHorizontal())
|
| - boxOrigin.move(0, -virtualLogicalHeight());
|
| FloatRect boxRect(boxOrigin, LayoutSize(logicalWidth(), virtualLogicalHeight()));
|
| GraphicsContextStateSaver stateSaver(*context);
|
| - if (!isHorizontal())
|
| - context->concatCTM(InlineTextBox::rotation(boxRect, InlineTextBox::Clockwise));
|
| FloatPoint textOrigin = FloatPoint(boxOrigin.x(), boxOrigin.y() + font.fontMetrics().ascent());
|
|
|
| Color styleTextColor = renderer().resolveColor(style, CSSPropertyWebkitTextFillColor);
|
| @@ -65,7 +61,7 @@ void EllipsisBox::paint(PaintInfo& paintInfo, const LayoutPoint& paintOffset, La
|
| const ShadowList* shadowList = style->textShadow();
|
| bool hasShadow = shadowList;
|
| if (hasShadow)
|
| - context->setDrawLooper(shadowList->createDrawLooper(DrawLooperBuilder::ShadowIgnoresAlpha, isHorizontal()));
|
| + context->setDrawLooper(shadowList->createDrawLooper(DrawLooperBuilder::ShadowIgnoresAlpha));
|
|
|
| TextRun textRun = constructTextRun(&renderer(), font, m_str, style, TextRun::AllowTrailingExpansion);
|
| TextRunPaintInfo textRunPaintInfo(textRun);
|
|
|