[CSS Shapes] Floats with shape-outside aren't painting in the correct order
[WebKit-https.git] / Source / WebCore / rendering / shapes / ShapeOutsideInfo.cpp
index 265dd65..06c7908 100644 (file)
@@ -39,7 +39,7 @@ namespace WebCore {
 bool ShapeOutsideInfo::isEnabledFor(const RenderBox* box)
 {
     ShapeValue* shapeValue = box->style()->shapeOutside();
 bool ShapeOutsideInfo::isEnabledFor(const RenderBox* box)
 {
     ShapeValue* shapeValue = box->style()->shapeOutside();
-    if (!box->isFloatingWithShapeOutside() || !shapeValue)
+    if (!box->isFloating() || !shapeValue)
         return false;
 
     switch (shapeValue->type()) {
         return false;
 
     switch (shapeValue->type()) {