diff options
Diffstat (limited to 'Source/WebCore/rendering/RenderTableCell.h')
-rw-r--r-- | Source/WebCore/rendering/RenderTableCell.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Source/WebCore/rendering/RenderTableCell.h b/Source/WebCore/rendering/RenderTableCell.h index cfdb739..9884999 100644 --- a/Source/WebCore/rendering/RenderTableCell.h +++ b/Source/WebCore/rendering/RenderTableCell.h @@ -120,11 +120,15 @@ public: virtual int paddingAfter(bool includeIntrinsicPadding = true) const; virtual void setOverrideSize(int); + void setOverrideSizeFromRowHeight(int); bool hasVisualOverflow() const { return m_overflow && !borderBoxRect().contains(m_overflow->visualOverflowRect()); } virtual void scrollbarsChanged(bool horizontalScrollbarChanged, bool verticalScrollbarChanged); + bool cellWidthChanged() const { return m_cellWidthChanged; } + void setCellWidthChanged(bool b = true) { m_cellWidthChanged = b; } + protected: virtual void styleWillChange(StyleDifference, const RenderStyle* newStyle); virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle); @@ -136,8 +140,6 @@ private: virtual void destroy(); - virtual bool requiresLayer() const { return isPositioned() || isTransparent() || hasOverflowClip() || hasTransform() || hasMask() || hasReflection(); } - virtual void computeLogicalWidth(); virtual void paintBoxDecorations(PaintInfo&, int tx, int ty); @@ -152,7 +154,8 @@ private: int m_row; int m_column; int m_rowSpan; - int m_columnSpan; + int m_columnSpan : 31; + bool m_cellWidthChanged : 1; int m_intrinsicPaddingBefore; int m_intrinsicPaddingAfter; }; |