const nsString& aValue,
const nsAReadableString& aValue,
nsHTMLLayerElement::StringToAttribute(nsIAtom*        aAttribute,                                      const nsString& aValue,                                      nsHTMLValue&    aResult){  // XXX CLIP  if ((aAttribute == nsHTMLAtoms::top)   ||      (aAttribute == nsHTMLAtoms::left)  ||      (aAttribute == nsHTMLAtoms::width) ||      (aAttribute == nsHTMLAtoms::height)) {    if (nsGenericHTMLElement::ParseValueOrPercent(aValue, aResult, eHTMLUnit_Pixel)) {      return NS_CONTENT_ATTR_HAS_VALUE;    }  }  else if ((aAttribute == nsHTMLAtoms::zindex) ||           (aAttribute == nsHTMLAtoms::z_index)) {    if (nsGenericHTMLElement::ParseValue(aValue, 0, aResult, eHTMLUnit_Integer)) {      return NS_CONTENT_ATTR_HAS_VALUE;    }  }  else if (aAttribute == nsHTMLAtoms::visibility) {    if (nsGenericHTMLElement::ParseEnumValue(aValue, kVisibilityTable, aResult)) {      return NS_CONTENT_ATTR_HAS_VALUE;    }  }  else if (aAttribute == nsHTMLAtoms::bgcolor) {    if (nsGenericHTMLElement::ParseColor(aValue, mInner.mDocument, aResult)) {      return NS_CONTENT_ATTR_HAS_VALUE;    }  }  // ABOVE, BELOW, OnMouseOver, OnMouseOut, OnFocus, OnBlur, OnLoad  return NS_CONTENT_ATTR_NOT_THERE;}