Bug 782660. Resizing a text control frame with borders should invalidate the borders as needed. r=roc

This commit is contained in:
Boris Zbarsky
2012-08-29 01:14:46 -04:00
parent de123d3017
commit a965f1de68

View File

@@ -543,6 +543,10 @@ nsTextControlFrame::Reflow(nsPresContext* aPresContext,
ReflowTextControlChild(kid, aPresContext, aReflowState, aStatus, aDesiredSize);
kid = kid->GetNextSibling();
}
// If we're resizing, we might need to invalidate our border areas and such
CheckInvalidateSizeChange(aDesiredSize);
// take into account css properties that affect overflow handling
FinishAndStoreOverflow(&aDesiredSize);