Home | History | Annotate | Download | only in rendering

Lines Matching refs:cell1

405 static bool cellIsFullyIncludedInOtherCell(const RenderTableCell* cell1, const RenderTableCell* cell2)
407 return (cell1->rowIndex() >= cell2->rowIndex() && (cell1->rowIndex() + cell1->rowSpan()) <= (cell2->rowIndex() + cell2->rowSpan()));
411 static bool compareRowSpanCellsInHeightDistributionOrder(const RenderTableCell* cell1, const RenderTableCell* cell2)
415 if (cell1->rowIndex() == cell2->rowIndex() && cell1->rowSpan() == cell2->rowSpan())
416 return (cell1->logicalHeightForRowSizing() > cell2->logicalHeightForRowSizing());
420 if (cellIsFullyIncludedInOtherCell(cell1, cell2))
424 if (!cellIsFullyIncludedInOtherCell(cell2, cell1))
425 return (cell1->rowIndex() < cell2->rowIndex());