Index: Source/WebCore/rendering/RenderQuote.h |
=================================================================== |
--- Source/WebCore/rendering/RenderQuote.h (revision 127654) |
+++ Source/WebCore/rendering/RenderQuote.h (working copy) |
@@ -44,6 +44,11 @@ |
virtual PassRefPtr<StringImpl> originalText() const OVERRIDE; |
virtual void computePreferredLogicalWidths(float leadWidth) OVERRIDE; |
+ // We don't override insertedIntoTree to call attachQuote() as it would be attached |
+ // too early and get the wrong depth since generated content is inserted into anonymous |
+ // renderers before going into the main render tree. Once we can ensure that insertIntoTree, |
+ // is called on an attached tree, we should override it here. |
+ |
const QuotesData* quotesData() const; |
void updateDepth(); |
bool isAttached() { return m_attached; } |