Граф коммитов

70 Коммитов

Автор SHA1 Сообщение Дата
dholbert@cs.stanford.edu a0d580828f Bug 368504: Create and use DistributeWidthToColumns for colspan-width and table-width distribution. r+sr=dbaron a=blocking1.9+ 2008-01-17 20:18:21 -08:00
roc+@cs.cmu.edu 0054412272 Bug 374866. Reftests for text-transform. r=dbaron 2007-03-22 16:01:14 -07:00
dholbert%cs.stanford.edu 96a3e14494 Bug 368504: Create and use DistributeWidthToColumns for colspan-width and table-width distribution. r+sr=dbaron a=blocking1.9+ 2008-01-18 04:18:22 +00:00
dbaron%dbaron.org 116da6be23 Bug 300030: Move intrinsic width computation out of nsIFrame::Reflow and into its own methods on nsIFrame. Replace reflow reasons, types, and commands with dirty bits/notifications. Thanks to bzbarsky for almost all of the HTML form controls (mozilla/layout/forms) changes, and many others for help testing and patching. For detailed commit logs, see REFLOW_YYYYMMDD_BRANCH, where YYYYMMDD is one of 20061031, 20060830, 20060603, 20060302, 20060119, 20051011, 20050804, 20050429, 20050315, 20050111, and 20041213. 2006-12-08 05:38:33 +00:00
gerv%gerv.net 85ce8c146b Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:30:37 +00:00
jim_nance%yahoo.com 81a5467e7e 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 a67274c8bb prescontext removal part 2 bug 229631 r/sr=roc 2003-12-29 16:58:20 +00:00
bmlk%gmx.de 118de5f62e reduce prescontext usage in basic layout strategy bug 229457 r/sr=roc 2003-12-28 17:02:40 +00:00
dbaron%dbaron.org 754d904cda Remove nsISizeOfHandler and associated SizeOf methods. b=106792 r=bzbarsky sr=jst 2003-02-22 15:34:38 +00:00
karnaze%netscape.com 1fcd9538d3 bug 41262 - new table border collapsing code. sr=attinasi, r=alexsavulov. 2002-02-19 15:48:28 +00:00
gerv%gerv.net f385eb981a 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 9fd988f8eb 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 8ce9ad251a 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
karnaze%netscape.com a3a25d11b0 table reflow coalescing, table reflow face lift. sr=attinasi 2001-03-13 06:38:59 +00:00
karnaze%netscape.com 68c2f1719b 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 968a35634b 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 eccaf931d3 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 fc910665be 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 66dd081533 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 33accac767 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 2a1844ff70 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 362b6dbdf3 bug 17826, removed buggy/unnecessary RecomputeAdjustedMinIfNecessary, r=attinasi 2000-02-02 00:48:30 +00:00
troy%netscape.com 73a3709284 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 ba422c3ed8 incremental cell map, columns. Bugs 12122, 21544. r=troy,hyatt a=hofmann 1999-12-13 22:56:31 +00:00
dmose%mozilla.org 42fc94a6ec 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 6b94962e35 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
karnaze%netscape.com 309344c93c column allocation does fixed and adjusted fixed (colspans) in separate steps. Simplified AllocateConstrained. Fixed bug 14332. 1999-10-04 05:19:32 +00:00
troy%netscape.com e2ac00fe47 Hooked up SizeOf() for cell map and table layout strategies. Also added in
some table frame data that was missed
1999-10-02 00:02:54 +00:00
karnaze%netscape.com 69ea614920 bug 11944 - row group is properly offset using table border. cleaned up new incremental reflow methods. 1999-08-20 23:27:54 +00:00
karnaze%netscape.com 66b706bb32 Added new incremental reflow methods.
CellData keeps track of row versus col spans.
nsColFrame keeps track of what cell contributed to constrained width.
nsCellMap::GetCellFrameAt replace with GetCellInfoAt
simplified nsTableCellFrame::RecalcLayoutData and removed FindLargestMargin, CalculateMargins, CalculateMargins
simplified nsTableFrame::RecalcLayoutData and removed AppendLayoutData
Added gsDebugReflow capability, remove all existing debug printf
1999-08-19 19:52:37 +00:00
karnaze%netscape.com d5e430c16a new nsCellMap, BasicTableLayoutStrategy, plus various fixes to table
frames while testing the new cell map and strategy
1999-07-28 08:09:02 +00:00
karnaze%netscape.com cf6f1e2d5a bug 7243. Rewrote FixedTableLayoutStrategy::AssignPreliminaryColumnWidths 1999-06-03 02:42:33 +00:00
karnaze%netscape.com 8f59339b67 Rewrote DistributeRemainingSpace a 2nd time and added compat mode.
bug 6068, 6933. nsTableRowGroupFrame::CalculateRowHeights - changed row spans to consider
top and bottom margins during height calculations. Calculations using percentages ensure that the sum of
rows sum exactly to excess.

bug 6404 BasicTableLayoutStrategy::BalanceColumnsConstrained cols in span other than 1st col was
not getting additional allocations from cell. ::DistributeRemainSpace uses max width of col
instead of max effective width. Also added checks for negative value during percentage calculations.
1999-05-26 22:22:23 +00:00
karnaze%netscape.com 414e20e8b6 support for css padding in table cells 1999-05-18 05:18:16 +00:00
karnaze%netscape.com 7e4d3f805a bug 6184 - reworked alogrithm for reallocating space to auto width columns. 1999-05-10 19:23:09 +00:00
kipp%netscape.com 5a554d526e COMized nsIPresShell and nsIPresContext 1999-02-12 17:45:58 +00:00
buster%netscape.com c29f2bbe69 just documentation 1999-01-07 02:16:10 +00:00
buster%netscape.com 8e34bbc78e irrationally-specified table (one where the width attributes of various rows don't add up to the same value,
and/or to the width attribute on the table itself), the rule is to try to give the column the largest value
assigned to it by any cell intersecting that column.
Separate storage is maintained for a column's natural desired width (width from any source other than a cell
with a colspan) and the maximum contribution to the column's width from any cell with a colspan.
1998-11-16 06:46:00 +00:00
buster%netscape.com f3e909a55e fixes Bug 1110, URL=http://www.webstandards.org
ables were not correctly applying the min width of the content of cells
that had col spans in some cases.  In this case, the nested table was specified
as being too narrow for the content.  There were 4 columns each with width=25%
in the first row, and in the next row a single cell with colspan=4 and whose
content min size was wider than the specified table width.
1998-10-23 19:56:11 +00:00
buster%netscape.com 76b966c73b rows can now be incrementally inserted, appended, and deleted. 1998-10-19 23:43:06 +00:00
buster%netscape.com 37e93ed6b7 support nsTableOuterFrame incremental reflow 1998-10-09 19:59:45 +00:00
buster%netscape.com 2cf9393bc0 fixed coord-width colspan handling in some complex cases 1998-10-02 20:34:11 +00:00
troy%netscape.com f095846367 Eliminated nsIRunaround interface, and folded space manager parameter into
nsHTMLReflowState structure
1998-10-02 04:10:00 +00:00
buster%netscape.com 0a193d0103 much better backwards compatibility for autowidth tables
now autowidth columns as assigned a width starting from their minimum.  The remaining
space is proportionately divided among them, never allowing a column to go over its max (for
autowidth tables only.)
1998-10-01 18:39:31 +00:00
buster%netscape.com 58ec784e3d better handling of non-cell frames in rowFrames
support for the case where a nested table is in a cell that has colspan>1
1998-09-16 00:48:14 +00:00
buster%netscape.com a8906329f4 expanded nsIFrame::List to include nsIListFilter *aFilter param, by default nsnull.
aFilter is useful for determining if a frame should output itself during
a List().  In any event, the children of the frame are always processed.
added nsIListFilter, an interface for any object that wants to act like a filter for frame dumps
added   static NS_LAYOUT nsIListFilter * GetFilter(nsString *aFilterName);
currently, only TableListFilter implements nsIListFilter.
in response to List(...TableListFilter), the frame model is dumped in a way that is useful
for table layout regression testing.  Currently this is controlled by command line switches on the viewer app.
1998-09-02 21:59:54 +00:00
buster%netscape.com e5ebbcebfb reimplemented cell map in terms of nsVoidArrays for incremental building.
the cellmap is now built incrementally, driven by nsTableRowFrame::InitialReflow
1998-08-31 21:23:28 +00:00
buster%netscape.com f83acab7fa * migrated and improved some fixes from the branch to the tip
* fixes sample6, yahoo resizing
* added BasicTableLayoutStrategy::ColIsSpecifiedAsMinimumWidth helper function,
which tells us if the given column has a width attribute that means "make me as small as possible"
* nsTableFrame methods now no longer use mCellMap directly, they ask for it from
GetCellMap which gets the cell map from the first-in-flow.  Only the first-in-flow has a
cell map because the cellmap refers to the table as a single object, not to each table frame.
* Likewise, continuing table frames do not call BalanceColumnWidths or SetTableWidth
which are "global" operations.  Responsibility for these lies with the first-in-flow.
1998-08-14 16:16:43 +00:00
buster%netscape.com 636d79ded1 made auto-width tables that have all-fixed-width columns act like
fixed-width tables.
1998-08-01 20:31:40 +00:00
buster%netscape.com c024f2b0c9 fixed cases where we were not computing the table width correctly
fixed cases where we were inappropriately portioning out
a spanning cell's min width to the columns it spanned.
1998-08-01 02:31:55 +00:00