Home | History | Annotate | Download | only in accessibility

Lines Matching full:cell

107     // go through the cell's and check for tell-tale signs of "data" table status
116 // if there's only one cell, it's not a good AXTable candidate
120 // store the background color of the table to check against cell's background colors
128 // 1) must have at least one valid cell (and)
130 // 3) at least half of cells have different bg colors than the table, and there is cell spacing
137 RenderTableCell* cell = firstBody->cellAt(row, col).cell;
138 if (!cell)
140 Node* cellNode = cell->node();
144 if (cell->width() < 1 || cell->height() < 1)
156 RenderStyle* renderStyle = cell->style();
160 // a cell needs to have matching bordered sides, before it can be considered a bordered cell.
161 if ((cell->borderTop() > 0 && cell->borderBottom() > 0)
162 || (cell->borderLeft() > 0 && cell->borderRight() > 0))
165 // if the cell has a different color from the table and there is cell spacing,
166 // then it is probably a data table cell (spacing and colors take the place of borders)
238 RenderTableCell* cell = tableSection->cellAt(rowIndex, colIndex).cell;
239 if (!cell)
242 AccessibilityObject* rowObject = axCache->getOrCreate(cell->parent());
247 // we need to check every cell for a new row, because cell spans
382 RenderTableCell* cell = 0;
394 cell = tableSection->cellAt(sectionSpecificRow, column).cell;
396 // we didn't find the cell, which means there's spanning happening
397 // search backwards to find the spanning cell
398 if (!cell) {
402 cell = tableSection->cellAt(testRow, column).cell;
403 // cell overlapped. use this one
404 if (cell && ((cell->row() + (cell->rowSpan()-1)) >= (int)sectionSpecificRow))
406 cell = 0;
409 if (!cell) {
412 cell = tableSection->cellAt(sectionSpecificRow, testCol).cell;
413 // cell overlapped. use this one
414 if (cell && ((cell->col() + (cell->colSpan()-1)) >= (int)column))
416 cell = 0;
422 if (cell)
432 if (!cell)
435 AccessibilityObject* cellObject = axObjectCache()->getOrCreate(cell);