Bug 330881: Crash when double-clicking in empty area inside isindex with position:absolute;direction:rtl;. r+sr=roc
This commit is contained in:
@@ -685,8 +685,13 @@ nsLineIterator::CheckLineOrder(PRInt32 aLine,
|
||||
nsIFrame **aFirstVisual,
|
||||
nsIFrame **aLastVisual)
|
||||
{
|
||||
|
||||
NS_ASSERTION (aLine >= 0 && aLine < mNumLines, "aLine out of range!");
|
||||
nsLineBox* line = mLines[aLine];
|
||||
|
||||
if (!line->mFirstChild) { // empty line
|
||||
*aIsReordered = PR_FALSE;
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
nsPresContext* presContext = line->mFirstChild->GetPresContext();
|
||||
if (!presContext->BidiEnabled()) {
|
||||
|
||||
Reference in New Issue
Block a user