| Index: Source/WebCore/rendering/RenderObject.cpp
|
| ===================================================================
|
| --- Source/WebCore/rendering/RenderObject.cpp (revision 94543)
|
| +++ Source/WebCore/rendering/RenderObject.cpp (working copy)
|
| @@ -1790,6 +1790,23 @@
|
| }
|
| }
|
|
|
| +void RenderObject::propagateStyleToAnonymousChildren()
|
| +{
|
| + for (RenderObject* child = firstChild(); child; child = child->nextSibling()) {
|
| + if (child->isAnonymous() && !child->isBeforeOrAfterContent()) {
|
| + RefPtr<RenderStyle> newStyle = RenderStyle::createAnonymousStyle(style());
|
| + if (style()->specifiesColumns()) {
|
| + if (child->style()->specifiesColumns())
|
| + newStyle->inheritColumnPropertiesFrom(style());
|
| + if (child->style()->columnSpan())
|
| + newStyle->setColumnSpan(true);
|
| + }
|
| + newStyle->setDisplay(child->style()->display());
|
| + child->setStyle(newStyle.release());
|
| + }
|
| + }
|
| +}
|
| +
|
| void RenderObject::updateFillImages(const FillLayer* oldLayers, const FillLayer* newLayers)
|
| {
|
| // Optimize the common case
|
|
|