git://git.webkit.org
/
WebKit-https.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make outside-shape the default value for shape-inside
[WebKit-https.git]
/
Source
/
WebCore
/
rendering
/
style
/
RenderStyle.cpp
diff --git
a/Source/WebCore/rendering/style/RenderStyle.cpp
b/Source/WebCore/rendering/style/RenderStyle.cpp
index cefc3c120e1988debaa7216e13ca7c07a9934b21..725b8d8ec162a3dd04a2c221a3b6e0b4046f0e7c 100644
(file)
--- a/
Source/WebCore/rendering/style/RenderStyle.cpp
+++ b/
Source/WebCore/rendering/style/RenderStyle.cpp
@@
-1634,6
+1634,12
@@
void RenderStyle::setBorderImageOutset(LengthBox outset)
surround.access()->border.m_image.setOutset(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);
void RenderStyle::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const
{
MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::CSS);