PRInt32 StyleSpacingImpl::CalcDifference(const StyleSpacingImpl& aOther) const
PRInt32 StyleFontImpl::CalcDifference(const StyleFontImpl& aOther) const
PRInt32 StyleSpacingImpl::CalcDifference(const StyleSpacingImpl& aOther) const{  if ((mMargin == aOther.mMargin) &&       (mPadding == aOther.mPadding) &&       (mBorder == aOther.mBorder)) {    PRInt32 index;    for (index = 0; index < 4; index++) {      if ((mBorderStyle[index] != aOther.mBorderStyle[index]) ||           (mBorderColor[index] != aOther.mBorderColor[index])) {        if ((NS_STYLE_BORDER_STYLE_NONE == mBorderStyle[index]) ||          (NS_STYLE_BORDER_STYLE_NONE == aOther.mBorderStyle[index])) {          return NS_STYLE_HINT_REFLOW;  // border on or off        }        return NS_STYLE_HINT_VISUAL;      }    }    return NS_STYLE_HINT_NONE;  }  return NS_STYLE_HINT_REFLOW;}