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

Unified Diff: Source/core/dom/PseudoElement.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
« no previous file with comments | « Source/core/dom/Node.cpp ('k') | Source/core/dom/PseudoElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/PseudoElement.h
diff --git a/Source/core/dom/PseudoElement.h b/Source/core/dom/PseudoElement.h
index eac6c788251140213f979b64e3995ef1f2d1c706..5bdeb3782e4fc31819940379e144f4bfc7a197c2 100644
--- a/Source/core/dom/PseudoElement.h
+++ b/Source/core/dom/PseudoElement.h
@@ -67,6 +67,10 @@ inline bool pseudoElementRendererIsNeeded(const ComputedStyle* style)
return false;
if (style->display() == NONE)
return false;
+
+ if (style->styleType() == MARKER)
+ return style->listStyleType() != NoneListStyle;
+
if (style->styleType() == FIRST_LETTER || style->styleType() == BACKDROP)
return true;
return style->contentData();
« no previous file with comments | « Source/core/dom/Node.cpp ('k') | Source/core/dom/PseudoElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698