Chromium Code Reviews| Index: Source/core/css/SelectorFilter.cpp |
| diff --git a/Source/core/css/SelectorFilter.cpp b/Source/core/css/SelectorFilter.cpp |
| index ad7c35ab8abc2ef7a40c9ef1f018e19901ccf77b..647da7aee07c075a4d708a327ce2d6560b1ac710 100644 |
| --- a/Source/core/css/SelectorFilter.cpp |
| +++ b/Source/core/css/SelectorFilter.cpp |
| @@ -120,7 +120,7 @@ static inline void collectDescendantSelectorIdentifierHashes(const CSSSelector& |
| (*hash++) = selector.value().impl()->existingHash() * ClassAttributeSalt; |
| break; |
| case CSSSelector::Tag: |
| - if (selector.tagQName().localName() != starAtom) |
| + if (!selector.tagIsCamelCase() && selector.tagQName().localName() != starAtom) |
|
esprehn
2015/04/22 15:57:57
This doesn't make sense. How does being camel case
rune
2015/04/22 21:48:24
starAtom is not added to the bloom filter for any
|
| (*hash++) = selector.tagQName().localName().impl()->existingHash() * TagNameSalt; |
| break; |
| default: |