mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 10:00:54 +00:00
CSS parser drops negations if attached to universal selector and a pseudo-element; b=87999, r=peterv, sr=hyatt
This commit is contained in:
parent
b67c96c2f8
commit
5fecca8a3f
@ -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));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user