if (mResetData) mResetData->ClearInheritedData(aBits); if (mInheritedData) mInheritedData->ClearInheritedData(aBits); }
if (mVisibilityData && (aBits & NS_STYLE_INHERIT_VISIBILITY)) mVisibilityData = nsnull; if (mFontData && (aBits & NS_STYLE_INHERIT_FONT)) mFontData = nsnull; if (mListData && (aBits & NS_STYLE_INHERIT_LIST)) mListData = nsnull; if (mTableData && (aBits & NS_STYLE_INHERIT_TABLE_BORDER)) mTableData = nsnull; if (mColorData && (aBits & NS_STYLE_INHERIT_COLOR)) mColorData = nsnull; if (mQuotesData && (aBits & NS_STYLE_INHERIT_QUOTES)) mQuotesData = nsnull; if (mTextData && (aBits & NS_STYLE_INHERIT_TEXT)) mTextData = nsnull; if (mUIData && (aBits & NS_STYLE_INHERIT_UI)) mUIData = nsnull; };
  void ClearInheritedData(PRUint32 aBits) {    if (mResetData)      mResetData->ClearInheritedData(aBits);    if (mInheritedData)      mInheritedData->ClearInheritedData(aBits);  }