Index: Source/core/rendering/RenderLayerScrollableArea.cpp |
diff --git a/Source/core/rendering/RenderLayerScrollableArea.cpp b/Source/core/rendering/RenderLayerScrollableArea.cpp |
index d2689a4f0f0f53dbaec48383b9fd718d6cea7ffc..3a840ba27bfce7d5099dd6d73fcfee7975c94947 100644 |
--- a/Source/core/rendering/RenderLayerScrollableArea.cpp |
+++ b/Source/core/rendering/RenderLayerScrollableArea.cpp |
@@ -514,7 +514,7 @@ void RenderLayerScrollableArea::computeScrollDimensions() |
m_overflowRect = m_box->layoutOverflowRect(); |
m_box->flipForWritingMode(m_overflowRect); |
- int scrollableLeftOverflow = m_overflowRect.x() - m_box->borderLeft(); |
+ int scrollableLeftOverflow = m_overflowRect.x() - m_box->borderLeft() - (m_box->style()->shouldPlaceBlockDirectionScrollbarOnLogicalLeft() ? m_box->verticalScrollbarWidth() : 0); |
int scrollableTopOverflow = m_overflowRect.y() - m_box->borderTop(); |
setScrollOrigin(IntPoint(-scrollableLeftOverflow, -scrollableTopOverflow)); |
} |