Chromium Code Reviews| Index: Source/core/rendering/RenderObject.h |
| diff --git a/Source/core/rendering/RenderObject.h b/Source/core/rendering/RenderObject.h |
| index 9eceb89f61840f4e1ec6bb68c26c01f8385a43f3..097b0bbf6b6f914098d60f898f8120b3eb65c2e2 100644 |
| --- a/Source/core/rendering/RenderObject.h |
| +++ b/Source/core/rendering/RenderObject.h |
| @@ -638,7 +638,7 @@ public: |
| void clearNode() { m_node = nullptr; } |
| // Returns the styled node that caused the generation of this renderer. |
| - // This is the same as node() except for renderers of :before and :after |
| + // This is the same as node() except for renderers of :before, :after and :first-letter |
|
Julien - ping for review
2014/10/09 18:24:48
Nit: How about putting the :first-letter on the fo
dsinclair
2014/10/09 21:14:22
Done.
|
| // pseudo elements for which their parent node is returned. |
| Node* generatingNode() const { return isPseudoElement() ? node()->parentOrShadowHostNode() : node(); } |