mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-21 11:53:07 +09:00
Check if we're already at the end of the frame's content.
This commit is contained in:
parent
38439fd244
commit
c0a28dbd30
1 changed files with 2 additions and 1 deletions
|
|
@ -7525,7 +7525,8 @@ nsTextFrame::GetCharacterRectsInRange(int32_t aInOffset,
|
|||
gfxSkipCharsIterator nextIter(iter);
|
||||
nextIter.AdvanceOriginal(1);
|
||||
if (!nextIter.IsOriginalCharSkipped() &&
|
||||
!mTextRun->IsClusterStart(nextIter.GetSkippedOffset())) {
|
||||
!mTextRun->IsClusterStart(nextIter.GetSkippedOffset()) &&
|
||||
nextIter.GetOriginalOffset() < kContentEnd) {
|
||||
FindClusterEnd(mTextRun, kContentEnd, &nextIter);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue