зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1265237 - Clear clipping for out-of-flow frames that we are descending into but haven't stored explicit clip data for. r=mstange
--HG-- extra : rebase_source : e9f88b3e469a8afdec5c9636751a278a70ae7102
This commit is contained in:
Родитель
76c8d4c781
Коммит
071273aa13
|
@ -2771,6 +2771,12 @@ nsIFrame::BuildDisplayListForChild(nsDisplayListBuilder* aBuilder,
|
|||
&savedOutOfFlowData->mContainingBlockClip);
|
||||
clipState.SetScrollClipForContainingBlockDescendants(
|
||||
savedOutOfFlowData->mContainingBlockScrollClip);
|
||||
} else if (GetStateBits() & NS_FRAME_FORCE_DISPLAY_LIST_DESCEND_INTO) {
|
||||
// If we have nested out-of-flow frames and the outer one isn't visible
|
||||
// then we won't have stored clip data for it. We can just clear the clip
|
||||
// instead since we know we won't render anything, and the inner out-of-flow
|
||||
// frame will setup the correct clip for itself.
|
||||
clipState.Clear();
|
||||
}
|
||||
|
||||
// Setup clipping for the parent's overflow:-moz-hidden-unscrollable,
|
||||
|
|
Загрузка…
Ссылка в новой задаче