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

Unified Diff: Source/core/css/parser/BisonCSSParser-in.cpp

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/css/parser/BisonCSSParser-in.cpp
diff --git a/Source/core/css/parser/BisonCSSParser-in.cpp b/Source/core/css/parser/BisonCSSParser-in.cpp
index 4b8b5af403d9a27a8a63c16daa39c96c44e52fed..2e0ea3884e741685035d4f4c69cc37501d763111 100644
--- a/Source/core/css/parser/BisonCSSParser-in.cpp
+++ b/Source/core/css/parser/BisonCSSParser-in.cpp
@@ -242,6 +242,13 @@ void BisonCSSParser::parseSelector(const String& string, CSSSelectorList& select
m_selectorListForParseSelector = 0;
}
+bool BisonCSSParser::isSelectorAllowedInParsingMode(CSSSelector::PseudoType type)
esprehn 2015/04/20 16:04:08 Let's not add any new features to the old parser.
dsinclair 2015/04/21 20:23:10 Done.
+{
+ if (isUASheetBehavior(m_context.mode()))
+ return true;
+ return type != CSSSelector::PseudoMarker;
+}
+
PassRefPtrWillBeRawPtr<ImmutableStylePropertySet> BisonCSSParser::parseInlineStyleDeclaration(const String& string, Element* element)
{
Document& document = element->document();

Powered by Google App Engine
This is Rietveld 408576698