CSS parser drops negations if attached to universal selector and a pseudo-element; b=87999, r=peterv, sr=hyatt

This commit is contained in:
glazman%netscape.com 2001-06-27 10:41:49 +00:00
Родитель 1b33d5b86d
Коммит 050d131fbc
2 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -1391,6 +1391,7 @@ static PRBool IsSinglePseudoClass(const nsCSSSelector& aSelector)
(aSelector.mIDList == nsnull) &&
(aSelector.mClassList == nsnull) &&
(aSelector.mAttrList == nsnull) &&
(aSelector.mNegations == nsnull) &&
(aSelector.mPseudoClassList != nsnull) &&
(aSelector.mPseudoClassList->mNext == nsnull));
}

Просмотреть файл

@ -1391,6 +1391,7 @@ static PRBool IsSinglePseudoClass(const nsCSSSelector& aSelector)
(aSelector.mIDList == nsnull) &&
(aSelector.mClassList == nsnull) &&
(aSelector.mAttrList == nsnull) &&
(aSelector.mNegations == nsnull) &&
(aSelector.mPseudoClassList != nsnull) &&
(aSelector.mPseudoClassList->mNext == nsnull));
}