In the following files, replacing disp->mVisible with disp->IsVisible() is a BUG FIX: nsBlockFrame, nsBulletFrame, nsHRFrame, nsHTMLContainerFrame, nsImageFrame, nsTextFrame.
In all the other files, replacing disp->mVisible with disp->IsVisible() or disp->IsVisibleOrCollapsed() is merely a SYNTACTICAL CHANGE. The respective owners will later review the use of IsVisibleOrCollapsed() and in some cases replace it with IsVisible(). See bug 21701.
git-svn-id: svn://10.0.0.236/trunk@63284 18797224-902f-48f8-a5cc-f745e15eee43
member functions. This includes removing all references to
NS_DEF_PTR and the including of nsIPtr.h
r=troy@netscape.com,dougt@netscape.com,scc@netscape.com
# 28114
a=chofmann@netscape.com
git-svn-id: svn://10.0.0.236/trunk@61237 18797224-902f-48f8-a5cc-f745e15eee43
bug 10269 - renamed RequiresPass1Layout to IsAutoLayout and have it force a fixed layout table (not tree) to be auto layout if the table is auto width.
git-svn-id: svn://10.0.0.236/trunk@60554 18797224-902f-48f8-a5cc-f745e15eee43
bug 23235 r=attinasi; nsTableRowFrame requests max element size when reflowing cell for the 1st time.
bug 24410 r=attinasi; nsTableCellFrame reflow always checks width and height and updates the content empty flag.
bug 3305 r=troy,hyatt; table frame constructor cleanup, put caption in its own child list.
git-svn-id: svn://10.0.0.236/trunk@58996 18797224-902f-48f8-a5cc-f745e15eee43
fixed bug 24057; r=kmcclusk,cmanske; could not run mail smoke tests due to prior bustage.
git-svn-id: svn://10.0.0.236/trunk@57952 18797224-902f-48f8-a5cc-f745e15eee43
if requested. Now we only do a single reflow when processing table cell
incremental reflow instead of the three reflows we had to do before
git-svn-id: svn://10.0.0.236/trunk@57402 18797224-902f-48f8-a5cc-f745e15eee43
maximum width and not both the width and height. The height was never used
so this wans't an issue
git-svn-id: svn://10.0.0.236/trunk@56529 18797224-902f-48f8-a5cc-f745e15eee43
reflowing the table cell (that's an optimization we do) we make sure and
position any child views
git-svn-id: svn://10.0.0.236/trunk@54977 18797224-902f-48f8-a5cc-f745e15eee43
frame state bit, and changed mMinRowSpan and mRowIndex to be packed into
one 32-bit field. Total savings of 8 bytes per row frame
git-svn-id: svn://10.0.0.236/trunk@51663 18797224-902f-48f8-a5cc-f745e15eee43
- changed mBorderEdges to be heap allocated (only needed for collapsing border model)
- made the 8 boolean data members into bitfields
- changed mColumnWidths to be as small as necessary instead of defaulting its size to 100 elements
git-svn-id: svn://10.0.0.236/trunk@49748 18797224-902f-48f8-a5cc-f745e15eee43
CellData keeps track of row versus col spans.
nsColFrame keeps track of what cell contributed to constrained width.
nsCellMap::GetCellFrameAt replace with GetCellInfoAt
simplified nsTableCellFrame::RecalcLayoutData and removed FindLargestMargin, CalculateMargins, CalculateMargins
simplified nsTableFrame::RecalcLayoutData and removed AppendLayoutData
Added gsDebugReflow capability, remove all existing debug printf
git-svn-id: svn://10.0.0.236/trunk@43641 18797224-902f-48f8-a5cc-f745e15eee43
Always get border-collapse from nsTableFrame::GetBorderCollapseStyle.
Added several null checks for border edges.
Added check in nsTableFrame::DidComputeHorizontal to replace null edges with trival ones.
git-svn-id: svn://10.0.0.236/trunk@42871 18797224-902f-48f8-a5cc-f745e15eee43