mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-11 08:13:35 +00:00
Bug 1463605 - Check continuation or IB split sibling frames in nsDOMWindowUtils::CheckAndClearDisplayListState. r=mattwoodrow
MozReview-Commit-ID: 6PjC5INFyym --HG-- extra : rebase_source : 3b6b39e700cf51ea926b8441c832e50118398f41
This commit is contained in:
parent
a28e0be181
commit
c14fa231c7
@ -2936,7 +2936,14 @@ nsDOMWindowUtils::CheckAndClearDisplayListState(Element* aElement, bool* aResult
|
||||
}
|
||||
}
|
||||
|
||||
*aResult = frame->CheckAndClearDisplayListState();
|
||||
while (frame) {
|
||||
if (!frame->CheckAndClearDisplayListState()) {
|
||||
*aResult = false;
|
||||
return NS_OK;
|
||||
}
|
||||
frame = nsLayoutUtils::GetNextContinuationOrIBSplitSibling(frame);
|
||||
}
|
||||
*aResult = true;
|
||||
return NS_OK;
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user