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 7fe8e93b65ae7360fe1dff48559cd92c1f12ab12..03e51aba3e2670ea398e8c3a92a7ff91d6b8a2cd 100644 |
--- a/Source/core/css/parser/BisonCSSParser-in.cpp |
+++ b/Source/core/css/parser/BisonCSSParser-in.cpp |
@@ -1129,6 +1129,17 @@ PassRefPtrWillBeRawPtr<MediaQuerySet> BisonCSSParser::parseMediaQueryList(const |
return m_mediaList.release(); |
} |
+bool BisonCSSParser::parseAttributeFlags(unsigned& flags, const String& string) |
+{ |
+ if (!RuntimeEnabledFeatures::cssAttributeCaseSensitivityEnabled() && !isUASheetBehavior(m_context.mode())) |
+ return false; |
+ if (string == "i") { |
+ flags = CSSSelector::CaseInsensitive; |
+ return true; |
+ } |
+ return false; |
+} |
+ |
static inline void filterProperties(bool important, const WillBeHeapVector<CSSProperty, 256>& input, WillBeHeapVector<CSSProperty, 256>& output, size_t& unusedEntries, BitArray<numCSSProperties>& seenProperties) |
{ |
// Add properties in reverse order so that highest priority definitions are reached first. Duplicate definitions can then be ignored when found. |