snychronize the view of a table cell once we have vertically aligned the cell content and know the correct overflow area, bug 230730, r/sr=roc a=chofmann

This commit is contained in:
bmlk%gmx.de 2004-03-28 06:31:03 +00:00
parent 232c63c41e
commit 26b1761add
2 changed files with 6 additions and 0 deletions

View File

@ -632,6 +632,9 @@ void nsTableCellFrame::VerticallyAlignChild(nsIPresContext* aPresContex
// cell won't have a view
nsContainerFrame::PositionChildViews(aPresContext, firstKid);
}
if (HasView()) {
nsContainerFrame::SyncFrameViewAfterReflow(aPresContext, this, GetView(), &desiredSize.mOverflowArea, 0);
}
}
// As per bug 10207, we map 'sub', 'super', 'text-top', 'text-bottom',

View File

@ -632,6 +632,9 @@ void nsTableCellFrame::VerticallyAlignChild(nsIPresContext* aPresContex
// cell won't have a view
nsContainerFrame::PositionChildViews(aPresContext, firstKid);
}
if (HasView()) {
nsContainerFrame::SyncFrameViewAfterReflow(aPresContext, this, GetView(), &desiredSize.mOverflowArea, 0);
}
}
// As per bug 10207, we map 'sub', 'super', 'text-top', 'text-bottom',