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:
parent
f60b60c2fb
commit
28c797e1db
@ -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)) {
|
||||
|
||||
@ -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)) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user