mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 11:25:00 +00:00
When switching from the overflow lines to normal lines we must reset 'mInOverflowLines' or we'll compare 'mLine' to the wrong list on the next call. b=457375 r+sr=roc
This commit is contained in:
parent
b6a2b7d1c6
commit
c34734e572
@ -5188,6 +5188,7 @@ nsBlockInFlowLineIterator::Prev()
|
||||
PRBool currentlyInOverflowLines = mInOverflowLines != nsnull;
|
||||
while (PR_TRUE) {
|
||||
if (currentlyInOverflowLines) {
|
||||
mInOverflowLines = nsnull;
|
||||
mLine = mFrame->end_lines();
|
||||
if (mLine != mFrame->begin_lines()) {
|
||||
--mLine;
|
||||
|
Loading…
Reference in New Issue
Block a user