collapsing rows, row groups, cols, col groups
This commit is contained in:
@@ -1421,16 +1421,6 @@ nsTableRowFrame::Reflow(nsIPresContext& aPresContext,
|
||||
break;
|
||||
}
|
||||
|
||||
// check the visibility in the final pass. If it is collapse, set our desired size to 0
|
||||
if (nsTableFrame::IsFinalPass(aReflowState)) {
|
||||
const nsStyleDisplay *display;
|
||||
GetStyleData(eStyleStruct_Display, ((const nsStyleStruct *&)display));
|
||||
if (NS_STYLE_VISIBILITY_COLLAPSE == display->mVisible) {
|
||||
aDesiredSize.width = 0;
|
||||
aDesiredSize.height = 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// XXX TROY
|
||||
#if 0
|
||||
|
||||
Reference in New Issue
Block a user