Chromium Code Reviews| Index: Source/core/rendering/RenderBox.h |
| diff --git a/Source/core/rendering/RenderBox.h b/Source/core/rendering/RenderBox.h |
| index 88d627d6e3ebbe547f0ec58df32dc3b872068aca..be6c0aff9454427f006c5afd85e1ce52c5bf86fc 100644 |
| --- a/Source/core/rendering/RenderBox.h |
| +++ b/Source/core/rendering/RenderBox.h |
| @@ -221,7 +221,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); } |
|
ojan
2013/10/01 19:24:52
This changes the web exposed behavior of clientLef
pals
2013/10/03 10:54:06
Removed the change from this patch. I shall create
|
| LayoutUnit clientTop() const { return borderTop(); } |
| LayoutUnit clientWidth() const; |
| LayoutUnit clientHeight() const; |