if (aRuleData->mSID == eStyleStruct_Color) { if (aRuleData->mColorData->mColor.GetUnit() == eCSSUnit_Null) aRuleData->mColorData->mColor = nsCSSValue(mColor);
if (aRuleData && aRuleData->mSID == eStyleStruct_Border) { aRuleData->mCanStoreInRuleTree = PR_FALSE; aRuleData->mPostResolveCallback = &TbodyPostResolveCallback;
HTMLColorRule::MapRuleInfoInto(nsRuleData* aRuleData){  if (aRuleData->mSID == eStyleStruct_Color) {    if (aRuleData->mColorData->mColor.GetUnit() == eCSSUnit_Null)      aRuleData->mColorData->mColor = nsCSSValue(mColor);  }  return NS_OK;}