summaryrefslogtreecommitdiffstats
path: root/WebCore/rendering/RootInlineBox.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/rendering/RootInlineBox.h')
-rw-r--r--WebCore/rendering/RootInlineBox.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/WebCore/rendering/RootInlineBox.h b/WebCore/rendering/RootInlineBox.h
index ff98f24..d97d0b1 100644
--- a/WebCore/rendering/RootInlineBox.h
+++ b/WebCore/rendering/RootInlineBox.h
@@ -40,6 +40,7 @@ public:
, m_lineBreakPos(0)
, m_lineTop(0)
, m_lineBottom(0)
+ , m_paginationStrut(0)
{
}
@@ -57,6 +58,9 @@ public:
int lineTop() const { return m_lineTop; }
int lineBottom() const { return m_lineBottom; }
+ int paginationStrut() const { return m_paginationStrut; }
+ void setPaginationStrut(int s) { m_paginationStrut = s; }
+
int selectionTop() const;
int selectionBottom() const { return lineBottom(); }
int selectionHeight() const { return max(0, selectionBottom() - selectionTop()); }
@@ -141,6 +145,8 @@ private:
int m_lineTop;
int m_lineBottom;
+ int m_paginationStrut;
+
// Floats hanging off the line are pushed into this vector during layout. It is only
// good for as long as the line has not been marked dirty.
OwnPtr<Vector<RenderBox*> > m_floats;