Bug 302959 If the a element in the legend element got focus, the ancestor table width is broken r+sr=dbaron, a=benjamin

git-svn-id: svn://10.0.0.236/trunk@176977 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
masayuki%d-toybox.com 2005-08-02 14:58:55 +00:00
parent 8614481169
commit 2cab5abe8f

View File

@ -362,8 +362,11 @@ nsFieldSetFrame::Reflow(nsPresContext* aPresContext,
}
}
// if dirty then check dirty flags
if (reason == eReflowReason_Dirty) {
if (aDesiredSize.mFlags & NS_REFLOW_CALC_MAX_WIDTH) {
reflowLegend = PR_TRUE;
reflowContent = PR_TRUE;
} else if (reason == eReflowReason_Dirty) {
// if dirty then check dirty flags
if (GetStateBits() & NS_FRAME_IS_DIRTY) {
reflowLegend = PR_TRUE;
reflowContent = PR_TRUE;