Lines Matching refs:cell2
462 static bool cellIsFullyIncludedInOtherCell(const RenderTableCell* cell1, const RenderTableCell* cell2)
464 return (cell1->rowIndex() >= cell2->rowIndex() && (cell1->rowIndex() + cell1->rowSpan()) <= (cell2->rowIndex() + cell2->rowSpan()));
468 static bool compareRowSpanCellsInHeightDistributionOrder(const RenderTableCell* cell1, const RenderTableCell* cell2)
472 if (cell1->rowIndex() == cell2->rowIndex() && cell1->rowSpan() == cell2->rowSpan())
473 return (cell1->logicalHeightForRowSizing() > cell2->logicalHeightForRowSizing());
477 if (cellIsFullyIncludedInOtherCell(cell1, cell2))
481 if (!cellIsFullyIncludedInOtherCell(cell2, cell1))
482 return (cell1->rowIndex() < cell2->rowIndex());