Index: Source/core/rendering/RenderBox.h |
diff --git a/Source/core/rendering/RenderBox.h b/Source/core/rendering/RenderBox.h |
index 0ec1ff8d69c29d47b4638071d5ab06fe1e0639ab..e4bc4f0c9110cc9c22986834eb3a5024f0e374df 100644 |
--- a/Source/core/rendering/RenderBox.h |
+++ b/Source/core/rendering/RenderBox.h |
@@ -251,7 +251,7 @@ public: |
// More IE extensions. clientWidth and clientHeight represent the interior of an object |
// excluding border and scrollbar. clientLeft/Top are just the borderLeftWidth and borderTopWidth. |
- LayoutUnit clientLeft() const { return borderLeft(); } |
+ LayoutUnit clientLeft() const { return borderLeft() + (style()->shouldPlaceBlockDirectionScrollbarOnLogicalLeft() ? verticalScrollbarWidth() : 0); } |
LayoutUnit clientTop() const { return borderTop(); } |
LayoutUnit clientWidth() const; |
LayoutUnit clientHeight() const; |