CSSFirstLineRule::MapRuleInfoInto(nsRuleData* aData)
CSSFirstLetterRule::MapRuleInfoInto(nsRuleData* aData)
CSSFirstLineRule::MapRuleInfoInto(nsRuleData* aData){  /*   * See CSS2 section 5.12.1, which says that the properties that apply   * to :first-line are: font properties, color properties, background   * properties, 'word-spacing', 'letter-spacing', 'text-decoration',   * 'vertical-align', 'text-transform', 'line-height', 'text-shadow',   * and 'clear'.   */  CommonMapRuleInfoInto(aData);  // Disable 'float'.  if (aData->mSID == eStyleStruct_Display) {    nsCSSValue none(eCSSUnit_None);    aData->mDisplayData->mFloat = none;  }  // Disable border properties, margin properties, and padding  // properties.  if (aData->mSID == eStyleStruct_Border) {    nsCSSValue none(NS_STYLE_BORDER_STYLE_NONE, eCSSUnit_Enumerated);    aData->mMarginData->mBorderStyle.mTop = none;    aData->mMarginData->mBorderStyle.mRight = none;    aData->mMarginData->mBorderStyle.mBottom = none;    aData->mMarginData->mBorderStyle.mLeft = none;  }  if (aData->mSID == eStyleStruct_Margin) {    nsCSSValue zero(0.0f, eCSSUnit_Point);    aData->mMarginData->mMargin.mTop = zero;    aData->mMarginData->mMargin.mRight = zero;    aData->mMarginData->mMargin.mBottom = zero;    aData->mMarginData->mMargin.mLeft = zero;  }  if (aData->mSID == eStyleStruct_Padding) {    nsCSSValue zero(0.0f, eCSSUnit_Point);    aData->mMarginData->mPadding.mTop = zero;    aData->mMarginData->mPadding.mRight = zero;    aData->mMarginData->mPadding.mBottom = zero;    aData->mMarginData->mPadding.mLeft = zero;  }  return NS_OK;}