Home | History | Annotate | Download | only in rendering

Lines Matching defs:ltr

59     bool leftSide = (child->style()->direction() == LTR) ? !endOfInline : endOfInline;
390 if (style()->direction() == LTR) {
412 if (style()->direction() == LTR) {
420 // So even if text-align is right, if direction is LTR, wide lines should overflow out of the right
422 if (style()->direction() == LTR) {
445 if (style()->direction() == LTR)
562 // and the current object is not float:right in LTR or not float:left in RTL,
563 // and text align is auto, or justify or left in LTR, or right in RTL, we
584 (((dir == LTR && cssfloat != FRIGHT) ||
587 ((ta == LEFT || ta == WEBKIT_LEFT) && (dir == LTR)) ||
810 bool shouldReorder = trailingSpaceRun != (direction == LTR ? resolver.lastRun() : resolver.firstRun());
818 if (direction == LTR)
826 if (direction == LTR) {
1097 bool ltr = style()->direction() == LTR
1103 Direction direction = ltr ? LeftToRight : RightToLeft;
1107 resolver.setContext(BidiContext::create(ltr ? 0 : 1, direction, style()->unicodeBidi() == Override));
1310 toRenderInline(c)->layer()->setStaticX(style()->direction() == LTR ? leftOffset(height(), false) : rightOffset(height(), false));
1317 box->layer()->setStaticX(style()->direction() == LTR ? leftOffset(height(), false) : width() - rightOffset(height(), false));
1319 box->layer()->setStaticX(style()->direction() == LTR ? borderLeft() + paddingLeft() : borderRight() + paddingRight());
1346 toRenderInline(c)->layer()->setStaticX(style()->direction() == LTR ? leftOffset(height(), firstLine) : rightOffset(height(), firstLine));
1353 box->layer()->setStaticX(style()->direction() == LTR ? leftOffset(height(), firstLine) : width() - rightOffset(height(), firstLine));
1355 box->layer()->setStaticX(style()->direction() == LTR ? borderLeft() + paddingLeft() : borderRight() + paddingRight());
1522 box->layer()->setStaticX(o->parent()->style()->direction() == LTR ?
2059 // For LTR text truncation, we want to get the right edge of our padding box, and then we want to see
2063 bool ltr = style()->direction() == LTR;
2067 int lineBoxEdge = ltr ? curr->x() + curr->width() : curr->x();
2068 if ((ltr && lineBoxEdge > blockRightEdge) || (!ltr && lineBoxEdge < blockLeftEdge)) {
2074 int blockEdge = ltr ? blockRightEdge : blockLeftEdge;
2075 if (curr->canAccommodateEllipsis(ltr, blockEdge, lineBoxEdge, width))
2076 curr->placeEllipsis(ellipsisStr, ltr, blockLeftEdge, blockRightEdge, width);