Commit Graph

620 Commits

Author SHA1 Message Date
karnaze%netscape.com
c3359c61d4 fixed bug in debug output for reflow 1999-09-10 13:03:32 +00:00
briano%netscape.com
08af3df2e0 General cleanup. 1999-09-10 00:18:42 +00:00
troy%netscape.com
c35856b144 Eliminated compiler warnings 1999-09-08 20:29:56 +00:00
karnaze%netscape.com
5b0679f4bf bugs 965, 1053, 1163 - improved handling of borders; bug 10216 align, text-align on caption. 1999-09-02 00:07:14 +00:00
mjudge%netscape.com
9c8fd6ae78 getting rid of build warnings 1999-09-01 21:37:32 +00:00
kipp%netscape.com
433a754f0b Remove a warning 1999-09-01 20:59:13 +00:00
troy%netscape.com
e47c2b4fe6 Optimized IR_TargetIsChild() so in the simple case where the row frame
has no cells that span into or across the row we don't call CalculateRowHeights()
1999-09-01 05:16:12 +00:00
troy%netscape.com
7492fe49f2 Added definition for RowHasSpanningCells() 1999-09-01 04:36:47 +00:00
cyeh%netscape.com
34cd2ddae1 Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people. 1999-09-01 01:13:14 +00:00
kipp%netscape.com
7fe2679e86 Updated SizeOf methods to not waste space when doing a non-debug build 1999-09-01 01:02:16 +00:00
troy%netscape.com
33c2ac2603 Changed ReflowMappedChildren() to reset max element size to 0 for an
incremental reflow
1999-08-31 05:55:33 +00:00
kipp%netscape.com
f808fbb193 Reimplemented SizeOf methods in some of the frame classes; partial rework of first-line handling snapshot 1999-08-31 03:09:40 +00:00
troy%netscape.com
a7a27982af Changing tables to return max element size during an incremental reflow 1999-08-30 22:30:32 +00:00
karnaze%netscape.com
23e30e42c8 backed out fix for bug 6674 because it broke resizing collapsing rows 1999-08-30 22:00:12 +00:00
hyatt%netscape.com
415182cc05 Changes to the cell map to support incremental insertion and removal of rows. Currently
only used by the tree widget.
1999-08-30 00:01:09 +00:00
hyatt%netscape.com
d67f1ece67 Teaching the fixed layout strategy how to deal with relative/proportional specified
widths.
1999-08-29 06:00:32 +00:00
troy%netscape.com
20364c9f5a Fix for bug #12592. Optimized style change reflow commands targeted at
a cell frame
1999-08-29 04:18:00 +00:00
hyatt%netscape.com
dc1ee7e3f6 Tweaks to be able to see the RowReflowState over in trees 1999-08-28 00:43:53 +00:00
kipp%netscape.com
52db05b1bf Fixed bug #6674 by honoring the css overflow property and only setting the clip rect when overflow is 'hidden' 1999-08-27 21:53:04 +00:00
karnaze%netscape.com
711879206c bug 12287 - removed nsTableFrame::GetContainerWidth, renamed TableIsAutoWidth to IsAutoWidth and simplified. 1999-08-27 21:15:21 +00:00
karnaze%netscape.com
9d31e7c8a1 bug 12590 - vertical-align:middle working on cell 1999-08-27 04:29:05 +00:00
karnaze%netscape.com
a6cc89fba6 backing out recent changes that failed table regression tests 1999-08-26 16:56:42 +00:00
hyatt%netscape.com
229e5bf222 Fix for bug 12887. 1999-08-26 10:23:49 +00:00
karnaze%netscape.com
7dddc57925 bug 1271 - percentage height cells, added GetNumCellsOriginatingInRow, fixed GetNumCellsOriginatingInCol 1999-08-25 21:49:18 +00:00
karnaze%netscape.com
b8e618df7b replaced debug flags with class. removed compiler warnings. 1999-08-24 12:01:31 +00:00
karnaze%netscape.com
b22eea9c74 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
580f6c95ec bug 11026 - rounding error on balancing when max element size is too large. 1999-08-23 04:41:30 +00:00
karnaze%netscape.com
f6ebcc42ce removed assertions in new incremental layout methods 1999-08-22 23:56:39 +00:00
hyatt%netscape.com
828c4338ed Patching a function used only by the tree code. 1999-08-22 09:50:22 +00:00
karnaze%netscape.com
08565d8aff changed initial value in ColumnsAreValidFor. 1999-08-22 02:36:00 +00:00
troy%netscape.com
e36f66a90d Minor cleanup 1999-08-21 21:24:42 +00:00
troy%netscape.com
7dad5f9379 Removed some code that was accidentally added back in the previous revisions 1999-08-21 21:17:23 +00:00
troy%netscape.com
eda8afb2b6 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
6eb1c1889b 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
cb3ff2b8d2 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
6bfc3a2edf 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
192c3f9be8 remove mac compiler warning 1999-08-20 13:32:23 +00:00
brade%netscape.com
13ca5f21c8 remove macintosh compiler warnings 1999-08-20 13:27:48 +00:00
karnaze%netscape.com
5988116697 added null checking 1999-08-20 03:30:40 +00:00
troy%netscape.com
c36fb58fe5 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
57ee1e4723 fix mac bustage 1999-08-19 20:36:52 +00:00
troy%netscape.com
f3a9f0e862 Changed to handle "ReflowDirty" reflow command 1999-08-19 20:05:27 +00:00
karnaze%netscape.com
7bad0d49ba 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
f901be20dc Changed to table incremental reflow 1999-08-19 03:51:25 +00:00
karnaze%netscape.com
c3c7c48b80 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
cf9667f8f9 Converted outer table frame code over to new reflow command handling 1999-08-10 03:52:15 +00:00
karnaze%netscape.com
c598fc57e3 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
b71e1b0379 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
ab2df8841f removed some unneeded comments 1999-08-10 01:14:24 +00:00
karnaze%netscape.com
dbce38c94b 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