Added code to StringToAttribute() to handle "border" attribute

This commit is contained in:
troy@netscape.com
1998-11-07 05:27:39 +00:00
parent 10a2ba52e2
commit dfd3e797cc
2 changed files with 8 additions and 0 deletions
@@ -498,6 +498,10 @@ nsHTMLInputElement::StringToAttribute(nsIAtom* aAttribute,
return NS_CONTENT_ATTR_HAS_VALUE;
}
}
else if (aAttribute == nsHTMLAtoms::border) {
nsGenericHTMLElement::ParseValue(aValue, 0, aResult, eHTMLUnit_Pixel);
return NS_CONTENT_ATTR_HAS_VALUE;
}
return NS_CONTENT_ATTR_NOT_THERE;
}