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

Unified Diff: Source/core/css/parser/CSSSelectorParser.h

Issue 1326403002: Selectors with unknown namespace prefixes should be dropped. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Updated test cases Created 5 years, 3 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/CSSSelectorParser.h
diff --git a/Source/core/css/parser/CSSSelectorParser.h b/Source/core/css/parser/CSSSelectorParser.h
index 93f116af9f1e2369c6642673db142e2952e608a0..3c9639db7d39c7ce39c471e9f29e2356d7380eae 100644
--- a/Source/core/css/parser/CSSSelectorParser.h
+++ b/Source/core/css/parser/CSSSelectorParser.h
@@ -49,7 +49,7 @@ private:
CSSSelector::AttributeMatchType consumeAttributeFlags(CSSParserTokenRange&);
const AtomicString& defaultNamespace() const;
- QualifiedName determineNameInNamespace(const AtomicString& prefix, const AtomicString& localName);
+ const AtomicString& determineNamespace(const AtomicString& prefix);
void prependTypeSelectorIfNeeded(const AtomicString& namespacePrefix, const AtomicString& elementName, CSSParserSelector*);
void rewriteSpecifiersWithElementNameForCustomPseudoElement(const QualifiedName& tag, CSSParserSelector*, bool tagIsImplicit);
void rewriteSpecifiersWithElementNameForContentPseudoElement(const QualifiedName& tag, CSSParserSelector*, bool tagIsImplicit);
« no previous file with comments | « LayoutTests/fast/css/namespaces/namespaces-invalid-prefix.xhtml ('k') | Source/core/css/parser/CSSSelectorParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698