karnaze@netscape.com
ab94a62954
bug 1271 - percentage height cells, added GetNumCellsOriginatingInRow, fixed GetNumCellsOriginatingInCol
1999-08-25 21:49:18 +00:00
karnaze@netscape.com
9f37cd96e7
replaced debug flags with class. removed compiler warnings.
1999-08-24 12:01:31 +00:00
karnaze@netscape.com
28ad68a96c
bugs 9123, 10002 - percentage height tables exclude margin/border/padding of HTML and BODY
1999-08-24 04:17:05 +00:00
karnaze@netscape.com
51f510d09f
bug 11026 - rounding error on balancing when max element size is too large.
1999-08-23 04:41:30 +00:00
karnaze@netscape.com
9e46a2e967
removed assertions in new incremental layout methods
1999-08-22 23:56:39 +00:00
hyatt@netscape.com
eaa29fd24b
Patching a function used only by the tree code.
1999-08-22 09:50:22 +00:00
karnaze@netscape.com
6f5364e38b
changed initial value in ColumnsAreValidFor.
1999-08-22 02:36:00 +00:00
troy@netscape.com
d1c39e45d2
Minor cleanup
1999-08-21 21:24:42 +00:00
troy@netscape.com
4a6cb485e3
Removed some code that was accidentally added back in the previous revisions
1999-08-21 21:17:23 +00:00
troy@netscape.com
84db47705a
Optimized incremental reflow and split some code out into member functions
...
so there's less dusplication of code
1999-08-21 20:16:32 +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
f546a45217
Optimized CalculateRowHeights() to skip step 2 if there are no cells that
...
have row spans
1999-08-20 23:27:39 +00:00
brade@netscape.com
6d1f64c59c
remove mac compiler warning
1999-08-20 13:32:23 +00:00
brade@netscape.com
b344c40d93
remove macintosh compiler warnings
1999-08-20 13:27:48 +00:00
karnaze@netscape.com
fe0062662e
added null checking
1999-08-20 03:30:40 +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
karnaze@netscape.com
86bc1cbc73
fix mac bustage
1999-08-19 20:36: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
troy@netscape.com
8adc257737
Converted outer table frame code over to new reflow command handling
1999-08-10 03:52:15 +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
95ac4cc048
commented out print statements when passing a row,col outside of cell map,
...
since the test case in bug 9024 can cause this condition.
1999-08-10 02:43:45 +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
peterl@netscape.com
f40eb01f74
moved scrolled content pseudo atom to layout atoms
1999-08-08 01:19:36 +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
troy@netscape.com
d121b4517a
Fix for bug #11393
1999-08-07 00:31:02 +00:00
troy@netscape.com
8c1793cf94
Changed reflow command handling over to the new approach
1999-08-06 14:34:56 +00:00
cmanske@netscape.com
d2e54fe537
Added method to nsITableCellLayout. Fixed QI bug
1999-08-04 02:04:45 +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
karnaze@netscape.com
c56a8d5931
replace assertions with printf statements until bug 10911 gets resolved
1999-08-03 23:17:50 +00:00
karnaze@netscape.com
6f11207ef1
figuring a col's adj min width from a colspan uses adj min width
1999-08-03 23:16:43 +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
troy@netscape.com
ec7791f73c
Changed to new command reflow handling
1999-08-03 02:41:27 +00:00
troy@netscape.com
42e86782a6
Finished cleanup of reflow command handling
1999-08-02 02:18:33 +00:00
troy@netscape.com
bc20c459b0
Reflow command cleanup
1999-08-01 22:21:03 +00:00
troy@netscape.com
a31590a4de
Work-in-progress for table handling of reflow commands
1999-08-01 22:01:37 +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
karnaze@netscape.com
a6e4ff24b6
fixes related to crash in AC_Wrapup on optimized builds.
1999-07-28 19:43:37 +00:00
shaver@netscape.com
73c51845d7
zero out colInfo wehen allocated to avoid startup crash and other badness
1999-07-28 18:52:04 +00:00
karnaze@netscape.com
f1201519ab
fix mac breakage, hopefully
1999-07-28 09:13:44 +00:00