#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:
hwaara%chello.se
2001-12-29 22:07:54 +00:00
parent c540a1d8bf
commit 1779335a43
2 changed files with 4 additions and 0 deletions

View File

@@ -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('>');