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

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

Issue 672953002: Convert first letter into a pseudo element. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « Source/core/dom/FirstLetterPseudoElement.cpp ('k') | Source/core/dom/Node.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Node.h
diff --git a/Source/core/dom/Node.h b/Source/core/dom/Node.h
index 507ac657bb0be9beb34581bd53a003a1e4647c29..c0ebdb1d87d2c3a603d35f07da332b35dd201ebd 100644
--- a/Source/core/dom/Node.h
+++ b/Source/core/dom/Node.h
@@ -234,6 +234,7 @@ public:
bool isPseudoElement() const { return pseudoId() != NOPSEUDO; }
bool isBeforePseudoElement() const { return pseudoId() == BEFORE; }
bool isAfterPseudoElement() const { return pseudoId() == AFTER; }
+ bool isFirstLetterPseudoElement() const { return pseudoId() == FIRST_LETTER; }
virtual PseudoId pseudoId() const { return NOPSEUDO; }
bool isCustomElement() const { return getFlag(CustomElementFlag); }
« no previous file with comments | « Source/core/dom/FirstLetterPseudoElement.cpp ('k') | Source/core/dom/Node.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698