nsStyleColor* color = (nsStyleColor*) aContext->GetMutableStyleData(eStyleStruct_Color); if (parentContext) { const nsStyleColor* parentColor = (const nsStyleColor*) parentContext->GetStyleData(eStyleStruct_Color); if (parentColor) { color->mCursor = parentColor->mCursor; } }   nsStyleContent* content = (nsStyleContent*) aContext->GetMutableStyleData(eStyleStruct_Content); if (parentContext) { const nsStyleContent* parentContent = (const nsStyleContent*) parentContext->GetStyleData(eStyleStruct_Content); if (parentContent) { nsAutoString open, close; PRUint32 i, n = parentContent->QuotesCount(); content->AllocateQuotes(n); for (i = 0; i < n; i++) { parentContent->GetQuotesAt(i, open, close); content->SetQuotesAt(i, open, close); } } }  NS_RELEASE(parentContext);
CSSFirstLetterRule::MapStyleInto(nsIStyleContext* aContext,                                 nsIPresContext* aPresContext){  // These properties apply: font-properties, color-properties,  // backgorund-properties, word-spacing, letter-spacing,  // text-decoration, vertical-align, text-transform, line-height,  // text-shadow, and clear.  //  // Everything else doesn't apply.  // Disable border  nsStyleSpacing* spacing = (nsStyleSpacing*)    aContext->GetMutableStyleData(eStyleStruct_Spacing);  if (spacing) {    spacing->SetBorderStyle(NS_SIDE_TOP, NS_STYLE_BORDER_STYLE_NONE);    spacing->SetBorderStyle(NS_SIDE_RIGHT, NS_STYLE_BORDER_STYLE_NONE);    spacing->SetBorderStyle(NS_SIDE_BOTTOM, NS_STYLE_BORDER_STYLE_NONE);    spacing->SetBorderStyle(NS_SIDE_LEFT, NS_STYLE_BORDER_STYLE_NONE);  }  return NS_OK;}