| Index: Source/WebCore/dom/PseudoElement.cpp
|
| ===================================================================
|
| --- Source/WebCore/dom/PseudoElement.cpp (revision 143496)
|
| +++ 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 {
|
|
|
| @@ -69,9 +70,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();
|
| }
|
| }
|
|
|