mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
Mark line after a preformatted newline as dirty during bidi resolution. Bug 1015128, r=mats
This commit is contained in:
parent
90cb8f2dd9
commit
961881d5da
@ -1112,6 +1112,7 @@ nsBidiPresUtils::TraverseFrames(nsBlockFrame* aBlockFrame,
|
||||
CreateContinuation(frame, &next, true);
|
||||
createdContinuation = true;
|
||||
}
|
||||
// Mark the line before the newline as dirty.
|
||||
aBpd->GetLineForFrameAt(aBpd->FrameCount() - 1)->MarkDirty();
|
||||
}
|
||||
ResolveParagraphWithinBlock(aBlockFrame, aBpd);
|
||||
@ -1121,6 +1122,8 @@ nsBidiPresUtils::TraverseFrames(nsBlockFrame* aBlockFrame,
|
||||
} else if (next) {
|
||||
frame = next;
|
||||
aBpd->AppendFrame(frame, aLineIter);
|
||||
// Mark the line after the newline as dirty.
|
||||
aBpd->GetLineForFrameAt(aBpd->FrameCount() - 1)->MarkDirty();
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user