Home | History | Annotate | Download | only in css

Lines Matching refs:caseSensitive

307 static bool attributeValueMatches(const Attribute* attributeItem, CSSSelector::Match match, const AtomicString& selectorValue, bool caseSensitive)
315 if (caseSensitive ? selectorValue != value : !equalIgnoringCase(selectorValue, value))
326 size_t foundPos = value.find(selectorValue, startSearchAt, caseSensitive);
341 if (!value.contains(selectorValue, caseSensitive) || selectorValue.isEmpty())
345 if (!value.startsWith(selectorValue, caseSensitive) || selectorValue.isEmpty())
349 if (!value.endsWith(selectorValue, caseSensitive) || selectorValue.isEmpty())
355 if (!value.startsWith(selectorValue, caseSensitive))
370 static bool anyAttributeMatches(Element* element, CSSSelector::Match match, const QualifiedName& selectorAttr, const AtomicString& selectorValue, bool caseSensitive)
379 if (attributeValueMatches(attributeItem, match, selectorValue, caseSensitive))
409 bool caseSensitive = !m_documentIsHTML || HTMLDocument::isCaseSensitiveAttribute(attr);
411 if (!anyAttributeMatches(element, static_cast<CSSSelector::Match>(selector->m_match), attr, selector->value(), caseSensitive))