Loading layout/base/nsBidiPresUtils.cpp +11 −0 Original line number Diff line number Diff line Loading @@ -793,6 +793,7 @@ nsBidiPresUtils::ResolveParagraph(nsBlockFrame* aBlockFrame, RemoveBidiContinuation(aBpd, frame, frameIndex, newIndex, lineOffset); frameIndex = newIndex; lastFrame = frame = aBpd->FrameAt(frameIndex); } } else if (fragmentLength > 0 && runLength > fragmentLength) { /* Loading Loading @@ -1587,6 +1588,16 @@ nsBidiPresUtils::RemoveBidiContinuation(BidiParagraphData *aBpd, } } } // Make sure that the last continuation we made fluid does not itself have a // fluid continuation (this can happen when re-resolving after dynamic changes // to content) nsIFrame* lastFrame = aBpd->FrameAt(aLastIndex); nsIFrame* next = lastFrame->GetNextInFlow(); if (next) { lastFrame->SetNextContinuation(next); next->SetPrevContinuation(lastFrame); } } nsresult Loading Loading
layout/base/nsBidiPresUtils.cpp +11 −0 Original line number Diff line number Diff line Loading @@ -793,6 +793,7 @@ nsBidiPresUtils::ResolveParagraph(nsBlockFrame* aBlockFrame, RemoveBidiContinuation(aBpd, frame, frameIndex, newIndex, lineOffset); frameIndex = newIndex; lastFrame = frame = aBpd->FrameAt(frameIndex); } } else if (fragmentLength > 0 && runLength > fragmentLength) { /* Loading Loading @@ -1587,6 +1588,16 @@ nsBidiPresUtils::RemoveBidiContinuation(BidiParagraphData *aBpd, } } } // Make sure that the last continuation we made fluid does not itself have a // fluid continuation (this can happen when re-resolving after dynamic changes // to content) nsIFrame* lastFrame = aBpd->FrameAt(aLastIndex); nsIFrame* next = lastFrame->GetNextInFlow(); if (next) { lastFrame->SetNextContinuation(next); next->SetPrevContinuation(lastFrame); } } nsresult Loading