case eCSSProperty_list_style_image: rv = GetListStyleImage(frame, *getter_AddRefs(val)); break;
nsComputedDOMStyle::GetPropertyCSSValue(const nsAReadableString& aPropertyName,                                        nsIDOMCSSValue** aReturn){  NS_ENSURE_ARG_POINTER(aReturn);  *aReturn = nsnull;  nsCOMPtr<nsIPresShell> presShell=do_QueryReferent(mPresShellWeak);    NS_ENSURE_TRUE(presShell, NS_ERROR_FAILURE);    nsIFrame *frame = nsnull;  presShell->GetPrimaryFrameFor(mContent, &frame);  nsCOMPtr<nsIDOMCSSPrimitiveValue> val;  nsresult rv = NS_OK;  // XXX FIX THIS!!!  nsCSSProperty prop = nsCSSProps::LookupProperty(aPropertyName);  switch (prop) {  case eCSSProperty_behavior :    rv = GetBehavior(frame, *getter_AddRefs(val)); break;  case eCSSProperty_display :    rv = GetDisplay(frame, *getter_AddRefs(val)); break;  case eCSSProperty_width :    rv = GetWidth(frame, *getter_AddRefs(val)); break;  case eCSSProperty_height :    rv = GetHeight(frame, *getter_AddRefs(val)); break;  case eCSSProperty_left :    rv = GetLeft(frame, *getter_AddRefs(val)); break;  case eCSSProperty_top :    rv = GetTop(frame, *getter_AddRefs(val)); break;  case eCSSProperty_right :    rv = GetRight(frame, *getter_AddRefs(val)); break;  case eCSSProperty_bottom :    rv = GetBottom(frame, *getter_AddRefs(val)); break;  case eCSSProperty_color :    rv = GetColor(frame, *getter_AddRefs(val)); break;  case eCSSProperty_font_family :    rv = GetFontFamily(frame, *getter_AddRefs(val)); break;  case eCSSProperty_font_size :    rv = GetFontSize(frame, *getter_AddRefs(val)); break;  case eCSSProperty_font_style :    rv = GetFontStyle(frame, *getter_AddRefs(val)); break;  case eCSSProperty_font_weight :    rv = GetFontWeight(frame, *getter_AddRefs(val)); break;  case eCSSProperty_font_variant :    rv = GetFontVariant(frame, *getter_AddRefs(val)); break;  case eCSSProperty_background_color :    rv = GetBackgroundColor(frame, *getter_AddRefs(val)); break;  case eCSSProperty_background_image :    rv = GetBackgroundImage(frame, *getter_AddRefs(val)); break;  case eCSSProperty_padding :    rv = GetPadding(frame, *getter_AddRefs(val)); break;  case eCSSProperty_padding_top :    rv = GetPaddingTop(frame, *getter_AddRefs(val)); break;  case eCSSProperty_padding_bottom :    rv = GetPaddingBottom(frame, *getter_AddRefs(val)); break;  case eCSSProperty_padding_left :    rv = GetPaddingLeft(frame, *getter_AddRefs(val)); break;  case eCSSProperty_padding_right :    rv = GetPaddingRight(frame, *getter_AddRefs(val)); break;  case eCSSProperty_border_collapse :    rv = GetBorderCollapse(frame, *getter_AddRefs(val)); break;  case eCSSProperty_border_top_style :    rv = GetBorderTopStyle(frame, *getter_AddRefs(val)); break;  case eCSSProperty_border_bottom_style :    rv = GetBorderBottomStyle(frame, *getter_AddRefs(val)); break;  case eCSSProperty_border_left_style :    rv = GetBorderLeftStyle(frame, *getter_AddRefs(val)); break;  case eCSSProperty_border_right_style :    rv = GetBorderRightStyle(frame, *getter_AddRefs(val)); break;  case eCSSProperty_border_top_width :    rv = GetBorderTopWidth(frame, *getter_AddRefs(val)); break;  case eCSSProperty_border_bottom_width :    rv = GetBorderBottomWidth(frame, *getter_AddRefs(val)); break;  case eCSSProperty_border_left_width :    rv = GetBorderLeftWidth(frame, *getter_AddRefs(val)); break;  case eCSSProperty_border_right_width :    rv = GetBorderRightWidth(frame, *getter_AddRefs(val)); break;  case eCSSProperty_z_index:    rv = GetZIndex(frame, *getter_AddRefs(val)); break;  default :    break;  }  if (val) {    rv = val->QueryInterface(NS_GET_IID(nsIDOMCSSValue), (void **)aReturn);  }  return rv;}