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
karnaze%netscape.com
33c20babf3
bug 17826, removed buggy/unnecessary RecomputeAdjustedMinIfNecessary, r=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@59448 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 00:48:30 +00:00
karnaze%netscape.com
28c87201ae
bug 24880 colspan/rowspan=0 handling, bug 22122 handle *0 proportional width; r=kmcclusk.
...
git-svn-id: svn://10.0.0.236/trunk@59353 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-01 03:23:29 +00:00
troy%netscape.com
60471abd92
b=21657 a=chofmann@netscape.com Made "overflow list" a full fledged
...
child list and changed ReparentFrameView() to check it.
git-svn-id: svn://10.0.0.236/trunk@58373 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-22 01:16:50 +00:00
karnaze%netscape.com
b431334299
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.
git-svn-id: svn://10.0.0.236/trunk@57952 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-15 20:10:00 +00:00
troy%netscape.com
4e81ba6679
b=20772. Changed ColumnsAreValidFor() so that it correctly handles the case
...
where the cell's desired width shrinks
git-svn-id: svn://10.0.0.236/trunk@57573 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-12 21:53:55 +00:00
karnaze%netscape.com
0fb9049272
fixed tinderbox warnings
...
git-svn-id: svn://10.0.0.236/trunk@56650 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-03 00:56:12 +00:00
karnaze%netscape.com
619f9e6d57
bug 12287 - honors mComputed values in reflow state and uses CSS box-sizing property.
...
git-svn-id: svn://10.0.0.236/trunk@56648 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-02 22:55:48 +00:00
troy%netscape.com
06d04c2e58
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
git-svn-id: svn://10.0.0.236/trunk@56529 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-24 03:46:21 +00:00
karnaze%netscape.com
6ffe908f39
incremental cell map, columns. Bugs 12122, 21544. r=troy,hyatt a=hofmann
...
git-svn-id: svn://10.0.0.236/trunk@55939 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-13 22:56:31 +00:00
karnaze%netscape.com
6c106ec216
removed allocation warning messages
...
git-svn-id: svn://10.0.0.236/trunk@53513 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-15 15:42:20 +00:00
dmose%mozilla.org
92d791b7b0
updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@52908 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:40:37 +00:00
karnaze%netscape.com
49e55fa057
bugs 17138, 17168 and others - col allocation involving colspans honors constraints; pct colspans were allocating incorrectly if pct cols existed.
...
git-svn-id: svn://10.0.0.236/trunk@52879 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-05 22:36:59 +00:00
tbogard%aol.net
aa0f04f201
Changed NS_ASSERTION to NS_WARN_IF_FALSE to avoid crashing people when condition is met. r=hyatt.
...
git-svn-id: svn://10.0.0.236/trunk@52509 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-02 05:14:27 +00:00
karnaze%netscape.com
f98a03f3ac
bug 16284, 14159 nested auto table with percent cells was not growing auto table. nested coord or percent table was only getting min size.
...
git-svn-id: svn://10.0.0.236/trunk@51767 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-25 22:49:51 +00:00
karnaze%netscape.com
46cade08ac
bug 5799 - considers percentage width of multiple cells when figuring width of auto table.
...
git-svn-id: svn://10.0.0.236/trunk@51705 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-25 04:34:28 +00:00
kipp%netscape.com
2ed3a3fc6a
Removed some more warnings
...
git-svn-id: svn://10.0.0.236/trunk@51530 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-22 14:51:41 +00:00
karnaze%netscape.com
a2ae4b6656
bug 5799 - width of auto width table considers percentage cells when they are small relative to the rest of the table. r=dcone
...
git-svn-id: svn://10.0.0.236/trunk@51443 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-21 22:36:21 +00:00
karnaze%netscape.com
905268d150
added #ifdef for debug printing.
...
git-svn-id: svn://10.0.0.236/trunk@50983 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-18 13:48:19 +00:00
kipp%netscape.com
6b0a23c77d
Nuke some more warnings
...
git-svn-id: svn://10.0.0.236/trunk@50855 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 21:18:32 +00:00
karnaze%netscape.com
d0d34df829
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.
...
git-svn-id: svn://10.0.0.236/trunk@50599 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 14:44:22 +00:00
kipp%netscape.com
e18af2d0ee
Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage
...
git-svn-id: svn://10.0.0.236/trunk@50239 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 20:41:19 +00:00
karnaze%netscape.com
c3e71c904f
column allocation does fixed and adjusted fixed (colspans) in separate steps. Simplified AllocateConstrained. Fixed bug 14332.
...
git-svn-id: svn://10.0.0.236/trunk@49714 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-04 05:19:32 +00:00
karnaze%netscape.com
3d4aa5c477
bug 10009 - uses width set on <td> in figuring width of nested table
...
git-svn-id: svn://10.0.0.236/trunk@49247 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-28 21:57:44 +00:00
kipp%netscape.com
8ebf1dd75a
Squish a warning or two
...
git-svn-id: svn://10.0.0.236/trunk@48002 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 20:16:37 +00:00
karnaze%netscape.com
01b3d1f82d
bug 13683 - fixed memory leak.
...
git-svn-id: svn://10.0.0.236/trunk@47853 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-16 22:24:03 +00:00
karnaze%netscape.com
cb8caac5a9
removed border subtraction from out table frame and adjusted in layout strategy.
...
git-svn-id: svn://10.0.0.236/trunk@47175 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-13 21:45:58 +00:00
karnaze%netscape.com
5daea56f8b
bug 12287 - removed nsTableFrame::GetContainerWidth, renamed TableIsAutoWidth to IsAutoWidth and simplified.
...
git-svn-id: svn://10.0.0.236/trunk@44899 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 21:15:21 +00:00
karnaze%netscape.com
42a0e08a9e
bug 1271 - percentage height cells, added GetNumCellsOriginatingInRow, fixed GetNumCellsOriginatingInCol
...
git-svn-id: svn://10.0.0.236/trunk@44534 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 21:49:18 +00:00
karnaze%netscape.com
112f671dfe
replaced debug flags with class. removed compiler warnings.
...
git-svn-id: svn://10.0.0.236/trunk@44283 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 12:01:31 +00:00