*aValue = 0;  nsHTMLValue value; if (NS_CONTENT_ATTR_HAS_VALUE == GetHTMLAttribute(nsHTMLAtoms::size, value) && value.GetUnit() == eHTMLUnit_Integer) { *aValue = value.GetIntValue();
const nsAttrValue* attrVal = mAttrsAndChildren.GetAttr(nsHTMLAtoms::size); if (attrVal && attrVal->Type() == nsAttrValue::eInteger) { *aValue = attrVal->GetIntegerValue(); } else { *aValue = 0;
nsHTMLInputElement::GetSize(PRUint32* aValue){  *aValue = 0;  nsHTMLValue value;  if (NS_CONTENT_ATTR_HAS_VALUE ==      GetHTMLAttribute(nsHTMLAtoms::size, value) &&      value.GetUnit() == eHTMLUnit_Integer) {    *aValue = value.GetIntValue();  }  return NS_OK;}