Commit Graph

169 Commits

Author SHA1 Message Date
troy@netscape.com
7d57a590c9 Renamed Init() to SetInitialChildList() and added an additional parameter
for the name of the child list
1998-11-10 06:05:32 +00:00
troy@netscape.com
b04ee51233 First of a few changes to allow frames to have multiple child lists.
FirstChild() now takes an additional argument which is the name of the
child list.
1998-11-09 19:40:27 +00:00
joki@netscape.com
71c770f21c Fixup calls to DumpCellMap() with NS_DEBUG #ifdefs 1998-11-06 02:38:17 +00:00
buster@netscape.com
3dcc4ba5ed various small fixes and clean up 1998-11-05 21:42:46 +00:00
buster@netscape.com
f6d394fcc0 in default 2-pass layout, tables with auto width and with all columns coord width now act like auto width tables,
not like specified width (which you might logically expect since all column widths are specified, but sadly that's
not the way Nav or IE interprets this case. )
nsTableFrame's use of IsPseudoFrame has been removed.
1998-11-04 19:33:27 +00:00
peterl@netscape.com
e74acd9aca sync to style resolution api changes 1998-11-03 20:33:43 +00:00
buster@netscape.com
6b939637a4 implemented basic attribute changed handling. most things currently work, those that don't will work better after Peter
lands some style context resolution changes.
1998-10-30 23:08:34 +00:00
buster@netscape.com
b80a9ca305 some extremely preliminary work for styleChanged incremental reflow 1998-10-30 07:57:44 +00:00
buster@netscape.com
86f2428eec minor tweak to column handling 1998-10-27 08:38:56 +00:00
buster@netscape.com
650e16c819 fixed bug 1188. Colspans beyond the end of the table were adding entries
into the column cache, which is very, very bad.
1998-10-26 19:15:31 +00:00
buster@netscape.com
1ea121162a fixed bug 1180 (mozilla.org) and all tables that have nonsense colspans 1998-10-26 18:42:22 +00:00
buster@netscape.com
5b84163e76 fixed bug 1112 - form submission within a table sometimes doesn't work
because the form doesn't get a reflow command.  Now it does.
1998-10-23 17:24:57 +00:00
buster@netscape.com
67eb94d5e1 minor bug fixes 1998-10-23 03:23:29 +00:00
buster@netscape.com
89b8e1b717 just debug info 1998-10-22 21:59:13 +00:00
buster@netscape.com
f91b3cfcf4 fixed column caching 1998-10-22 06:04:37 +00:00
buster@netscape.com
9332e66cfe fixed a bug where columns were not always created as needed during incremental appends
added some extra debugging and support methods
1998-10-22 05:27:11 +00:00
buster@netscape.com
cf730b7bd6 fixed several incremental reflow bugs 1998-10-21 22:29:00 +00:00
buster@netscape.com
63dfd5801b incremental reflow only does pass1 reflow on new frames when necessary
fixed some rotting bits in table frame classes having to do with breaking tables
1998-10-20 20:05:44 +00:00
buster@netscape.com
ecd2d8b2f4 all containers now decend from nsHTMLContainerFrame
all "unknown frame" incremental reflow support methods now
replaced with nsHTMLContainerFrame::AddFrame and ::RemoveFrame
1998-10-20 17:45:07 +00:00
buster@netscape.com
0114a3622b fixed a bug introduced by a slight change in GetColumnCount() 1998-10-20 05:05:17 +00:00
buster@netscape.com
eb3fa19189 rows can now be incrementally inserted, appended, and deleted. 1998-10-19 23:43:06 +00:00
buster@netscape.com
6840b96c47 incremental reflow: append/insert/delete row group, append/insert/delete col 1998-10-15 21:07:37 +00:00
buster@netscape.com
965ebde8cb progress on table incremental reflow of row group insert/append/delete 1998-10-15 07:46:16 +00:00
buster@netscape.com
ec6a7a583f nsTableFrame can now incrementally insert, append, and delete colgroups 1998-10-14 22:51:50 +00:00
buster@netscape.com
c212263e76 lots of work for incremental reflow when the target frame is a table frame 1998-10-14 16:32:45 +00:00
kipp@netscape.com
9f8e72a224 Added an nsIPresContext& to html-reflow-state's ctors and used it to implement better percentage width/height handling 1998-10-12 14:48:02 +00:00
buster@netscape.com
7d43982d5a WIP for inner table incremental reflow
lots of interface cleanup
1998-10-11 09:18:27 +00:00
buster@netscape.com
e786148f76 made allocation of mColumnWidths more flexible 1998-10-09 21:53:07 +00:00
buster@netscape.com
9bfada9c54 support nsTableOuterFrame incremental reflow 1998-10-09 19:59:45 +00:00
troy@netscape.com
effa132f8d Removed GetContentIndex() from nsIFrame 1998-10-08 20:35:16 +00:00
buster@netscape.com
f30d1af844 all frames properly setting ascent and descent values for reflow
WIP incremental reflow in nsTableOuterFrame
1998-10-08 15:34:48 +00:00
troy@netscape.com
c850ca269e Changed ReflowChild() to send the WillReflow() notification as well 1998-10-06 00:27:22 +00:00
troy@netscape.com
5c50ea58dd Removed calls to MoveTo() BEFORE reflowing a frame. We used to do this
sequence: MoveTo(), Reflow(), SetRect(). Now that we have the WillReflow()/
DidReflow() code sandwhiches we no longer need to do the MoveTo()
1998-10-05 00:58:32 +00:00
buster@netscape.com
773e986f43 merge goof fixed, now works with new reflow API 1998-10-02 21:35:44 +00:00
buster@netscape.com
11cb76362f minor interface cleanup 1998-10-02 20:36:35 +00:00
troy@netscape.com
ee0a3c543f Eliminated nsIRunaround interface, and folded space manager parameter into
nsHTMLReflowState structure
1998-10-02 04:10:00 +00:00
troy@netscape.com
942c471f56 Separated reflow process out of nsIFrame and into nsIFrameReflow. Also
added nsIHTMLReflow, which is an HTML specific reflow interface
1998-10-01 04:46:11 +00:00
buster@netscape.com
9c56008541 fixed a minor bug in colspan layout
the layout strategy can now query the outer frame for the caption min width,
and use it to expand the table if necessary
did some related cleanup while I was in there.
1998-09-29 23:15:01 +00:00
buster@netscape.com
4e48f76461 fixed bug 915. Colgroup frames now get Init() calls properly with
synthesized COLs.
1998-09-28 20:38:10 +00:00
kipp@netscape.com
73ce388bce Use modified css rendering API 1998-09-26 17:17:20 +00:00
buster@netscape.com
bb0f52ad8b removed lots of assumptions about frame ordering and containership.
table frames no longer assume they are n levels below the inner table frame
table frames no longer assume their child frames are always the expected type of
frame.  Now they check the display type and use that as sufficient proof that the frame
is of the right type.  This implies a heavy reliance on the frame construction code to do
the right thing and always stamp out the right kind of frame for a given display type.
1998-09-24 16:37:22 +00:00
troy@netscape.com
2082f1b603 Removed IsPseudoFrame() from nsContainerFrame 1998-09-24 04:57:30 +00:00
troy@netscape.com
cd63df2958 Changed signature of PushChildren() member function 1998-09-24 04:18:58 +00:00
troy@netscape.com
e3256dc245 Removed IsLastChild() member function from nsContainerFrame 1998-09-24 04:12:01 +00:00
troy@netscape.com
c34adae7e9 Removed PreReflowCheck() and PostReflowCheck() from nsContainerFrame 1998-09-24 03:59:30 +00:00
troy@netscape.com
a14c3f1c67 Removed mFirstContentOffset, LastContentOffset, and mLastContentIsComplete
from nsContainerFrame
1998-09-24 03:36:52 +00:00
buster@netscape.com
8c95ff651d all frame initialization and related logic has moved into the various table frames' Init() methods
from their respective InitalReflow() methods.
table-layout=fixed now completely skips pass1 reflow and doesn't require maxElementSize
information, saving a tremendous amount of time during initial reflow.
1998-09-23 21:48:26 +00:00
kipp@netscape.com
7bbf8c1db1 Fixed the build 1998-09-23 01:47:17 +00:00
buster@netscape.com
e819ae9c00 set all the groundwork for FAST table layout based on CSS-2 table-layout property 1998-09-22 23:36:06 +00:00
troy@netscape.com
5036d4dfaa Removed all references to m<First,Last>ContentOffset,mChildCount,mLastContentIsComplete 1998-09-21 03:40:32 +00:00