when the value attr is set the hint needs to be reflow.

b 28593, r=buster


git-svn-id: svn://10.0.0.236/trunk@61805 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rods%netscape.com 2000-02-28 21:35:51 +00:00
parent f60b60c2fb
commit 28c797e1db
2 changed files with 2 additions and 2 deletions

View File

@ -1119,7 +1119,7 @@ NS_IMETHODIMP
nsHTMLInputElement::GetMappedAttributeImpact(const nsIAtom* aAttribute,
PRInt32& aHint) const
{
if ((aAttribute == nsHTMLAtoms::align)) {
if ((aAttribute == nsHTMLAtoms::align) || (aAttribute == nsHTMLAtoms::value)) {
aHint = NS_STYLE_HINT_REFLOW;
}
else if ((aAttribute == nsHTMLAtoms::type)) {

View File

@ -1119,7 +1119,7 @@ NS_IMETHODIMP
nsHTMLInputElement::GetMappedAttributeImpact(const nsIAtom* aAttribute,
PRInt32& aHint) const
{
if ((aAttribute == nsHTMLAtoms::align)) {
if ((aAttribute == nsHTMLAtoms::align) || (aAttribute == nsHTMLAtoms::value)) {
aHint = NS_STYLE_HINT_REFLOW;
}
else if ((aAttribute == nsHTMLAtoms::type)) {