Commit Graph
1249 Commits
Author SHA1 Message Date
[email protected] 25c0251e69 backing out recent changes that failed table regression tests 1999-08-26 16:56:42 +00:00
[email protected] c6c603bf13 Fix for bug 12887. 1999-08-26 10:23:49 +00:00
[email protected] ab94a62954 bug 1271 - percentage height cells, added GetNumCellsOriginatingInRow, fixed GetNumCellsOriginatingInCol 1999-08-25 21:49:18 +00:00
[email protected] 9f37cd96e7 replaced debug flags with class. removed compiler warnings. 1999-08-24 12:01:31 +00:00
[email protected] 28ad68a96c bugs 9123, 10002 - percentage height tables exclude margin/border/padding of HTML and BODY 1999-08-24 04:17:05 +00:00
[email protected] eaa29fd24b Patching a function used only by the tree code. 1999-08-22 09:50:22 +00:00
[email protected] 7c6d931994 bug 11944 - correct placement of row group using table border/padding. bug 625 - reinitialized col sizes before 2nd pass 1 reflow. 1999-08-21 06:38:07 +00:00
[email protected] 9eb02eeb70 bug 11944 - row group is properly offset using table border. cleaned up new incremental reflow methods. 1999-08-20 23:27:54 +00:00
[email protected] f4122b58fb Added invalidate of the cell map as well, since we don't know what has changed 1999-08-19 22:22:52 +00:00
[email protected] e0d17406ce Changed to handle "ReflowDirty" reflow command 1999-08-19 20:05:27 +00:00
[email protected] 1be27de6a7 Added new incremental reflow methods.
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
1999-08-19 19:52:37 +00:00
[email protected] 454b06e71e Changed to table incremental reflow 1999-08-19 03:51:25 +00:00
[email protected] 2a568f7e2e For crash in bug 10296 - Removed assertion that nsTableFrame::GetColumnFrame must find a non null frame.
Added check for null when calling it in a situation where it can return null.
1999-08-10 18:15:46 +00:00
[email protected] fe0143c4a5 added constructor to nsTableColGroupFrame, fixed a few places where
nsColGroupFrame assummed its children were nsColGroupFrames.
1999-08-10 02:45:18 +00:00
[email protected] b31a52051a removed some unneeded comments 1999-08-10 01:14:24 +00:00
[email protected] 49cb2c022f bug 3517.
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.
1999-08-10 00:49:10 +00:00
[email protected] 3a2de1832f Made sure that column cache is invalidated if necessary when appending rows
frames and cell frames
1999-08-07 15:12:50 +00:00
[email protected] 6f75fa6875 fixed a memory leak, and a null pointer dereference, having to do with collapsing borders 1999-08-07 05:40:09 +00:00
[email protected] 9869d2cb45 Always reflow's children for pass1 when reflowed with NS_UNCONSTRAINEDSIZE 1999-08-03 23:20:06 +00:00
[email protected] d2feee5dd8 Changed NeedsReflow() to take into account whether we need a pass-1 reflow
and whether the cached column info and cell map are valid when deciding
whether we need a full reflow
1999-08-03 14:26:00 +00:00
[email protected] 48918de0e5 Added QueryInterfaces so nsITableCellLayout and nsITableLayout can get to cell and table frames. Don't use macros because frames aren't refcounted. 1999-08-01 18:26:45 +00:00
[email protected] 35cad0c225 Added nsITableLayout::GetTableSize() to get number of rows and columns in table. Fixup up comments for new methods 1999-08-01 16:20:14 +00:00
[email protected] a2c2deff75 Added logic to find cells occupying the 'holes' in the cellmap where colspan and/or rowspan cell extend 1999-08-01 05:19:47 +00:00
[email protected] 01d27c806d Added checking for trying to get cell data when index(es) are out of bounds 1999-07-31 23:05:11 +00:00
[email protected] b44bfb4768 Adding interface for editor access to table layout data 1999-07-31 22:11:50 +00:00
[email protected] ac0ec4c9a7 bug 10809, incremental reflow of nested tables now reflows children. 1999-07-29 23:19:52 +00:00
[email protected] 541821e18e Fixing karnaze's bustage. 1999-07-28 08:55:41 +00:00
[email protected] 0f38815cdf new nsCellMap, BasicTableLayoutStrategy, plus various fixes to table
frames while testing the new cell map and strategy
1999-07-28 08:09:02 +00:00
[email protected] 8c10dec5d9 Renamed some nsFrameList member functions 1999-07-22 04:00:57 +00:00
[email protected] d6f5216441 Renamed DeleteFrame() to Destroy() 1999-07-22 02:24:52 +00:00
[email protected] 346eaed537 Added 'm' prefix to some of the nsHTMLReflowState data members 1999-07-20 03:41:03 +00:00
[email protected] 887685766e As step #1 in incremental painting I changed Reflow() to invalidate the
entire bounds after an incremental reflow. The table should be smarter about
how much it invalidates, but this is necessary for the time being because the
area frame no longer invalidates everything
1999-07-14 15:21:52 +00:00
[email protected] b56781c717 Batching removal and making sure I get notified (in an attempt to fix some
of the out of sync problems the tree widget is having).
1999-07-10 01:10:40 +00:00
[email protected] 29b6bbc508 set deleted pointers to nsnull. just to be safe. r=hyatt 1999-07-01 07:12:46 +00:00
[email protected] 84b5f256c8 fixed warnings 1999-06-28 13:44:40 +00:00
[email protected] cc2da07b54 More savory tree widget goodness. 1999-06-23 09:07:59 +00:00
[email protected] d6f1501962 Landing the tree widget branch. 1999-06-23 03:02:21 +00:00
[email protected] 23bd5fab7f Fixing a bug in the distribution of excess space to multiple row groups. 1999-06-15 07:06:55 +00:00
[email protected] 560a7d38f0 Added support for incremental reflow of nested row groups (yeah, baby, yeah, baby, YEAH). 1999-06-15 01:19:18 +00:00
[email protected] 4449ba699e More nested row group work. 1999-06-14 23:45:14 +00:00
[email protected] 12d9213d89 More nested row group changes. 1999-06-14 23:42:16 +00:00
[email protected] bc99652491 More nested row group work. 1999-06-14 08:22:47 +00:00
[email protected] c180aa1dcf More changes to allow tables to support nested row groups. 1999-06-14 08:01:00 +00:00
[email protected] dae5bff98a bug 6459 - incremental reflow methods call DeleteFrame instead of RemoveFrame 1999-06-10 02:29:34 +00:00
[email protected] 0a02140339 support for backgrounds on table elements in both compatibility modes 1999-06-07 21:10:25 +00:00
[email protected] 9b28ac392e bug 7243. Rewrote FixedTableLayoutStrategy::AssignPreliminaryColumnWidths 1999-06-03 02:42:33 +00:00
[email protected] 255745201b new table selection code drag inside and outside of tables with ease. added some overriding methods to nsTableCellFrame and nsTableFrame to make selection "draw" correctly for those containers. 1999-06-01 23:04:13 +00:00
[email protected] a138139e00 Rewrote DistributeRemainingSpace a 2nd time and added compat mode.
bug 6068, 6933. nsTableRowGroupFrame::CalculateRowHeights - changed row spans to consider
top and bottom margins during height calculations. Calculations using percentages ensure that the sum of
rows sum exactly to excess.

bug 6404 BasicTableLayoutStrategy::BalanceColumnsConstrained cols in span other than 1st col was
not getting additional allocations from cell. ::DistributeRemainSpace uses max width of col
instead of max effective width. Also added checks for negative value during percentage calculations.
1999-05-26 22:22:23 +00:00
[email protected] 2c77f1b613 reviewed sfraser approved choffman 6771 6762 UMR and Extreemly inefficient table selection code fixed simply 1999-05-20 00:52:00 +00:00
[email protected] 5848571fa7 support for css padding in table cells 1999-05-18 05:18:16 +00:00