mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Mark line after a preformatted newline as dirty during bidi resolution. Bug 1015128, r=mats
This commit is contained in:
parent
bb0bb36de5
commit
fb0563b722
@ -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