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 db15e53a6ddb65d65f0efdeebd499b1a31f75066..2be323d11ee664cd13fe501b276d105ce147e82a 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) |
+{ |
+ if (isUASheetBehavior(m_context.mode())) |
+ return true; |
+ return type != CSSSelector::PseudoMarker; |
+} |
+ |
PassRefPtrWillBeRawPtr<ImmutableStylePropertySet> BisonCSSParser::parseInlineStyleDeclaration(const String& string, Element* element) |
{ |
Document& document = element->document(); |