Index: Source/core/rendering/RenderBox.h |
diff --git a/Source/core/rendering/RenderBox.h b/Source/core/rendering/RenderBox.h |
index 3ead8714a611b2732452b342c1c075ac1d8d1ef3..e5c27b5c00352c53248ea91cad45f12cbfa47e74 100644 |
--- a/Source/core/rendering/RenderBox.h |
+++ b/Source/core/rendering/RenderBox.h |
@@ -75,7 +75,7 @@ public: |
// position:static elements that are not flex-items get their z-index coerced to auto. |
virtual LayerType layerTypeRequired() const override |
{ |
- if (isPositioned() || createsGroup() || hasClipPath() || hasTransform() || hasHiddenBackface() || hasReflection() || style()->specifiesColumns() || !style()->hasAutoZIndex() || style()->shouldCompositeForCurrentAnimations()) |
+ if (isPositioned() || createsGroup() || hasClipPath() || hasTransformRelatedProperty() || hasHiddenBackface() || hasReflection() || style()->specifiesColumns() || !style()->hasAutoZIndex() || style()->shouldCompositeForCurrentAnimations()) |
return NormalLayer; |
if (hasOverflowClip()) |
return OverflowClipLayer; |