nsCSSSelector* copySel = aCopy.mSelector.mNext; nsCSSSelector* ourSel = &mSelector;  while (copySel && ourSel) { ourSel->mNext = new nsCSSSelector(*copySel); ourSel = ourSel->mNext; copySel = copySel->mNext; }  if (aCopy.mDeclaration) { aCopy.mDeclaration->Clone(mDeclaration); }
CSSStyleRuleImpl::CSSStyleRuleImpl(const nsCSSSelector& aSelector)  : nsCSSRule(),    mSelector(aSelector), mSelectorText(), mDeclaration(nsnull),     mWeight(0), mImportantRule(nsnull),    mDOMDeclaration(nsnull),    mScriptObject(nsnull){}