From 79f82dde9fb1aeba4b3a81b7592ee8ec4259d1c4 Mon Sep 17 00:00:00 2001 From: "roc+@cs.cmu.edu" Date: Thu, 27 Sep 2007 16:37:46 -0700 Subject: [PATCH] Bug 393906. Make AdjustOffsetsForBidi maintain textframe invariants across the entire continuation chain, not just the fluid chain. r=smontagu --- layout/generic/nsTextFrameThebes.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layout/generic/nsTextFrameThebes.cpp b/layout/generic/nsTextFrameThebes.cpp index 4c210ffa50d..5c2c3db0597 100644 --- a/layout/generic/nsTextFrameThebes.cpp +++ b/layout/generic/nsTextFrameThebes.cpp @@ -5798,7 +5798,7 @@ nsTextFrame::AdjustOffsetsForBidi(PRInt32 aStart, PRInt32 aEnd) */ ClearTextRun(); - nsTextFrame* prev = static_cast(GetPrevInFlow()); + nsTextFrame* prev = static_cast(GetPrevContinuation()); if (prev) { // the bidi resolver can be very evil when columns/pages are involved. Don't // let it violate our invariants.