Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(373)

Unified Diff: Source/core/dom/Element.h

Issue 571603003: Convert first letter into a pseudo element. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/dom/Element.h
diff --git a/Source/core/dom/Element.h b/Source/core/dom/Element.h
index 461a29ae20a503629183fcd684accf22636146eb..f9af6b48526e5986092b1095c8c06b5a43abc9b7 100644
--- a/Source/core/dom/Element.h
+++ b/Source/core/dom/Element.h
@@ -406,6 +406,9 @@ public:
PseudoElement* pseudoElement(PseudoId) const;
RenderObject* pseudoElementRenderer(PseudoId) const;
+ void clearFirstLetterPseudoElement();
+ virtual RenderObject* firstLetterTextRenderer() const;
+ unsigned firstLetterLength(const String& text) const;
virtual bool matchesReadOnlyPseudoClass() const { return false; }
virtual bool matchesReadWritePseudoClass() const { return false; }

Powered by Google App Engine
This is Rietveld 408576698