Index: Source/core/rendering/RenderTableSection.h |
diff --git a/Source/core/rendering/RenderTableSection.h b/Source/core/rendering/RenderTableSection.h |
index 2707d74ce1dbf91b934b00f5ef67a322d7db2266..9666a26775640d48437a15267c0f99b99fcf5efc 100644 |
--- a/Source/core/rendering/RenderTableSection.h |
+++ b/Source/core/rendering/RenderTableSection.h |
@@ -129,12 +129,14 @@ public: |
SpanningRowsHeight() |
: totalRowsHeight(0) |
, spanningCellHeightIgnoringBorderSpacing(0) |
+ , rowsCountWithOnlySpanningCells(0) |
{ |
} |
Vector<int> rowHeight; |
int totalRowsHeight; |
int spanningCellHeightIgnoringBorderSpacing; |
+ int rowsCountWithOnlySpanningCells; |
Julien - ping for review
2013/09/09 21:32:55
Do we need to keep track of the count or just whet
a.suchit
2013/09/10 13:48:00
just whether we have one. Changed it to bool type.
|
}; |
const BorderValue& borderAdjoiningTableStart() const |
@@ -241,6 +243,10 @@ private: |
void ensureRows(unsigned); |
+ unsigned hasRowOnlySpanningCells(unsigned); |
+ unsigned calcRowHeightHavingOnlySpanningCells(unsigned); |
+ void updateRowsHeightHavingOnlySpanningCells(RenderTableCell*, struct SpanningRowsHeight&); |
+ |
void populateSpanningRowsHeightFromCell(RenderTableCell*, struct SpanningRowsHeight&); |
void distributeExtraRowSpanHeightToPercentRows(RenderTableCell*, int, int&, Vector<int>&); |
void distributeExtraRowSpanHeightToAutoRows(RenderTableCell*, int, int&, Vector<int>&); |