| Index: third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutBox.cpp b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| index b40e773f4d1ff2ff72edaab224c9ea101eed083b..ad50528b49ba5329cf14a335d5e2dbb4478426d3 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| @@ -4463,8 +4463,6 @@ LayoutRect LayoutBox::visualOverflowRectForPropagation(const ComputedStyle& pare
|
| // in a particular axis, then we have to flip the rect along that axis.
|
| if (style()->writingMode() == RightToLeftWritingMode || parentStyle.writingMode() == RightToLeftWritingMode)
|
| rect.setX(size().width() - rect.maxX());
|
| - else if (style()->writingMode() == BottomToTopWritingMode || parentStyle.writingMode() == BottomToTopWritingMode)
|
| - rect.setY(size().height() - rect.maxY());
|
|
|
| return rect;
|
| }
|
| @@ -4515,8 +4513,6 @@ LayoutRect LayoutBox::layoutOverflowRectForPropagation(const ComputedStyle& pare
|
| // in a particular axis, then we have to flip the rect along that axis.
|
| if (style()->writingMode() == RightToLeftWritingMode || parentStyle.writingMode() == RightToLeftWritingMode)
|
| rect.setX(size().width() - rect.maxX());
|
| - else if (style()->writingMode() == BottomToTopWritingMode || parentStyle.writingMode() == BottomToTopWritingMode)
|
| - rect.setY(size().height() - rect.maxY());
|
|
|
| return rect;
|
| }
|
|
|