Index: Source/core/layout/LayoutBox.h |
diff --git a/Source/core/layout/LayoutBox.h b/Source/core/layout/LayoutBox.h |
index 2232b9d6ebfe741ebb4d7aa486c69a9355296fb0..000099e905e9a7761f641e376d38ec286e332bb9 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()); } |