[CSS Shapes] Floats with shape-outside aren't painting in the correct order
[WebKit-https.git] / Source / WebCore / rendering / RenderBox.h
index 20050fd..0fd437b 100644 (file)
@@ -53,9 +53,6 @@ public:
     {
         return isRoot() || isPositioned() || createsGroup() || hasClipPath() || hasOverflowClip()
             || hasTransform() || hasHiddenBackface() || hasReflection() || style()->specifiesColumns()
-#if ENABLE(CSS_SHAPES)
-            || isFloatingWithShapeOutside()
-#endif
             || !style()->hasAutoZIndex();
     }
 
@@ -596,7 +593,7 @@ public:
 #if ENABLE(CSS_SHAPES)
     ShapeOutsideInfo* shapeOutsideInfo() const
     {
-        return isFloatingWithShapeOutside() && ShapeOutsideInfo::isEnabledFor(this) ? ShapeOutsideInfo::info(this) : 0;
+        return ShapeOutsideInfo::isEnabledFor(this) ? ShapeOutsideInfo::info(this) : 0;
     }
 #endif