Bug 713610 - For a marker that is inactive we should guess false. r=roc

This commit is contained in:
Mats Palmgren 2011-12-29 14:21:00 +01:00
parent 113f97bcb9
commit 8e4c82ae60

View File

@ -531,8 +531,8 @@ TextOverflow::ExamineLineFrames(nsLineBox* aLine,
guessRight == (mRight.mActive && mRight.IsNeeded())) {
break;
} else {
guessLeft = mLeft.IsNeeded();
guessRight = mRight.IsNeeded();
guessLeft = mLeft.mActive && mLeft.IsNeeded();
guessRight = mRight.mActive && mRight.IsNeeded();
mLeft.Reset();
mRight.Reset();
aFramesToHide->Clear();