| Index: Source/core/dom/NthIndexCache.h
|
| diff --git a/Source/core/dom/NthIndexCache.h b/Source/core/dom/NthIndexCache.h
|
| index 99c0ef19bc0493165a73bf57533eba10fb49f6e2..5035b620747bbcae0c9afe894a4f4dd1eac18d01 100644
|
| --- a/Source/core/dom/NthIndexCache.h
|
| +++ b/Source/core/dom/NthIndexCache.h
|
| @@ -56,7 +56,7 @@ private:
|
|
|
| inline unsigned NthIndexCache::NthIndexData::nthIndex(Element& element)
|
| {
|
| - if (!m_count)
|
| + if (!m_count && !element.isPseudoElement())
|
| return cacheNthIndices(element);
|
|
|
| unsigned index = 0;
|
|
|