NS_IMPL_STRING_ATTR(nsHTMLInputElement, Size, size)
nsHTMLInputElement::GetSize(PRUint32* aValue) { nsHTMLValue value; *aValue = -1; if (NS_CONTENT_ATTR_HAS_VALUE == GetHTMLAttribute(nsHTMLAtoms::size, value)) { if (value.GetUnit() == eHTMLUnit_Integer) { *aValue = value.GetIntValue(); } else if (value.GetUnit() == eHTMLUnit_Pixel) { *aValue = value.GetPixelValue(); } }  return NS_OK; }
NS_IMPL_STRING_ATTR(nsHTMLInputElement, Size, size)