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

32 Коммитов

Автор SHA1 Сообщение Дата
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
buster%netscape.com d28e8c7580 much better handling of tables who have fixed-width columns that make the table wider than it is allowed to be
added some sanity checking in BalanceColumnWidths be ensure that a column width
can never be less than the minimum element in that column.
1998-07-27 02:15:37 +00:00
buster%netscape.com 96d64b98cc completed AdjustTableThatIsTooWide, now gets the table down to the right width. 1998-07-23 21:55:45 +00:00
buster%netscape.com a064b4803b * reworked the way colspan and rowspans are handled in table layout strategy. We do less work, and we look better.
* fixed more margin code.  we're inching towards correctness.
* the width contributed by a colspanning cell is now proportionately distributed to the columns based on the columns "effective width"
* added logic for handling illegal COLS attribute on a table (like COLS=4 in a 3-column table).  See nsTableFrame::GetEffectiveCOLSAttribute()
* added logic for handling illegal COLSPAN attribute on a cell (like COLSPAN=4 in a 3-column table).  See nsTableFrame::GetEffectiveColSpan().  This is wrong, and will get reworked soon.
* added the ability for cell width attributes to effect column width like Nav4.
1998-07-22 03:53:43 +00:00
buster%netscape.com 728589d34d fundemental overhaul of the BasicTableLayoutStrategy
We now cache lots of useful info in the colframes
we now properly account for margins just as uniform cellspacing
1998-07-16 23:23:31 +00:00
buster 7a2fe842b8 major hackage to the table data structures. slimmer, simpler, faster
this work exposed a few bugs and slow spots, which have been fixed
for the aol page, I added some additional backwards compatibility code
to proportionately distribute width when a fixed-width cell has colspans
1998-07-11 00:00:31 +00:00
buster 8589fa4d8f fixed a few bugs with distributing excess/restricted space inappropriately.
we now pass around info about whether we're an auto width table.
1998-07-06 22:48:19 +00:00
buster ed14926019 added support for "effective column widths", the width of a column pretending that spanning cells have no effect.
this gets us some more Nav4 compatibility.
several minor fixes.
1998-07-06 21:00:11 +00:00
buster 033ee8a162 columns that are fixed-width due to an attribute on the corresponding cell in the first row
now work correctly.
extra space is now properly apportioned in the "table fits" case when the table contains auto-width cells.
1998-06-30 00:37:03 +00:00
buster 722a46b983 lots of nested tables look much better
misc. nav4 compatibility enhancements
added the ability to QueryInterface for some specific table frame types
1998-06-23 23:23:21 +00:00
buster 79e57d170d clean up, and still better cell width attribute layout 1998-06-05 22:50:03 +00:00
peterl 71d5fd1025 sync up to new style data apis 1998-06-05 06:09:09 +00:00
buster 020c0f9645 cell width calculations are working (not for colspan cells yet)
some bug fixes and optimizations
some of the more elaborate test cases are closer to Nav4-compatible
1998-06-05 02:36:25 +00:00
buster d9377d1ff6 much better fixed and percentage width layout 1998-06-01 20:21:05 +00:00
kipp cec2fa4c12 Updated a few table API's so that percentage width could be properly computed 1998-05-30 21:21:51 +00:00
buster 01e79b1c44 some proportional column balancing now works
the <TABLE> COLS attribute is supported via proportional column balancing.
1998-05-29 22:08:19 +00:00
buster 85689b1cce fixed case-sensitive include 1998-05-26 23:28:48 +00:00
buster 1f193867ca table width computation using style system (more than it used to, at least) 1998-05-26 22:03:16 +00:00
kipp cb1358cbb5 Fixed irix bustage 1998-05-08 21:12:12 +00:00
buster 247c6270e6 fixed method names 1998-04-30 18:04:16 +00:00
buster 79e0e38684 added nsITableLayoutStrategy as the interface for objects that manage
table column balancing.  Implemented in BasicTableLayoutStrategy (HTML4-spec).
nsTableFrame instantiates a strategy depending on the compatibility mode.
1998-04-30 17:57:09 +00:00