Do AdjustOffsetsForBidi after RemoveBidiContinuation so that we have up-to-date information about which continuations are fluid and which are non-fluid. Bug 397961, r=uriber, sr+blocking1.9=roc
git-svn-id: svn://10.0.0.236/trunk@239148 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
7a8325ddda
commit
8ca4fde8e5
@ -426,7 +426,6 @@ nsBidiPresUtils::Resolve(nsBlockFrame* aBlockFrame,
|
||||
contentOffset += runLength;
|
||||
} // if (runLength < fragmentLength)
|
||||
else {
|
||||
frame->AdjustOffsetsForBidi(contentOffset, contentOffset + fragmentLength);
|
||||
PRInt32 newIndex = 0;
|
||||
mContentToFrameIndex.Get(content, &newIndex);
|
||||
if (newIndex > frameIndex) {
|
||||
@ -443,6 +442,7 @@ nsBidiPresUtils::Resolve(nsBlockFrame* aBlockFrame,
|
||||
lineOffset += temp;
|
||||
frameIndex = newIndex;
|
||||
}
|
||||
frame->AdjustOffsetsForBidi(contentOffset, contentOffset + fragmentLength);
|
||||
}
|
||||
} // isTextFrame
|
||||
else {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user