Home | History | Annotate | Download | only in rendering

Lines Matching refs:ltr

210         bool ltr = renderer()->style()->direction() == LTR;
216 if (ltr && lineBoxList->firstLineBox() == this)
218 else if (!ltr && lineBoxList->lastLineBox() == this)
225 // (2) If the last line box for the flow has an object following it on the line (ltr,
231 if (ltr) {
307 if (curr->renderer()->parent()->style()->direction() == LTR)
924 bool ltr = renderer()->style()->direction() == LTR;
927 // ltr: is our right edge farther right than the right edge of the ellipsis.
929 bool ltrTruncation = ltr && (x + w >= ellipsisX + ellipsisWidth);
930 bool rtlTruncation = !ltr && (x <= ellipsisX + ellipsisWidth);
939 bool ltrPastEllipsis = ltr && x >= ellipsisX;
940 bool rtlPastEllipsis = !ltr && (x + w) <= (ellipsisX + ellipsisWidth);
944 bool ltrTruncation = ltr && x + w >= ellipsisX;
945 bool rtlTruncation = !ltr && x <= ellipsisX;
1056 bool InlineFlowBox::canAccommodateEllipsis(bool ltr, int blockEdge, int ellipsisWidth)
1059 if (!box->canAccommodateEllipsis(ltr, blockEdge, ellipsisWidth))
1065 int InlineFlowBox::placeEllipsisBox(bool ltr, int blockLeftEdge, int blockRightEdge, int ellipsisWidth, bool& foundBox)
1070 // If our flow is ltr then iterate over the boxes from left to right, otherwise iterate
1072 InlineBox *box = ltr ? firstChild() : lastChild();
1079 int currResult = box->placeEllipsisBox(ltr, visibleLeftEdge, visibleRightEdge, ellipsisWidth, foundBox);
1083 if (ltr) {