Collect frames from all block continuations in the buffer for bidi resolution. Bug 408292. r+sr=roc, a=schrep
git-svn-id: svn://10.0.0.236/trunk@241838 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -6742,19 +6742,7 @@ nsBlockFrame::ResolveBidi()
|
||||
if (!bidiUtils)
|
||||
return NS_ERROR_NULL_POINTER;
|
||||
|
||||
for (nsBlockFrame* curFrame = this; curFrame;
|
||||
curFrame = static_cast<nsBlockFrame*>(curFrame->GetNextContinuation())) {
|
||||
curFrame->RemoveStateBits(NS_BLOCK_NEEDS_BIDI_RESOLUTION);
|
||||
if (!curFrame->mLines.empty()) {
|
||||
nsresult rv = bidiUtils->Resolve(curFrame,
|
||||
curFrame->mLines.front()->mFirstChild,
|
||||
IsVisualFormControl(presContext));
|
||||
if (NS_FAILED(rv))
|
||||
return rv;
|
||||
}
|
||||
}
|
||||
|
||||
return NS_OK;
|
||||
return bidiUtils->Resolve(this, IsVisualFormControl(presContext));
|
||||
}
|
||||
|
||||
PRBool
|
||||
|
||||
Reference in New Issue
Block a user