hyatt@netscape.com
eaa29fd24b
Patching a function used only by the tree code.
1999-08-22 09:50:22 +00:00
karnaze@netscape.com
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
karnaze@netscape.com
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
troy@netscape.com
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
troy@netscape.com
e0d17406ce
Changed to handle "ReflowDirty" reflow command
1999-08-19 20:05:27 +00:00
karnaze@netscape.com
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
troy@netscape.com
454b06e71e
Changed to table incremental reflow
1999-08-19 03:51:25 +00:00
karnaze@netscape.com
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
karnaze@netscape.com
fe0143c4a5
added constructor to nsTableColGroupFrame, fixed a few places where
...
nsColGroupFrame assummed its children were nsColGroupFrames.
1999-08-10 02:45:18 +00:00
karnaze@netscape.com
b31a52051a
removed some unneeded comments
1999-08-10 01:14:24 +00:00
karnaze@netscape.com
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
troy@netscape.com
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
buster@netscape.com
6f75fa6875
fixed a memory leak, and a null pointer dereference, having to do with collapsing borders
1999-08-07 05:40:09 +00:00
karnaze@netscape.com
9869d2cb45
Always reflow's children for pass1 when reflowed with NS_UNCONSTRAINEDSIZE
1999-08-03 23:20:06 +00:00
troy@netscape.com
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
cmanske@netscape.com
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
cmanske@netscape.com
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
cmanske@netscape.com
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
cmanske@netscape.com
01d27c806d
Added checking for trying to get cell data when index(es) are out of bounds
1999-07-31 23:05:11 +00:00
cmanske@netscape.com
b44bfb4768
Adding interface for editor access to table layout data
1999-07-31 22:11:50 +00:00
karnaze@netscape.com
ac0ec4c9a7
bug 10809, incremental reflow of nested tables now reflows children.
1999-07-29 23:19:52 +00:00
hyatt@netscape.com
541821e18e
Fixing karnaze's bustage.
1999-07-28 08:55:41 +00:00
karnaze@netscape.com
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
troy@netscape.com
8c10dec5d9
Renamed some nsFrameList member functions
1999-07-22 04:00:57 +00:00
troy@netscape.com
d6f5216441
Renamed DeleteFrame() to Destroy()
1999-07-22 02:24:52 +00:00
troy@netscape.com
346eaed537
Added 'm' prefix to some of the nsHTMLReflowState data members
1999-07-20 03:41:03 +00:00
troy@netscape.com
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
hyatt@netscape.com
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
sspitzer@netscape.com
29b6bbc508
set deleted pointers to nsnull. just to be safe. r=hyatt
1999-07-01 07:12:46 +00:00
buster@netscape.com
84b5f256c8
fixed warnings
1999-06-28 13:44:40 +00:00
hyatt@netscape.com
cc2da07b54
More savory tree widget goodness.
1999-06-23 09:07:59 +00:00
hyatt@netscape.com
d6f1501962
Landing the tree widget branch.
1999-06-23 03:02:21 +00:00
hyatt@netscape.com
23bd5fab7f
Fixing a bug in the distribution of excess space to multiple row groups.
1999-06-15 07:06:55 +00:00
hyatt@netscape.com
560a7d38f0
Added support for incremental reflow of nested row groups (yeah, baby, yeah, baby, YEAH).
1999-06-15 01:19:18 +00:00
hyatt@netscape.com
4449ba699e
More nested row group work.
1999-06-14 23:45:14 +00:00
hyatt@netscape.com
12d9213d89
More nested row group changes.
1999-06-14 23:42:16 +00:00
hyatt@netscape.com
bc99652491
More nested row group work.
1999-06-14 08:22:47 +00:00
hyatt@netscape.com
c180aa1dcf
More changes to allow tables to support nested row groups.
1999-06-14 08:01:00 +00:00
karnaze@netscape.com
dae5bff98a
bug 6459 - incremental reflow methods call DeleteFrame instead of RemoveFrame
1999-06-10 02:29:34 +00:00
karnaze@netscape.com
0a02140339
support for backgrounds on table elements in both compatibility modes
1999-06-07 21:10:25 +00:00
karnaze@netscape.com
9b28ac392e
bug 7243. Rewrote FixedTableLayoutStrategy::AssignPreliminaryColumnWidths
1999-06-03 02:42:33 +00:00
mjudge@netscape.com
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
karnaze@netscape.com
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
mjudge@netscape.com
2c77f1b613
reviewed sfraser approved choffman 6771 6762 UMR and Extreemly inefficient table selection code fixed simply
1999-05-20 00:52:00 +00:00
karnaze@netscape.com
5848571fa7
support for css padding in table cells
1999-05-18 05:18:16 +00:00
karnaze@netscape.com
3c92a82387
bug 2961 - table desired size considers pass1 size
1999-05-12 04:15:44 +00:00
kipp@netscape.com
68aa9f7c60
Reworked frame factory methods; fixed bug 4519
1999-05-11 22:03:29 +00:00
karnaze@netscape.com
a15ef73a2e
bug 3103 - resizing table based on height attribute now considers row spans of cells.
1999-05-04 19:15:56 +00:00
karnaze@netscape.com
aedc76fcb9
support for right-to-left direction
1999-04-22 03:51:58 +00:00
troy@netscape.com
ffa1800976
Changed table code to call ReparentFrameView() when pushing/pulling frames
1999-04-13 02:38:09 +00:00