Home | History | Annotate | Download | only in rendering

Lines Matching refs:ltr

89         result = (dir == LTR) ? MRIGHT : MLEFT;
91 result = (dir == LTR) ? MLEFT : MRIGHT;
113 bool ltr = s->direction() == LTR;
115 int contentWidth = ltr ? box->rightmostPosition(true, false) : box->leftmostPosition(true, false);
116 if (ltr)
124 return max(0, ltr ? (contentWidth - clientWidth) : (clientWidth - contentWidth));
126 return ltr ? contentWidth : clientWidth;
130 return min(0, ltr ? (contentWidth - clientWidth) : (clientWidth - contentWidth));
132 return ltr ? -clientWidth : -contentWidth;