Index: Source/core/rendering/RenderTableSection.h |
diff --git a/Source/core/rendering/RenderTableSection.h b/Source/core/rendering/RenderTableSection.h |
index 47252401f7b3ffcde5d62fb95c6d2585f1cc734d..2807af6156b456393a7f5cc446b41275b7157bc6 100644 |
--- a/Source/core/rendering/RenderTableSection.h |
+++ b/Source/core/rendering/RenderTableSection.h |
@@ -122,6 +122,21 @@ public: |
Length logicalHeight; |
}; |
+ struct SpanningRowsHeight { |
+ WTF_MAKE_NONCOPYABLE(SpanningRowsHeight); |
+ |
+ public: |
+ SpanningRowsHeight() |
+ : totalRowsHeight(0) |
+ , spanningCellHeightIgnoringBorderSpacing(0) |
+ { |
+ } |
+ |
+ Vector<int> rowHeight; |
+ int totalRowsHeight; |
+ int spanningCellHeightIgnoringBorderSpacing; |
+ }; |
+ |
const BorderValue& borderAdjoiningTableStart() const |
{ |
if (hasSameDirectionAs(table())) |
@@ -226,6 +241,10 @@ private: |
void ensureRows(unsigned); |
+ void populateSpanningRowsHeightFromCell(RenderTableCell*, struct SpanningRowsHeight&); |
+ void distributeExtraRowSpanHeightToPercentRows(RenderTableCell*, int, int&, Vector<int>&); |
+ void distributeExtraRowSpanHeightToAutoRows(RenderTableCell*, int, int&, Vector<int>&); |
+ void distributeExtraRowSpanHeightToRemainingRows(RenderTableCell*, int, int&, Vector<int>&); |
void distributeRowSpanHeightToRows(SpanningRenderTableCells& rowSpanCells); |
void distributeExtraLogicalHeightToPercentRows(int& extraLogicalHeight, int totalPercent); |