| 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 bd3dd55b2e8ccb76b136b641254925cee03264ec..2f8fd18c16d385ff6b13270ea52df7d15aa58057 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| @@ -991,6 +991,9 @@ bool LayoutBox::mapScrollingContentsRectToBoxSpace(LayoutRect& rect, ApplyOverfl
|
| return true;
|
|
|
| LayoutSize offset = LayoutSize(-scrolledContentOffset());
|
| + // Flipped-blocks scrolling grows in the opposite direction.
|
| + if (UNLIKELY(hasFlippedBlocksWritingMode()))
|
| + offset.setWidth(-offset.width());
|
| rect.move(offset);
|
|
|
| if (applyOverflowClip == ApplyNonScrollOverflowClip && scrollsOverflow())
|
|
|