karnaze%netscape.com
6c1a4b003e
bug 60816 use correct cell when rowspan and colspan overlap. Fix pixel rounding errors. sr=attiansi, r=alexsavulov
...
git-svn-id: svn://10.0.0.236/trunk@106308 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 02:30:38 +00:00
gerv%gerv.net
13afb6d0f9
Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
...
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
karnaze%netscape.com
84205c2f3e
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
...
git-svn-id: svn://10.0.0.236/trunk@103837 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 13:49:26 +00:00
karnaze%netscape.com
4072b4f8d3
bug 48827 - round column width to even pixel when calculating percent column. sr=attinasi,r=bernd
...
git-svn-id: svn://10.0.0.236/trunk@101622 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-22 04:24:10 +00:00
bernd.mielke%snafu.de
4dc7faa6dd
Lookup column specified fixed width before computing the colspans,
...
this is necessary for a reasonable min width distribution. bug 32841 r=karnaze
sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@101090 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-15 07:20:18 +00:00
karnaze%netscape.com
1fa8130ddb
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
...
git-svn-id: svn://10.0.0.236/trunk@100529 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-07 21:26:02 +00:00
karnaze%netscape.com
d73eed89ce
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.
git-svn-id: svn://10.0.0.236/trunk@100395 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-06 14:18:50 +00:00
karnaze%netscape.com
dc533afd4b
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
...
git-svn-id: svn://10.0.0.236/trunk@100393 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-06 13:58:46 +00:00
bernd.mielke%snafu.de
2ca7d9b2aa
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
git-svn-id: svn://10.0.0.236/trunk@99323 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-16 19:15:01 +00:00
bernd.mielke%snafu.de
bd49af42b2
encapsulate printf's in BasicTableLayoutStrategy.cpp
...
bug 78770 r= karnaze sr = atttinasi
git-svn-id: svn://10.0.0.236/trunk@95138 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-16 14:56:09 +00:00
bernd.mielke%snafu.de
dcb3684974
overwrite spurious percent colspan widths - bug 46944 r=karnaze sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@93233 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-27 04:03:48 +00:00
bernd.mielke%snafu.de
16c67e7c6b
checkin of the remaining lines from my previous patch for bug 47432.
...
thanks to dbaron r=karnaze sr=attinasi a=asa
git-svn-id: svn://10.0.0.236/trunk@92746 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-19 19:11:17 +00:00
bernd.mielke%snafu.de
431aac1d4d
fix my bustage
...
git-svn-id: svn://10.0.0.236/trunk@92523 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-17 05:34:10 +00:00
bernd.mielke%snafu.de
f053ce605d
look first for the inner colspans if more than one colspan start in a column
...
bug 47432 r=karnazesr =attinasi
git-svn-id: svn://10.0.0.236/trunk@92514 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-17 04:32:32 +00:00
karnaze%netscape.com
371c47e0e3
bug 60807 - revised patch to handle 2 regression test cases.
...
git-svn-id: svn://10.0.0.236/trunk@92358 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-15 20:49:09 +00:00
karnaze%netscape.com
2aba039789
bug 60807 - reduce avail width by fixed widths when calculating colspan widths. sr=attinasi, r=bernd.mielke@snafu.de
...
git-svn-id: svn://10.0.0.236/trunk@92356 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-15 17:08:04 +00:00
karnaze%netscape.com
222cdae092
bug 72396 - fix CalcBorderBoxWidth to not use unconstrained width. Fix column balancing to be skipped when there is an unconstrained width. sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@90348 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-24 23:15:49 +00:00
bernd.mielke%snafu.de
a65d68f47f
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
git-svn-id: svn://10.0.0.236/trunk@89990 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 06:02:21 +00:00
timeless%mac.com
534247895d
fix Bug 70989 Clean up lots of "shadows" and other common warnings
...
r=peterv, jst, ducarroz, edburns. sr=jst, shaver
git-svn-id: svn://10.0.0.236/trunk@89986 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 05:32:22 +00:00
karnaze%netscape.com
c76866e3ea
table reflow coalescing, table reflow face lift. sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@89462 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 06:38:59 +00:00
bernd.mielke%snafu.de
a7ee7087cd
fix regression - bug 42443, overspecified columns should distribute their
...
space only to well behaving columns, r= karnaze sr= attinasi
git-svn-id: svn://10.0.0.236/trunk@89447 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 05:10:17 +00:00
karnaze%netscape.com
b45820e80c
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
...
git-svn-id: svn://10.0.0.236/trunk@86475 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 04:31:38 +00:00
karnaze%netscape.com
edb1ea12e8
more peformance work on test case of bug 60494. Removed redundant calls to recompute colspan widths. Added more debug reflow timing code. r=peterl.
...
git-svn-id: svn://10.0.0.236/trunk@85925 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 02:29:14 +00:00
karnaze%netscape.com
81a3ff9143
bug 65750 - fix error with negative numerator in colspan calculations. sr=none, r=bernd.mielke.snafu.de.
...
git-svn-id: svn://10.0.0.236/trunk@85735 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 05:00:44 +00:00
dbaron%fas.harvard.edu
5f0a7ab9bd
Remove trailing semicolons after all uses of MOZ_DECL_CTOR_COUNTER to quiet build warnings on Mac. b=60415 a=brendan@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@85654 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 23:06:33 +00:00
karnaze%netscape.com
d3c1d01164
bug 63445 - initialized array of float values. r=attinasi.
...
git-svn-id: svn://10.0.0.236/trunk@84904 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-13 00:26:01 +00:00
karnaze%netscape.com
a7ed9d39d0
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
git-svn-id: svn://10.0.0.236/trunk@84899 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-12 23:07:54 +00:00
karnaze%netscape.com
56d0a07733
bug 42443 - consider over specified col spans when allocating array, sr=buster
...
git-svn-id: svn://10.0.0.236/trunk@83967 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-21 23:06:44 +00:00
karnaze%netscape.com
dc562ca5cb
fix mac bustage
...
git-svn-id: svn://10.0.0.236/trunk@83863 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-19 21:16:41 +00:00
karnaze%netscape.com
40a59f1659
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
git-svn-id: svn://10.0.0.236/trunk@83859 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-19 20:29:46 +00:00
karnaze%netscape.com
b405145196
bug 29058 (slightly revised patch submitted by bernd.mielke@snafu.de) r=karnaze (previously sr=waterson).
...
git-svn-id: svn://10.0.0.236/trunk@83159 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 22:45:48 +00:00
karnaze%netscape.com
6d3930718f
bug 42033 (patch submitted by bernd.mielke@snafu.de) - give 0 proportional cols their min width. sr=waterson, r=karnaze.
...
git-svn-id: svn://10.0.0.236/trunk@83147 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 21:44:59 +00:00
karnaze%netscape.com
0a9d87c0a3
bug 9848 - check for out of memory when calling new. r=dcone.
...
git-svn-id: svn://10.0.0.236/trunk@83133 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 15:53:55 +00:00
karnaze%netscape.com
4c98bd1dc4
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
git-svn-id: svn://10.0.0.236/trunk@83071 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 21:48:56 +00:00
warren%netscape.com
a8b9664a8c
Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
...
git-svn-id: svn://10.0.0.236/trunk@81967 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 22:17:53 +00:00
warren%netscape.com
c6b67eceeb
Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@81885 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 22:43:51 +00:00
karnaze%netscape.com
5c86c865cd
bug 56024 - if there is no desired content width for a col, don't include the min content in totals. a=buster, r=attinasi.
...
git-svn-id: svn://10.0.0.236/trunk@81100 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-13 01:57:02 +00:00
karnaze%netscape.com
ed7846789e
bug 53891 - strategy correctly calculates preferred width of a fixed width table. a=buster, r=dcone.
...
git-svn-id: svn://10.0.0.236/trunk@80541 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-06 01:04:13 +00:00
karnaze%netscape.com
2492434d68
bug 19961 - in standard mode, honor fixed cols and give remaining space to auto cols if there are any. a=buster, r=dcone
...
git-svn-id: svn://10.0.0.236/trunk@80470 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 21:01:10 +00:00
karnaze%netscape.com
347661a45d
bug 51727 - rebalance table cols when fixed cell gets smaller and was the contributor of the previous col width. r=rods.
...
git-svn-id: svn://10.0.0.236/trunk@78873 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 14:24:35 +00:00
karnaze%netscape.com
0841e82221
bug 19961 (partial) - in standard mode, give last remaining space to auto cols if there are any.
...
git-svn-id: svn://10.0.0.236/trunk@78712 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 04:14:02 +00:00
karnaze%netscape.com
3a14935f89
bug 14929 - Reallocate colspan adjusted col widths when there is a percent col being spanned.
...
git-svn-id: svn://10.0.0.236/trunk@78566 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 01:46:44 +00:00
karnaze%netscape.com
36ea06ba2f
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.
...
git-svn-id: svn://10.0.0.236/trunk@78419 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 20:55:03 +00:00
karnaze%netscape.com
ba59a76950
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.
...
git-svn-id: svn://10.0.0.236/trunk@77825 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 01:29:50 +00:00
karnaze%netscape.com
06430e799c
nsbeta2+ bug 23345 - layout strategy bases percent over-allocations on style percent values rather than computed values. r=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@70938 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 21:13:01 +00:00
karnaze%netscape.com
8cc9e6956a
nsbeta2+ bug 39885 - invalidate minimal areas. optimize reflows when cells don't change size. r=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@70866 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 22:40:21 +00:00
karnaze%netscape.com
1979c23f3b
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.
git-svn-id: svn://10.0.0.236/trunk@70140 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 22:55:34 +00:00
karnaze%netscape.com
f1700ddd48
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.
git-svn-id: svn://10.0.0.236/trunk@68947 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 00:54:00 +00:00
karnaze%netscape.com
19635b17c5
bug 10636, 15499(partial) - correctly get margin,border,padding from reflow info. calculate it for percentage padding when reflow state not available. r=troy
...
git-svn-id: svn://10.0.0.236/trunk@60564 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-12 01:55:40 +00:00
karnaze%netscape.com
d05a3a002f
bug 18770, no percent calcs on unconstrained width, better allocation to cols.
...
git-svn-id: svn://10.0.0.236/trunk@60237 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-09 14:22:00 +00:00