bug 818454 - backout change from bug 722137, no longer needed. r=smontagu

This commit is contained in:
Jonathan Kew 2012-12-12 20:55:09 +00:00
parent 0f661a6534
commit a706708a78

View File

@ -799,10 +799,12 @@ nsBidiPresUtils::ResolveParagraph(nsBlockFrame* aBlockFrame,
RemoveBidiContinuation(aBpd, frame,
frameIndex, newIndex, lineOffset);
}
} else if (runLength == fragmentLength) {
} else if (runLength == fragmentLength &&
frame->GetNextSibling()) {
/*
* If the directional run ends at the end of the frame, make sure
* that any continuation is non-fluid
* If the directional run ends at the end of the frame, and this is
* not the containing frame's last child, make sure that the next
* frame is a non-fluid continuation
*/
nsIFrame* next = frame->GetNextInFlow();
if (next) {