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(); |