mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
Fixing #34573. Properly reflow a textcontrol if it's 'rows' attribute changes.
This commit is contained in:
parent
d06f3c7d91
commit
a73404c364
@ -1231,7 +1231,8 @@ nsGfxTextControlFrame::AttributeChanged(nsIPresContext* aPresContext,
|
||||
}
|
||||
mEditor->SetFlags(flags);
|
||||
}
|
||||
else if (nsHTMLAtoms::size == aAttribute && aHint != NS_STYLE_HINT_REFLOW) {
|
||||
else if ((nsHTMLAtoms::size == aAttribute ||
|
||||
nsHTMLAtoms::rows == aAttribute) && aHint != NS_STYLE_HINT_REFLOW) {
|
||||
nsFormFrame::StyleChangeReflow(aPresContext, this);
|
||||
}
|
||||
// Allow the base class to handle common attributes supported
|
||||
|
Loading…
Reference in New Issue
Block a user