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
Родитель 20e7bee99c
Коммит 6d18ba3e6c
1 изменённых файлов: 5 добавлений и 3 удалений

Просмотреть файл

@ -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) {