diff --git a/layout/generic/nsFrame.cpp b/layout/generic/nsFrame.cpp index 89d7c4acf793..a9a1663f802f 100644 --- a/layout/generic/nsFrame.cpp +++ b/layout/generic/nsFrame.cpp @@ -2237,7 +2237,7 @@ nsIFrame::BuildDisplayListForStackingContext(nsDisplayListBuilder* aBuilder, int index = 1; while (nsDisplayItem* item = resultList.RemoveBottom()) { - if (ItemParticipatesIn3DContext(this, item)) { + if (ItemParticipatesIn3DContext(this, item) && !item->GetClip().HasClip()) { // The frame of this item participates the same 3D context. WrapSeparatorTransform(aBuilder, this, dirtyRect, &nonparticipants, &participants, index++);