#117050, fix bustage for embeddors who turn XUL off.
r=dbaron, sr=blake git-svn-id: svn://10.0.0.236/trunk@111161 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1629,6 +1629,7 @@ PRBool CSSParserImpl::ParseSelectorGroup(PRInt32& aErrorCode,
|
||||
else { // append new pseudo element selector
|
||||
selector.Reset();
|
||||
selector.mTag = pseudoClassList->mAtom; // steal ref count
|
||||
#ifdef INCLUDE_XUL
|
||||
if (IsOutlinerPseudoElement(selector.mTag)) {
|
||||
// Take the remaining "pseudoclasses" that we parsed
|
||||
// inside the outliner pseudoelement's ()-list, and
|
||||
@@ -1637,6 +1638,7 @@ PRBool CSSParserImpl::ParseSelectorGroup(PRInt32& aErrorCode,
|
||||
selector.mPseudoClassList = pseudoClassList->mNext;
|
||||
pseudoClassList->mNext = nsnull;
|
||||
}
|
||||
#endif
|
||||
list->AddSelector(selector);
|
||||
pseudoClassList->mAtom = nsnull;
|
||||
listSel->mOperator = PRUnichar('>');
|
||||
|
||||
Reference in New Issue
Block a user