Index: Source/WebCore/dom/PseudoElement.cpp |
=================================================================== |
--- Source/WebCore/dom/PseudoElement.cpp (revision 143280) |
+++ Source/WebCore/dom/PseudoElement.cpp (working copy) |
@@ -30,6 +30,7 @@ |
#include "ContentData.h" |
#include "NodeRenderingContext.h" |
#include "RenderObject.h" |
+#include "RenderQuote.h" |
namespace WebCore { |
@@ -82,9 +83,11 @@ |
for (const ContentData* content = style->contentData(); content; content = content->next()) { |
RenderObject* child = content->createRenderer(document(), style); |
- if (renderer->isChildAllowed(child, style)) |
+ if (renderer->isChildAllowed(child, style)) { |
renderer->addChild(child); |
- else |
+ if (child->isQuote()) |
+ toRenderQuote(child)->attachQuote(); |
+ } else |
child->destroy(); |
} |
} |