Commit Graph

934 Commits

Author SHA1 Message Date
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
troy@netscape.com
39dae6702f Removed Join() function from nsFrameList, because we already has a version
of AppendFrames() that did the same exact thing
1999-04-13 00:06:17 +00:00
troy@netscape.com
b8c6f4f581 Removed some code from nsContainerFrame that is no longer needed now that'
we have nsFrameList
1999-04-12 23:46:02 +00:00
peterl@netscape.com
12284cc8d2 sync to style context api change
stubs for transparent border color support
1999-03-28 04:32:39 +00:00
kipp@netscape.com
74c9fdfeaf Whacked paint methods to use new constants 1999-03-26 00:39:35 +00:00
troy@netscape.com
065ec45e58 Changed it so we get the computed width from the first-in-flow 1999-03-09 15:35:08 +00:00
troy@netscape.com
b32ac753e1 Overflow code and pushing code now take header/footer frames into
account
1999-03-09 05:29:37 +00:00
troy@netscape.com
8a4f86c0bc Changed ComputeDesiredWidth() to get the table layout strategy from the
first-in-flow. This fixes a crash in paginated mode
1999-03-06 17:01:15 +00:00
troy@netscape.com
60f2a6963a Table header/footer are repeated when splitting tables 1999-03-05 06:00:40 +00:00
kipp@netscape.com
4b0544c35e use new nsHTMLReflowState ctors 1999-03-05 04:19:09 +00:00
troy@netscape.com
7d715a4247 Work-in-progress for table pagination 1999-03-03 16:33:57 +00:00