Bug 393906. Make AdjustOffsetsForBidi maintain textframe invariants across the entire continuation chain, not just the fluid chain. r=smontagu

This commit is contained in:
roc+@cs.cmu.edu 2007-09-27 16:37:46 -07:00
Родитель 3ced9d2e71
Коммит 79f82dde9f
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -5798,7 +5798,7 @@ nsTextFrame::AdjustOffsetsForBidi(PRInt32 aStart, PRInt32 aEnd)
*/ */
ClearTextRun(); ClearTextRun();
nsTextFrame* prev = static_cast<nsTextFrame*>(GetPrevInFlow()); nsTextFrame* prev = static_cast<nsTextFrame*>(GetPrevContinuation());
if (prev) { if (prev) {
// the bidi resolver can be very evil when columns/pages are involved. Don't // the bidi resolver can be very evil when columns/pages are involved. Don't
// let it violate our invariants. // let it violate our invariants.