Index: Source/core/layout/LayoutBox.h |
diff --git a/Source/core/layout/LayoutBox.h b/Source/core/layout/LayoutBox.h |
index 3e562d0c8dfa1c4b5df5678a11e62ea0d151c0da..2c716cf0c4bcec444e5425fb25547e2a084de1dd 100644 |
--- a/Source/core/layout/LayoutBox.h |
+++ b/Source/core/layout/LayoutBox.h |
@@ -108,6 +108,12 @@ public: |
int pixelSnappedLogicalHeight() const { return style()->isHorizontalWritingMode() ? pixelSnappedHeight() : pixelSnappedWidth(); } |
int pixelSnappedLogicalWidth() const { return style()->isHorizontalWritingMode() ? pixelSnappedWidth() : pixelSnappedHeight(); } |
+ LayoutUnit minimumLogicalHeightForEmptyLine() const |
+ { |
+ return borderAndPaddingLogicalHeight() + scrollbarLogicalHeight() |
+ + lineHeight(true, isHorizontalWritingMode() ? HorizontalLine : VerticalLine, PositionOfInteriorLineBoxes); |
+ } |
+ |
void setLogicalLeft(LayoutUnit left) |
{ |
if (style()->isHorizontalWritingMode()) |