Commit Graph

180 Commits

Author SHA1 Message Date
karnaze@netscape.com
a59d2b471a bug 65750 - fix error with negative numerator in colspan calculations. sr=none, r=bernd.mielke.snafu.de. 2001-01-30 05:00:44 +00:00
dbaron@fas.harvard.edu
15267f2b5c Remove trailing semicolons after all uses of MOZ_DECL_CTOR_COUNTER to quiet build warnings on Mac. b=60415 a=brendan@mozilla.org 2001-01-27 23:06:33 +00:00
karnaze@netscape.com
f662a4496e bug 63445 - initialized array of float values. r=attinasi. 2001-01-13 00:26:01 +00:00
karnaze@netscape.com
8e5eadcbdf bug 46623 - allocate proportional and auto cols together when balancing columns. (sr=buster, r=peterl)
allow columns (due to colspan) containing no originating cols at the end of the table to exist
2001-01-12 23:07:54 +00:00
karnaze@netscape.com
7a26c6bacc bug 42443 - consider over specified col spans when allocating array, sr=buster 2000-12-21 23:06:44 +00:00
karnaze@netscape.com
84ac2675fb fix mac bustage 2000-12-19 21:16:41 +00:00
karnaze@netscape.com
9b5b8f9a1b bugs 47163, 60807 and others, sr=buster
simplified BasicTableLayoutStrategy's CalculateTotals and CanAllocate
better calculation of proportional cols
calculation of adjusted widths due to colspans honors the fixed and pct widths of cols being spanned
2000-12-19 20:29:46 +00:00
karnaze@netscape.com
904be0eb31 bug 29058 (slightly revised patch submitted by bernd.mielke@snafu.de) r=karnaze (previously sr=waterson). 2000-11-30 22:45:48 +00:00
karnaze@netscape.com
ccd362b0e5 bug 42033 (patch submitted by bernd.mielke@snafu.de) - give 0 proportional cols their min width. sr=waterson, r=karnaze. 2000-11-30 21:44:59 +00:00
karnaze@netscape.com
c88090d762 bug 9848 - check for out of memory when calling new. r=dcone. 2000-11-30 15:53:55 +00:00
karnaze@netscape.com
83257cfe9d bug 35662 - when computing an artifical auto table width for % cells, count only the max contributor in each col. sr=waterson, r=peterl
bug 29058 (patch submitted by bernd.mielke@snafu.de) - consider proportional widths in avail totals. sr=waterson, r=karnaze
2000-11-29 21:48:56 +00:00
warren@netscape.com
0462ea4ce8 Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc. 2000-10-28 22:17:53 +00:00
warren@netscape.com
7730ce0cd3 Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson 2000-10-27 22:43:51 +00:00
karnaze@netscape.com
58db215f98 bug 56024 - if there is no desired content width for a col, don't include the min content in totals. a=buster, r=attinasi. 2000-10-13 01:57:02 +00:00
karnaze@netscape.com
27b7ca0531 bug 53891 - strategy correctly calculates preferred width of a fixed width table. a=buster, r=dcone. 2000-10-06 01:04:13 +00:00
karnaze@netscape.com
8dc5315453 bug 19961 - in standard mode, honor fixed cols and give remaining space to auto cols if there are any. a=buster, r=dcone 2000-10-05 21:01:10 +00:00
karnaze@netscape.com
64ecb97ac3 bug 51727 - rebalance table cols when fixed cell gets smaller and was the contributor of the previous col width. r=rods. 2000-09-12 14:24:35 +00:00
karnaze@netscape.com
8eaed18444 bug 19961 (partial) - in standard mode, give last remaining space to auto cols if there are any. 2000-09-11 04:14:02 +00:00
karnaze@netscape.com
a32f82f8dc bug 14929 - Reallocate colspan adjusted col widths when there is a percent col being spanned. 2000-09-09 01:46:44 +00:00
karnaze@netscape.com
a469e9e3c7 bug 33137 - don't use the min width of a cell which is larger than the fixed width of the cell as the basis of the fixed width contributor. r=attinasi. 2000-09-07 20:55:03 +00:00
karnaze@netscape.com
59d6a99d6d bug 27529 - round column allocations to even pixel value. bug 18955 - don't allocate a col based on desired content if there is a fixed value. r=peterl. 2000-09-01 01:29:50 +00:00
karnaze@netscape.com
37f5fa10f7 nsbeta2+ bug 23345 - layout strategy bases percent over-allocations on style percent values rather than computed values. r=attinasi 2000-05-26 21:13:01 +00:00
karnaze@netscape.com
238eedfff2 nsbeta2+ bug 39885 - invalidate minimal areas. optimize reflows when cells don't change size. r=attinasi 2000-05-25 22:40:21 +00:00
karnaze@netscape.com
8cd5df6549 bug 28811, 29459, 32507 - added flag to reflow state to handle table cells.
changed table min and max width calculations to include percent and proportional cells.
Include border and padding in min table width calc.
2000-05-16 22:55:34 +00:00
karnaze@netscape.com
d5977cf08e bug 29459 - strategy's table min and max width is calculated to include
percent and proportional cells. Stopped caching it. Calculate max element size better.
2000-05-10 00:54:00 +00:00
karnaze@netscape.com
ee63354f10 bug 10636, 15499(partial) - correctly get margin,border,padding from reflow info. calculate it for percentage padding when reflow state not available. r=troy 2000-02-12 01:55:40 +00:00
karnaze@netscape.com
8b43e76063 bug 18770, no percent calcs on unconstrained width, better allocation to cols. 2000-02-09 14:22:00 +00:00
karnaze@netscape.com
c247ae65f0 bug 17826, removed buggy/unnecessary RecomputeAdjustedMinIfNecessary, r=attinasi 2000-02-02 00:48:30 +00:00
karnaze@netscape.com
ae130de1c4 bug 24880 colspan/rowspan=0 handling, bug 22122 handle *0 proportional width; r=kmcclusk. 2000-02-01 03:23:29 +00:00
troy@netscape.com
67f034175a b=21657 a=chofmann@netscape.com Made "overflow list" a full fledged
child list and changed ReparentFrameView() to check it.
2000-01-22 01:16:50 +00:00
karnaze@netscape.com
29f042cbc6 fixed printing assertions; more throughly check cell map usage for contuining frames;
fixed bug 24057; r=kmcclusk,cmanske; could not run mail smoke tests due to prior bustage.
2000-01-15 20:10:00 +00:00
troy@netscape.com
4001f5e4d3 b=20772. Changed ColumnsAreValidFor() so that it correctly handles the case
where the cell's desired width shrinks
2000-01-12 21:53:55 +00:00
karnaze@netscape.com
f3d27b537f fixed tinderbox warnings 2000-01-03 00:56:12 +00:00
karnaze@netscape.com
f81d194173 bug 12287 - honors mComputed values in reflow state and uses CSS box-sizing property. 2000-01-02 22:55:48 +00:00
troy@netscape.com
d400779f00 Reduced size of table cell member data by 4 bytes by only storing the
maximum width and not both the width and height. The height was never used
so this wans't an issue
1999-12-24 03:46:21 +00:00
karnaze@netscape.com
f52136224a incremental cell map, columns. Bugs 12122, 21544. r=troy,hyatt a=hofmann 1999-12-13 22:56:31 +00:00
karnaze@netscape.com
50899265d5 removed allocation warning messages 1999-11-15 15:42:20 +00:00
dmose@mozilla.org
796280940b updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
karnaze@netscape.com
c51946a5b2 bugs 17138, 17168 and others - col allocation involving colspans honors constraints; pct colspans were allocating incorrectly if pct cols existed. 1999-11-05 22:36:59 +00:00
tbogard@aol.net
94204a146c Changed NS_ASSERTION to NS_WARN_IF_FALSE to avoid crashing people when condition is met. r=hyatt. 1999-11-02 05:14:27 +00:00
karnaze@netscape.com
55477ea869 bug 16284, 14159 nested auto table with percent cells was not growing auto table. nested coord or percent table was only getting min size. 1999-10-25 22:49:51 +00:00
karnaze@netscape.com
44703bb7b5 bug 5799 - considers percentage width of multiple cells when figuring width of auto table. 1999-10-25 04:34:28 +00:00
kipp@netscape.com
e01a845da1 Removed some more warnings 1999-10-22 14:51:41 +00:00
karnaze@netscape.com
bb54f83c90 bug 5799 - width of auto width table considers percentage cells when they are small relative to the rest of the table. r=dcone 1999-10-21 22:36:21 +00:00
karnaze@netscape.com
8492111d5b added #ifdef for debug printing. 1999-10-18 13:48:19 +00:00
kipp@netscape.com
dfc235ed69 Nuke some more warnings 1999-10-15 21:18:32 +00:00
karnaze@netscape.com
f7ba5b5188 bug 11026 - AllocateUnconstrained was off by 1 twip in some cases. bug 14159 - cell is not fixed width if an auto cell in the same col has a larger desired size for backward compatibilty. 1999-10-13 14:44:22 +00:00
kipp@netscape.com
ea36a75c90 Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage 1999-10-08 20:41:19 +00:00
karnaze@netscape.com
f7ff6a02eb column allocation does fixed and adjusted fixed (colspans) in separate steps. Simplified AllocateConstrained. Fixed bug 14332. 1999-10-04 05:19:32 +00:00
karnaze@netscape.com
9661a1ee9f bug 10009 - uses width set on <td> in figuring width of nested table 1999-09-28 21:57:44 +00:00