Index: Source/core/rendering/compositing/CompositingReasonFinder.cpp |
diff --git a/Source/core/rendering/compositing/CompositingReasonFinder.cpp b/Source/core/rendering/compositing/CompositingReasonFinder.cpp |
index e2f80be02c3fa794eb4dd51cbb785e8d2d38cf0f..fc725041fe9556b5dec77d1a6da72d72ebd3dbd9 100644 |
--- a/Source/core/rendering/compositing/CompositingReasonFinder.cpp |
+++ b/Source/core/rendering/compositing/CompositingReasonFinder.cpp |
@@ -194,6 +194,7 @@ bool CompositingReasonFinder::requiresCompositingForPosition(RenderObject* rende |
EPosition position = renderer->style()->position(); |
bool isFixed = renderer->isOutOfFlowPositioned() && position == FixedPosition; |
+ // FIXME: The isStackingContainer check here is redundant. Fixed position elements are always stacking contexts. |
if (isFixed && !layer->stackingNode()->isStackingContainer()) |
return false; |