class RenderArena;
class RenderBox;
class RenderObject;
+class RenderFlowThread;
class LayoutState {
WTF_MAKE_NONCOPYABLE(LayoutState);
public:
LayoutState()
: m_clipped(false)
+ , m_isPaginated(false)
, m_pageLogicalHeight(0)
, m_pageLogicalHeightChanged(false)
, m_columnInfo(0)
}
LayoutState(LayoutState*, RenderBox*, const LayoutSize& offset, LayoutUnit pageHeight, bool pageHeightChanged, ColumnInfo*);
+ LayoutState(LayoutState*, RenderFlowThread*);
LayoutState(RenderObject*);
void destroy(RenderArena*);
void clearPaginationInformation();
bool isPaginatingColumns() const { return m_columnInfo; }
- bool isPaginated() const { return m_pageLogicalHeight || m_columnInfo; }
+ bool isPaginated() const { return m_isPaginated; }
// The page logical offset is the object's offset from the top of the page in the page progression
// direction (so an x-offset in vertical text and a y-offset for horizontal text).
public:
bool m_clipped;
+ bool m_isPaginated;
LayoutRect m_clipRect;
// x/y offset from container. Includes relative positioning and scroll offsets.