Home | History | Annotate | Download | only in rendering

Lines Matching defs:ltr

208         bool ltr = renderer()->style()->direction() == LTR;
214 if (ltr && lineBoxList->firstLineBox() == this)
216 else if (!ltr && lineBoxList->lastLineBox() == this)
223 // (2) If the last line box for the flow has an object following it on the line (ltr,
229 if (ltr) {
305 if (curr->renderer()->parent()->style()->direction() == LTR)
935 bool ltr = renderer()->style()->direction() == LTR;
938 // ltr: is our right edge farther right than the right edge of the ellipsis.
940 bool ltrTruncation = ltr && (x + w >= ellipsisX + ellipsisWidth);
941 bool rtlTruncation = !ltr && (x <= ellipsisX + ellipsisWidth);
950 bool ltrPastEllipsis = ltr && x >= ellipsisX;
951 bool rtlPastEllipsis = !ltr && (x + w) <= (ellipsisX + ellipsisWidth);
955 bool ltrTruncation = ltr && x + w >= ellipsisX;
956 bool rtlTruncation = !ltr && x <= ellipsisX;
1067 bool InlineFlowBox::canAccommodateEllipsis(bool ltr, int blockEdge, int ellipsisWidth)
1070 if (!box->canAccommodateEllipsis(ltr, blockEdge, ellipsisWidth))
1076 int InlineFlowBox::placeEllipsisBox(bool ltr, int blockLeftEdge, int blockRightEdge, int ellipsisWidth, bool& foundBox)
1081 // If our flow is ltr then iterate over the boxes from left to right, otherwise iterate
1083 InlineBox *box = ltr ? firstChild() : lastChild();
1090 int currResult = box->placeEllipsisBox(ltr, visibleLeftEdge, visibleRightEdge, ellipsisWidth, foundBox);
1094 if (ltr) {