Make outside-shape the default value for shape-inside
[WebKit-https.git] / Source / WebCore / rendering / style / RenderStyle.cpp
index cefc3c120e1988debaa7216e13ca7c07a9934b21..725b8d8ec162a3dd04a2c221a3b6e0b4046f0e7c 100644 (file)
@@ -1634,6 +1634,12 @@ void RenderStyle::setBorderImageOutset(LengthBox outset)
     surround.access()->border.m_image.setOutset(outset);
 }
 
+ExclusionShapeValue* RenderStyle::initialShapeInside()
+{
+    DEFINE_STATIC_LOCAL(RefPtr<ExclusionShapeValue>, sOutsideValue, (ExclusionShapeValue::createOutsideValue()));
+    return sOutsideValue.get();
+}
+
 void RenderStyle::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const
 {
     MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::CSS);