зеркало из https://github.com/mozilla/pjs.git
CSS parser drops negations if attached to universal selector and a pseudo-element; b=87999, r=peterv, sr=hyatt
This commit is contained in:
Родитель
1b33d5b86d
Коммит
050d131fbc
|
@ -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));
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче