Home | History | Annotate | Download | only in css

Lines Matching refs:caseSensitive

417 static bool attributeValueMatches(const Attribute& attributeItem, CSSSelector::Match match, const AtomicString& selectorValue, bool caseSensitive)
425 if (caseSensitive ? selectorValue != value : !equalIgnoringCase(selectorValue, value))
436 size_t foundPos = value.find(selectorValue, startSearchAt, caseSensitive);
451 if (!value.contains(selectorValue, caseSensitive) || selectorValue.isEmpty())
455 if (!value.startsWith(selectorValue, caseSensitive) || selectorValue.isEmpty())
459 if (!value.endsWith(selectorValue, caseSensitive) || selectorValue.isEmpty())
465 if (!value.startsWith(selectorValue, caseSensitive))
507 bool caseSensitive = !element.document().isHTMLDocument() || HTMLDocument::isCaseSensitiveAttribute(selectorAttr);
511 if (!caseSensitive && attributeValueMatches(attributeItem, match, selectorValue, false)) {