Index: Source/core/layout/LayoutBox.h |
diff --git a/Source/core/layout/LayoutBox.h b/Source/core/layout/LayoutBox.h |
index 007514c0d38dc64433dad687d4364709236d76cf..6db68910aa1f8d30365c0eec7558aeafbe5ce5fa 100644 |
--- a/Source/core/layout/LayoutBox.h |
+++ b/Source/core/layout/LayoutBox.h |
@@ -285,6 +285,7 @@ public: |
void updateLayerTransformAfterLayout(); |
+ LayoutUnit contentWidthExcludingScrollbar() const { return m_frameRect.width() - borderLeft() - borderRight() - paddingLeft() - paddingRight(); } |
LayoutUnit contentWidth() const { return clientWidth() - paddingLeft() - paddingRight(); } |
LayoutUnit contentHeight() const { return clientHeight() - paddingTop() - paddingBottom(); } |
LayoutSize contentSize() const { return LayoutSize(contentWidth(), contentHeight()); } |