868 Commits

Author SHA1 Message Date
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
rods%netscape.com
b23e7af50b This checkin enables mozilla to support the printing of selection, the printing of page ranges, and
the printing of headers and footers.
Printing of selection is implemented by the frames figuring out if they are in the selection and painting
if they or not they they don't paint. This also only allows the printing of the first page of
selections, alothough it is well documented where this is implemeted so it can be removed.
Bugs 63426, 31218, 61075 r=dcone,kmcclusk,erik,buster sr=waterson


git-svn-id: svn://10.0.0.236/trunk@85624 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 14:09:34 +00:00
karnaze%netscape.com
7ed07e7ca8 bug 34176 - correct fixed table layout over allocated cols. sr=waterson, r=karnaze.
git-svn-id: svn://10.0.0.236/trunk@85587 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-26 23:44:59 +00:00
karnaze%netscape.com
f6ee0a099e bug 62502 - null pointer check. sr=waterson, r=karnaze.
git-svn-id: svn://10.0.0.236/trunk@85585 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-26 23:40:36 +00:00
karnaze%netscape.com
a75084797d bug 56201 - don't allow a cell to return a desired width bigger than the avail width in a fixed layout table. sr=buster, r=peterl.
git-svn-id: svn://10.0.0.236/trunk@85528 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 22:57:53 +00:00
karnaze%netscape.com
9fcb604c43 bug 65372 - allow rows to be inserted after an over specified row span. sr=buster, r=attinasi.
git-svn-id: svn://10.0.0.236/trunk@85496 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 16:02:14 +00:00
karnaze%netscape.com
919b0e5623 bug 60494 - only request the max width of the innner table if it is requested of the outer table. sr=buster, r=peterl.
git-svn-id: svn://10.0.0.236/trunk@85495 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 16:00:59 +00:00
karnaze%netscape.com
d95bd4f152 better table reflow debugging including support for elapsed time. sr=buster.
git-svn-id: svn://10.0.0.236/trunk@85493 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 15:55:51 +00:00
mcafee%netscape.com
644a6ffc68 Backing out pierre's change from 1/20 for performance reasons (66263). r=attinasi, a=granrose, phil
git-svn-id: svn://10.0.0.236/trunk@85463 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 02:58:12 +00:00
pierre%netscape.com
148e913722 #43457 split nsStyleSpacing into 4 smaller structures: nsStyleBorder, nsStylePadding, nsStyleMargin, nsStyleOutline. Review=attinasi. Pending Approval: buster.
git-svn-id: svn://10.0.0.236/trunk@85210 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-20 22:46:54 +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
ea4c5233e6 removed assertion added during fix for bug 57828.
git-svn-id: svn://10.0.0.236/trunk@84821 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-11 23:22:44 +00:00
karnaze%netscape.com
2712b6c214 bug 57828 - better handling of nowrap in table cell. sr=buster, r=attinasi.
git-svn-id: svn://10.0.0.236/trunk@84820 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-11 23:03:37 +00:00
karnaze%netscape.com
2ca2d87423 bug 56201 - allow cell to return larger desired size than avail during incremental reflow. sr=buster, r=peterl
git-svn-id: svn://10.0.0.236/trunk@84818 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-11 22:51:35 +00:00
rods%netscape.com
a6e0d47c5a removing most all NS_DEFINE_IID and replacing them with NS_GET_IID macros
Bug 61274, r=buster sr=waterson


git-svn-id: svn://10.0.0.236/trunk@84377 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 20:44:42 +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
3a6c654791 bug 40721 - improved TallestCellGotShorter(), sr=buster, r=rods
git-svn-id: svn://10.0.0.236/trunk@83965 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-21 23:03:42 +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
rods%netscape.com
cd5016b309 changing the name of the reflow state in the reflow counter macro
b=61496 r=kmcclusk sr=waterson


git-svn-id: svn://10.0.0.236/trunk@83150 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 21:51:21 +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
7edb2f10f0 bug 55545 - set the table preferred width during an unconstrained reflow. Return the preferred width as the maximum width when requested in the outer table reflow. a=buster, r=dcone
git-svn-id: svn://10.0.0.236/trunk@83080 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 22:30:09 +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
karnaze%netscape.com
ed4a9c12ea bug 56563 - frame constructor creates anonymous frames when a table has a child which is not table related.
ConstructFrameByTag takes additional arg indicating that a whitespace frame was not constructed. sr=buster, r=attinasi


git-svn-id: svn://10.0.0.236/trunk@82925 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-27 22:47:33 +00:00
cls%seawood.org
6088dfbf6b Resurrect REQUIRES so that we have some sort of means to track intermodule dependencies. Bug #59454 r=blizzard@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@82785 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-20 07:16:06 +00:00
karnaze%netscape.com
c340f8a41b bug 57378 (table portion) - don't repeat a thead or tfoot that is larger than 25% of the page. a=buster, r=attinasi.
git-svn-id: svn://10.0.0.236/trunk@82655 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-15 22:26:35 +00:00
karnaze%netscape.com
b405a325ad bug 40828 - call DidSetStyleContext when reflow a cell unconstrained. a=buster, r=dcone.
git-svn-id: svn://10.0.0.236/trunk@82640 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-15 16:01:26 +00:00
karnaze%netscape.com
90f01b8db4 bug 59252 - fixed regression caused by bug 53690. Don't reflow cell's in a fixed layout table unconstrained. a=buster, r=attinasi.
git-svn-id: svn://10.0.0.236/trunk@82638 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-15 14:59:47 +00:00
karnaze%netscape.com
8e0ac00366 bug 53690 - don't allow a split row to reflow its cells unconstrained. a=buster, r=dcone.
git-svn-id: svn://10.0.0.236/trunk@82268 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-03 04:25:29 +00:00
buster%netscape.com
c94c187442 bug 53690 part of table never displayed because of incremental reflow bug
r=karnaze
a=waterson


git-svn-id: svn://10.0.0.236/trunk@81995 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-30 04:15:32 +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
e6d784c22a bug 55789 - the col group frame increments its num cols before inserting the col into the table. a=buster, r=dcone.
git-svn-id: svn://10.0.0.236/trunk@80953 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 22:09:00 +00:00
karnaze%netscape.com
f89c16b1b4 bug 55192 (2nd part) - During a table reflow, consider row groups that may have been deleted because they were next flows and placed in the sibling chain. a=buster, r=dcone.
git-svn-id: svn://10.0.0.236/trunk@80768 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-09 23:57:51 +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
6d620a422b bug 49490 - turn off collapsing borders, rules. Fix reflow state to not account for vertical borders or padding on rows. a=buster, r=dcone.
git-svn-id: svn://10.0.0.236/trunk@80527 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 23:49:25 +00:00
karnaze%netscape.com
a3eba992f1 bug 55192 - use the strategy of the first in flow when (incorrectly) getting an incremental reflow during printing. a=buster, r=peterl
git-svn-id: svn://10.0.0.236/trunk@80473 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 21:07:00 +00:00
karnaze%netscape.com
cbfbe360c4 bug 51392 - use nothing changed flag when deciding whether to rebalance table during row incremental reflow. a=buster, r=peterl
git-svn-id: svn://10.0.0.236/trunk@80471 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 21:05:06 +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
attinasi%netscape.com
b7188b65d1 Fixed null content causing assertion in ReResolveStyleContext. b=54454 r=karnaze@netscape.com, a=buster@netscape.com
git-svn-id: svn://10.0.0.236/trunk@80377 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-04 22:22:46 +00:00
karnaze%netscape.com
d6f50aa98b bug 52598 - during an incremental reflow, base the height of the row group on the last row instead of the last child. r=peterl.
git-svn-id: svn://10.0.0.236/trunk@79270 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:11:29 +00:00
karnaze%netscape.com
192b42b445 bug 30418, 47252 - order row groups before performing most operations. r=attinasi.
git-svn-id: svn://10.0.0.236/trunk@79091 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 06:49:47 +00:00
attinasi%netscape.com
6bcf75d1e5 Implemented GetParentContextProvider for the table frames to allow them to specify a frame other than their parent as the provider of their parent style context. b=45210 r=karnaze
git-svn-id: svn://10.0.0.236/trunk@78920 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 22:48:35 +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
peterlubczynski%netscape.com
c57b75e783 Fix for bug 46368. Fixed cellMet.mMaximumWidth for incremental reflow. r=karnaze
git-svn-id: svn://10.0.0.236/trunk@78792 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 22:58:59 +00:00