Index: Source/WebCore/rendering/RenderInline.cpp |
=================================================================== |
--- Source/WebCore/rendering/RenderInline.cpp (revision 107324) |
+++ Source/WebCore/rendering/RenderInline.cpp (working copy) |
@@ -385,7 +385,7 @@ |
madeNewBeforeBlock = true; |
} |
- RenderBlock* post = block->createAnonymousBlock(); |
+ RenderBlock* post = block->createAnonymousBlockWithSameTypeAs(pre); |
RenderObject* boxFirst = madeNewBeforeBlock ? block->firstChild() : pre->nextSibling(); |
if (madeNewBeforeBlock) |