Bug 782660. Resizing a text control frame with borders should invalidate the borders as needed. r=roc
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user