| Index: third_party/WebKit/Source/core/css/parser/CSSSelectorParser.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/parser/CSSSelectorParser.cpp b/third_party/WebKit/Source/core/css/parser/CSSSelectorParser.cpp
|
| index deeb93b35254505bfc30287a0de12ebf7d7d18ce..08fe7fcb92577a9fcd56691b5b4ff187b3e682df 100644
|
| --- a/third_party/WebKit/Source/core/css/parser/CSSSelectorParser.cpp
|
| +++ b/third_party/WebKit/Source/core/css/parser/CSSSelectorParser.cpp
|
| @@ -291,8 +291,10 @@ PassOwnPtr<CSSParserSelector> CSSSelectorParser::consumeCompoundSelector(CSSPars
|
| // TODO(rune@opera.com): crbug.com/578131
|
| // The UASheetMode check is a work-around to allow this selector in mediaControls(New).css:
|
| // video::-webkit-media-text-track-region-container.scrolling
|
| - if (m_context.mode() != UASheetMode && !isSimpleSelectorValidAfterPseudoElement(*simpleSelector.get(), compoundPseudoElement))
|
| + if (m_context.mode() != UASheetMode && !isSimpleSelectorValidAfterPseudoElement(*simpleSelector.get(), compoundPseudoElement)) {
|
| + m_failedParsing = true;
|
| return nullptr;
|
| + }
|
| if (simpleSelector->match() == CSSSelector::PseudoElement)
|
| compoundPseudoElement = simpleSelector->pseudoType();
|
|
|
|
|