Commit Graph

323 Commits

Author SHA1 Message Date
jim_nance@yahoo.com
5244c11262 Fix bug 241599 - Speed up table layotu code by reducing GetCellInfoAt() calls. r=bernd sr=dbaron 2004-07-16 01:49:18 +00:00
gerv@gerv.net
a1ec040a65 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:30:37 +00:00
jim_nance@yahoo.com
6dd21c7b66 Fix Bug 236703 - Make the table layout code faster and smaller.
r=bernd sr=bzbarsky
2004-04-12 23:51:33 +00:00
bmlk@gmx.de
af8832a6e5 reduce prescontext usage in basic layout strategy bug 229457 r/sr=roc 2003-12-28 17:02:40 +00:00
bmlk@gmx.de
033702bc7f OS/2 crash prevention, make sure that a division by zero can not occure, bug 221975, r/sr=bzbarsky 2003-11-13 17:34:46 +00:00
bmlk@gmx.de
cf4bd34615 include previously removed borderpadding and cellspacing, bug 215629, r=jkeiser sr=dbaron 2003-09-24 16:04:54 +00:00
bmlk@gmx.de
474757012f overflow area implementation for table frames, bug 173277 r=jkeiser sr=dbaron 2003-09-13 16:26:30 +00:00
bmlk@gmx.de
560cdbe972 avoid marking columns that only have a desired width empty, what would exclude them from space redistribution, bug 194024, r=jkeiser sr=bzbarsky 2003-05-31 14:15:56 +00:00
dbaron@dbaron.org
f98e358469 Clean up API (and its callers) for getting style data: remove unneeded null checks and switch to new inline member functions (one for each struct) that return values. b=197205 r+sr=roc a=brendan 2003-05-15 03:42:21 +00:00
bmlk@gmx.de
27bbab1bb0 change table cell width to content width, bug 119100 r=jkeiser sr=bzbarsky 2003-03-21 19:35:36 +00:00
bryner@netscape.com
c98c382545 Phase 1 of style context deCOMtamination (bug 114713). Remove all dependencies on nsIStyleContext from outside of content and layout. Make nsIFrame::GetStyleData be a non-inline virtual function when called from outside of layout, since the nsStyleContext implementation won't be available to those callers. r=dbaron, sr=bzbarsky. 2003-01-09 06:49:07 +00:00
karnaze@netscape.com
3687f6875d bug 160014 - recalc cellspacing total when balancing. sr=kin, r=kmcclusk 2002-09-15 01:59:21 +00:00
bernd.mielke@snafu.de
eb62e0b0d3 bug 131687 Take into acount MIN_adj width as it has been included in totals before r=karnaze sr=waterson 2002-07-02 04:39:16 +00:00
karnaze@netscape.com
3ad7ba6f6c bug 127544 - fixed asserts when there are no cells in a row group and there is a column. sr=kin, r=alexsavulov. 2002-06-19 22:35:59 +00:00
bernd.mielke@snafu.de
8b30225270 removal of debug cruft bug 146474 r=karnaze sr=attinasi 2002-05-29 18:55:34 +00:00
jst@netscape.com
78ccba6821 Fixing bug 146034. Getting rid of nsHTMLIIDs.{h,cpp}. r=jfrancis@netscape.com, sr=rpotts@netscape.com 2002-05-23 00:00:34 +00:00
karnaze@netscape.com
2d6ca07d1d bug 128876 - expanded border collapse damage area to include spanners. sr=roc, r=bernd, a=asa 2002-03-07 15:33:49 +00:00
karnaze@netscape.com
9a13af360b bug 41262 - new table border collapsing code. sr=attinasi, r=alexsavulov. 2002-02-19 15:48:28 +00:00
bernd.mielke@snafu.de
f00f9dcb27 wider use of GetEffectiveColCount bug 100034 r=karnaze sr=attinasi 2002-02-16 06:03:36 +00:00
karnaze@netscape.com
4867cbd756 bug 51023 - reduce the size of table related frame classes. sr=kin. 2001-11-30 15:05:51 +00:00
karnaze@netscape.com
f23661affc bug 60816 use correct cell when rowspan and colspan overlap. Fix pixel rounding errors. sr=attiansi, r=alexsavulov 2001-10-26 02:30:38 +00:00
gerv@gerv.net
58d409fba9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
karnaze@netscape.com
96c0c5115e Fix bug "IFrames repositioned by whitespace in HTML" (no number yet) - give cols with no content 0 width unless they have style width, sr=kin, r=alexsavulov 2001-09-26 13:49:26 +00:00
karnaze@netscape.com
da64dd5e6d bug 48827 - round column width to even pixel when calculating percent column. sr=attinasi,r=bernd 2001-08-22 04:24:10 +00:00
bernd.mielke@snafu.de
3e874c34c3 Lookup column specified fixed width before computing the colspans,
this is necessary for a reasonable min width distribution. bug 32841 r=karnaze
sr=attinasi
2001-08-15 07:20:18 +00:00
karnaze@netscape.com
1b073e059a bug 80762 - improved calc of basis for auto table when there are pct cells/cols. Skipped calc for fixed width table. sr=attinasi, r=alexsavulov 2001-08-07 21:26:02 +00:00
karnaze@netscape.com
c73a17c59b bug 91934 - Added static UpdateCol and call it when a cell changes width even though a rebalance is not needed. Stopped storing fix width in col as max of min and fix.
bug 92647 incorrectly had this description (it should have said - correct calculate preferred table widths and cache the value). sr=attinasi, r=alexsavulov.
2001-08-06 14:18:50 +00:00
karnaze@netscape.com
d52f666021 bug 92647 - Added static UpdateCol and call it when a cell changes width even though a rebalance is not needed. Stopped storing fix width in col as max of min and fix. sr=attinasi, r=alexsavulov 2001-08-06 13:58:46 +00:00
bernd.mielke@snafu.de
41ebb405a8 bug 45486 fixing percent colspans iterate over from the inner to the outer colspan
cleanup in header files, some documentation, removing cruft
bug 55694 use reflowstate.availwidth if is usefull
r=karnaze sr=attinasi
2001-07-16 19:15:01 +00:00
bernd.mielke@snafu.de
ab4d8e5a9a encapsulate printf's in BasicTableLayoutStrategy.cpp
bug 78770 r= karnaze sr = atttinasi
2001-05-16 14:56:09 +00:00
bernd.mielke@snafu.de
fa3cc948ff overwrite spurious percent colspan widths - bug 46944 r=karnaze sr=attinasi 2001-04-27 04:03:48 +00:00
bernd.mielke@snafu.de
f6b856751b checkin of the remaining lines from my previous patch for bug 47432.
thanks to dbaron r=karnaze sr=attinasi a=asa
2001-04-19 19:11:17 +00:00
bernd.mielke@snafu.de
039c2496a1 fix my bustage 2001-04-17 05:34:10 +00:00
bernd.mielke@snafu.de
b5f11bac91 look first for the inner colspans if more than one colspan start in a column
bug 47432 r=karnazesr =attinasi
2001-04-17 04:32:32 +00:00
karnaze@netscape.com
ce18bd1374 bug 60807 - revised patch to handle 2 regression test cases. 2001-04-15 20:49:09 +00:00
karnaze@netscape.com
eada36e6c0 bug 60807 - reduce avail width by fixed widths when calculating colspan widths. sr=attinasi, r=bernd.mielke@snafu.de 2001-04-15 17:08:04 +00:00
karnaze@netscape.com
2ce3a293e8 bug 72396 - fix CalcBorderBoxWidth to not use unconstrained width. Fix column balancing to be skipped when there is an unconstrained width. sr=attinasi 2001-03-24 23:15:49 +00:00
bernd.mielke@snafu.de
8d74c6197a limit the spread of desired content width in colspans with specified fixed width's
bug 42187, it fixes also the regression in bug 2684. r=karnaze sr=attinasi
2001-03-21 06:02:21 +00:00
timeless@mac.com
5197e93c42 fix Bug 70989 Clean up lots of "shadows" and other common warnings
r=peterv, jst, ducarroz, edburns. sr=jst, shaver
2001-03-21 05:32:22 +00:00
karnaze@netscape.com
dffc3b4c67 table reflow coalescing, table reflow face lift. sr=attinasi 2001-03-13 06:38:59 +00:00
bernd.mielke@snafu.de
69a57aa3ed fix regression - bug 42443, overspecified columns should distribute their
space only to well behaving columns, r= karnaze sr= attinasi
2001-03-13 05:10:17 +00:00
karnaze@netscape.com
5f816151dd bug 67861 - don't rebalance table to calculate max width; cache last available width in outer table; improved debug reflow timing; sr=attinasi, r=peterl 2001-02-07 04:31:38 +00:00
karnaze@netscape.com
b2ad600fd2 more peformance work on test case of bug 60494. Removed redundant calls to recompute colspan widths. Added more debug reflow timing code. r=peterl. 2001-02-01 02:29:14 +00:00
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