Home | History | Annotate | Download | only in rendering

Lines Matching defs:rtl

191     bool rtl = table()->style()->direction() == RTL;
197 if ((left && !rtl) || (right && rtl)) {
203 if ((left && rtl) || (right && !rtl)) {
318 CollapsedBorderValue RenderTableCell::collapsedLeftBorder(bool rtl) const
322 if (!rtl)
334 RenderTableCell* prevCell = rtl ? tableElt->cellAfter(this) : tableElt->cellBefore(this);
336 result = rtl ? compareBorders(result, CollapsedBorderValue(&prevCell->style()->borderRight(), BCELL)) : compareBorders(CollapsedBorderValue(&prevCell->style()->borderRight(), BCELL), result);
354 RenderTableCol* colElt = tableElt->colElement(col() + (rtl ? colSpan() - 1 : 0), &startColEdge, &endColEdge);
355 if (colElt && (!rtl ? startColEdge : endColEdge)) {
359 if (colElt->parent()->isTableCol() && (!rtl ? !colElt->previousSibling() : !colElt->nextSibling())) {
368 colElt = tableElt->colElement(col() + (rtl ? colSpan() : -1), &startColEdge, &endColEdge);
369 if (colElt && (!rtl ? endColEdge : startColEdge)) {
370 result = rtl ? compareBorders(result, CollapsedBorderValue(&colElt->style()->borderRight(), BCOL)) : compareBorders(CollapsedBorderValue(&colElt->style()->borderRight(), BCOL), result);
384 CollapsedBorderValue RenderTableCell::collapsedRightBorder(bool rtl) const
388 if (rtl)
401 RenderTableCell* nextCell = rtl ? tableElt->cellBefore(this) : tableElt->cellAfter(this);
403 result = rtl ? compareBorders(CollapsedBorderValue(&nextCell->style()->borderLeft(), BCELL), result) : compareBorders(result, CollapsedBorderValue(&nextCell->style()->borderLeft(), BCELL));
422 RenderTableCol* colElt = tableElt->colElement(col() + (rtl ? 0 : colSpan() - 1), &startColEdge, &endColEdge);
423 if (colElt && (!rtl ? endColEdge : startColEdge)) {
427 if (colElt->parent()->isTableCol() && (!rtl ? !colElt->nextSibling() : !colElt->previousSibling())) {
436 colElt = tableElt->colElement(col() + (rtl ? -1 : colSpan()), &startColEdge, &endColEdge);
437 if (colElt && (!rtl ? startColEdge : endColEdge)) {
438 result = rtl ? compareBorders(CollapsedBorderValue(&colElt->style()->borderLeft(), BCOL), result) : compareBorders(result, CollapsedBorderValue(&colElt->style()->borderLeft(), BCOL));
613 CollapsedBorderValue border = collapsedLeftBorder(table()->style()->direction() == RTL);
621 CollapsedBorderValue border = collapsedRightBorder(table()->style()->direction() == RTL);
733 bool rtl = table()->style()->direction() == RTL;
734 addBorderStyle(borderStyles, collapsedLeftBorder(rtl));
735 addBorderStyle(borderStyles, collapsedRightBorder(rtl));
776 bool rtl = table()->style()->direction() == RTL;
777 CollapsedBorderValue leftVal = collapsedLeftBorder(rtl);
778 CollapsedBorderValue rightVal = collapsedRightBorder(rtl);