Index: third_party/WebKit/Source/core/layout/line/InlineFlowBox.cpp |
diff --git a/third_party/WebKit/Source/core/layout/line/InlineFlowBox.cpp b/third_party/WebKit/Source/core/layout/line/InlineFlowBox.cpp |
index c82fb1e91220dc534395ae116707bd733da56d94..09711ba51840c6e1d5b6152a8750d8c169e0fd66 100644 |
--- a/third_party/WebKit/Source/core/layout/line/InlineFlowBox.cpp |
+++ b/third_party/WebKit/Source/core/layout/line/InlineFlowBox.cpp |
@@ -769,6 +769,8 @@ void InlineFlowBox::placeBoxesInBlockDirection( |
// m_layoutObject.isHorizontalWritingMode(). crbug.com/552954 |
// ASSERT(curr->isHorizontal() == |
// curr->getLineLayoutItem().style()->isHorizontalWritingMode()); |
+ // We may flip lines in case of verticalLR mode, so we can |
+ // assume verticalRL for now. |
LayoutUnit overSideMargin = |
curr->isHorizontal() ? box.marginTop() : box.marginRight(); |
LayoutUnit underSideMargin = |