Lines Matching defs:ltr
59 bool leftSide = (child->style()->direction() == LTR) ? !endOfInline : endOfInline;
381 if (style()->direction() == LTR) {
403 if (style()->direction() == LTR) {
411 // So even if text-align is right, if direction is LTR, wide lines should overflow out of the right
413 if (style()->direction() == LTR) {
436 if (style()->direction() == LTR)
553 // and the current object is not float:right in LTR or not float:left in RTL,
554 // and text align is auto, or justify or left in LTR, or right in RTL, we
575 (((dir == LTR && cssfloat != FRIGHT) ||
578 ((ta == LEFT || ta == WEBKIT_LEFT) && (dir == LTR)) ||
801 bool shouldReorder = trailingSpaceRun != (direction == LTR ? resolver.lastRun() : resolver.firstRun());
809 if (direction == LTR)
817 if (direction == LTR) {
1088 bool ltr = style()->direction() == LTR
1094 Direction direction = ltr ? LeftToRight : RightToLeft;
1098 resolver.setContext(BidiContext::create(ltr ? 0 : 1, direction, style()->unicodeBidi() == Override));
1301 toRenderInline(c)->layer()->setStaticX(style()->direction() == LTR ? leftOffset(height(), false) : rightOffset(height(), false));
1308 box->layer()->setStaticX(style()->direction() == LTR ? leftOffset(height(), false) : width() - rightOffset(height(), false));
1310 box->layer()->setStaticX(style()->direction() == LTR ? borderLeft() + paddingLeft() : borderRight() + paddingRight());
1337 toRenderInline(c)->layer()->setStaticX(style()->direction() == LTR ? leftOffset(height(), firstLine) : rightOffset(height(), firstLine));
1344 box->layer()->setStaticX(style()->direction() == LTR ? leftOffset(height(), firstLine) : width() - rightOffset(height(), firstLine));
1346 box->layer()->setStaticX(style()->direction() == LTR ? borderLeft() + paddingLeft() : borderRight() + paddingRight());
1513 box->layer()->setStaticX(o->parent()->style()->direction() == LTR ?
2050 // For LTR text truncation, we want to get the right edge of our padding box, and then we want to see
2054 bool ltr = style()->direction() == LTR;
2058 int lineBoxEdge = ltr ? curr->x() + curr->width() : curr->x();
2059 if ((ltr && lineBoxEdge > blockRightEdge) || (!ltr && lineBoxEdge < blockLeftEdge)) {
2065 int blockEdge = ltr ? blockRightEdge : blockLeftEdge;
2066 if (curr->canAccommodateEllipsis(ltr, blockEdge, lineBoxEdge, width))
2067 curr->placeEllipsis(ellipsisStr, ltr, blockLeftEdge, blockRightEdge, width);