| Index: sky/engine/core/rendering/InlineBox.cpp
|
| diff --git a/sky/engine/core/rendering/InlineBox.cpp b/sky/engine/core/rendering/InlineBox.cpp
|
| index ee657f6a3c91eb134efc9252f7fa473757be0c59..efa44a93fdd4a4a094108532f8e68988ae707bb8 100644
|
| --- a/sky/engine/core/rendering/InlineBox.cpp
|
| +++ b/sky/engine/core/rendering/InlineBox.cpp
|
| @@ -197,9 +197,6 @@ void InlineBox::paint(PaintInfo& paintInfo, const LayoutPoint& paintOffset, Layo
|
| return;
|
|
|
| LayoutPoint childPoint = paintOffset;
|
| - if (parent()->renderer().style()->isFlippedBlocksWritingMode()) // Faster than calling containingBlock().
|
| - childPoint = renderer().containingBlock()->flipForWritingModeForChild(&toRenderBox(renderer()), childPoint);
|
| -
|
| RenderBlock::paintAsInlineBlock(&renderer(), paintInfo, childPoint);
|
| }
|
|
|
| @@ -209,9 +206,6 @@ bool InlineBox::nodeAtPoint(const HitTestRequest& request, HitTestResult& result
|
| // own stacking context. (See Appendix E.2, section 6.4 on inline block/table elements in the CSS2.1
|
| // specification.)
|
| LayoutPoint childPoint = accumulatedOffset;
|
| - if (parent()->renderer().style()->isFlippedBlocksWritingMode()) // Faster than calling containingBlock().
|
| - childPoint = renderer().containingBlock()->flipForWritingModeForChild(&toRenderBox(renderer()), childPoint);
|
| -
|
| return renderer().hitTest(request, result, locationInContainer, childPoint);
|
| }
|
|
|
|
|