Lines Matching full:endpos
307 IntRect SVGInlineTextBox::selectionRect(int, int, int startPos, int endPos)
309 if (startPos >= endPos)
312 // TODO: Actually respect startPos/endPos - we're returning the _full_ selectionRect
487 int startPos, endPos;
488 selectionStartEnd(startPos, endPos);
490 if (startPos >= endPos)
505 if ((startPos > boxStartOffset && endPos > boxStartOffset + length) || boxStartOffset >= endPos)
508 if (endPos > boxStartOffset + length)
509 endPos = boxStartOffset + length;
515 ASSERT(endPos <= boxStartOffset + length);
516 ASSERT(startPos < endPos);
523 font.ascent() + font.descent(), color, style->colorSpace(), startPos - adjust, endPos - adjust);