Bug 1313753 - Update overflow at the establisher of the 3D rendering context. r=dbaron

This commit is contained in:
Thinker K.F. Li 2017-02-08 23:17:00 +01:00
parent 2b1a1f6be4
commit 3ca7c3950f

View File

@ -140,6 +140,14 @@ public:
// children.
if (overflowChanged) {
nsIFrame *parent = frame->GetParent();
while (parent &&
parent != mSubtreeRoot &&
parent->Combines3DTransformWithAncestors()) {
// Passing frames in between the frame and the establisher of
// 3D rendering context.
parent = parent->GetParent();
MOZ_ASSERT(parent, "Root frame should never return true for Combines3DTransformWithAncestors");
}
if (parent && parent != mSubtreeRoot) {
Entry* parentEntry = mEntryList.find(Entry(parent, entry->mDepth - 1));
if (parentEntry) {