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

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

Issue 778003003: List marker pseudo elements. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 8 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/Node.h
diff --git a/Source/core/dom/Node.h b/Source/core/dom/Node.h
index 77eb482c2f2ceb9259f0e4b06e0b069e7d057b5c..6fba07064a34c33b3ea647814a524243f1c34451 100644
--- a/Source/core/dom/Node.h
+++ b/Source/core/dom/Node.h
@@ -246,6 +246,7 @@ public:
bool isPseudoElement() const { return pseudoId() != NOPSEUDO; }
bool isBeforePseudoElement() const { return pseudoId() == BEFORE; }
bool isAfterPseudoElement() const { return pseudoId() == AFTER; }
+ bool isMarkerPseudoElement() const { return pseudoId() == MARKER; }
bool isFirstLetterPseudoElement() const { return pseudoId() == FIRST_LETTER; }
virtual PseudoId pseudoId() const { return NOPSEUDO; }

Powered by Google App Engine
This is Rietveld 408576698