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