mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 15:25:52 +00:00
Tweak to the patch for bug 263359 to prevent regressing bug 644768, r=roc
This commit is contained in:
parent
9261f73706
commit
be2fe407f5
@ -803,8 +803,6 @@ nsBidiPresUtils::TraverseFrames(nsBlockFrame* aBlockFrame,
|
||||
mBuffer.Append(Substring(text, start, endLine - start));
|
||||
|
||||
if (PRUint32(endLine) < text.Length()) {
|
||||
nsTextFrame* textFrame = static_cast<nsTextFrame*>(frame);
|
||||
textFrame->SetLength(endLine - start, nsnull);
|
||||
next = frame->GetNextInFlow();
|
||||
if (!next) {
|
||||
// If the frame already has a bidi continuation, make it fluid
|
||||
@ -817,6 +815,8 @@ nsBidiPresUtils::TraverseFrames(nsBlockFrame* aBlockFrame,
|
||||
CreateContinuation(frame, &next, PR_TRUE);
|
||||
}
|
||||
}
|
||||
nsTextFrame* textFrame = static_cast<nsTextFrame*>(frame);
|
||||
textFrame->SetLength(endLine - start, nsnull);
|
||||
}
|
||||
ResolveParagraphWithinBlock(aBlockFrame);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user