Commit Graph

250 Commits

Author SHA1 Message Date
troy@netscape.com
ca28eafb7d Removed nsIFrame::CreateContinuingFrame() 1999-02-25 05:31:15 +00:00
troy@netscape.com
5a1fc226a0 Added frame type atoms for several table frame classes 1999-02-24 05:54:31 +00:00
troy@netscape.com
fbba9776a7 More work-in-progress for table pagination 1999-02-22 03:28:00 +00:00
troy@netscape.com
78b7fec45d Pagination work-in-progress 1999-02-20 03:15:03 +00:00
karnaze@netscape.com
f4b2a0c3f1 Made table frame construction flexible enough to allow arbitrary content to be mapped
to arbitrary table related display types.
1999-01-30 15:52:19 +00:00
kipp@netscape.com
b1fe154193 Spanked away SizeOf methods and nsIListFilter 1999-01-16 00:00:50 +00:00
troy@netscape.com
b4aa12707a Cleaned up some old references to margins which aren't applicable to row group
frames and row frames (because internal table elements don't have margins)
1999-01-05 00:41:40 +00:00
buster@netscape.com
7663d54636 WIP for collapsing borders 1998-12-23 15:47:43 +00:00
kipp@netscape.com
1e10a83138 Revised frame Paint API 1998-12-18 15:54:23 +00:00
troy@netscape.com
453b39e9f0 Tables now clear the isTopOfPage when appropriate 1998-12-14 01:24:11 +00:00
buster@netscape.com
5bd9aecd8e minor optimizations and cleanup. removed constructors that did nothing. 1998-12-03 20:19:01 +00:00
troy@netscape.com
e602e25924 Added Init() member function to nsIFrame 1998-12-03 06:31:43 +00:00
buster@netscape.com
ef31504e16 implemented table height algorithms. also made a slight modification to
the way a table finds its container's width.
1998-11-20 01:01:25 +00:00
kipp@netscape.com
f6502df0e2 Added DumpRegressionData; revised ListTag; added GetFrameName 1998-11-19 17:22:29 +00:00
joki@netscape.com
249a270b84 Reworking internal event code to use nsIFrame::GetFrameForPoint
Adding new functionality through nsEventStateManager (cursor change, enter/exit events, tab navig)
1998-11-18 05:25:26 +00:00
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
buster@netscape.com
0429c47f06 fixed the bug where events were not getting passed down to content inside
of cells with rowspans.  Basically, I just override HandleEvent() in nsTableRowGroupFrame
to ask nsTableRowFrame::Contains(), rather than the default action which is to
just use the child's rect.
1998-11-07 00:36:37 +00:00
buster@netscape.com
f8a133173d removed some inefficiencies in finding the parent table frame.
Now the parent table frame is cached in the reflow state.
1998-11-04 20:09:19 +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
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
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
eb3fa19189 rows can now be incrementally inserted, appended, and deleted. 1998-10-19 23:43:06 +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
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
troy@netscape.com
e9440f240f Removed some code that's no longer needed now that we've switched to
new frame construction
1998-09-18 02:22:52 +00:00
troy@netscape.com
e9fcec8bda Frame construction changes for tables 1998-09-16 17:19:20 +00:00
pierre@netscape.com
df983a4a6d fixing mac build (the class name was repeated in the method declaration) 1998-09-15 23:39:28 +00:00
buster@netscape.com
5184ca92f1 nsTableRowGroupFrame no longer assumes all its children are rows, or that all row children are cells. 1998-09-15 20:36:42 +00:00
buster@netscape.com
de1257f4bd nsStyleConsts.h added some HTML 4 consts for tables
nsHTMLAtoms.cpp,h             added some HTML 4 strings for tables
nsHTMLParts.h                 added constructors for new table content classes
nsGenericHTMLElement.cpp,h    added table frame creation, common table attribute parsing
nsHTMLTable*Element.cpp       these are the new table content classes
nsHTMLContentSink.cpp         enabled the new content and removed the old
nsHTMLStyleSheet.cpp          fixed the table style optimizations to work with new content
nsTable*Frame.cpp             these work with the new content
1998-09-15 17:58:24 +00:00
buster@netscape.com
11dada02d7 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
troy
26046305da Changed API for CreateContinuingFrame and GetReflowMetrics to take
a reference to a nsIPresContext
1998-07-15 03:23:23 +00:00
troy
26b49b4476 Changed Reflow() member function to take a reference to a nsIPresContext
instead of a pointer
1998-07-15 02:53:09 +00:00
troy
3481cc90e8 More incremental reflow changes 1998-07-07 00:49:07 +00:00
troy
a9b6ca1c86 More work-in-progress incremental reflow code 1998-07-02 23:19:31 +00:00
troy
f5e6a2afc1 Moved code that resized the table row cells from the row group frame
to the row frame. It's now handled as part of the DidReflow() post-
processing code
1998-07-02 20:35:23 +00:00
troy
615498146d Moved shrink wrap code from table frame to table row group frame 1998-06-30 02:11:07 +00:00
buster
3ed8a1b541 Separated table content from table layout. This paves the way for XML/CSS-2 tables.
Lots and lots of optimizations.
1998-06-17 16:38:24 +00:00
troy
bb67652981 Merged ResizeReflow() and IncrementalReflow() into one Reflow() member function 1998-05-25 17:31:49 +00:00
kostello
0ad6084398 * Added Support for cell spacing
* NOTE: due to changes in the style system -- things won't look correct right away.
1998-05-21 23:43:18 +00:00
peterl
7ef2e3bd72 sync to new spacing apis 1998-05-12 22:28:01 +00:00
troy
a4f9d76cd7 Change to nsIFrame API 1998-05-12 04:17:56 +00:00
kipp
4723760aa9 Ported to new CreateFrame/CreateContinuingFrame APIs 1998-05-07 00:08:20 +00:00
troy
b3260db3df Frames no longet store the content index-in-parent 1998-05-05 23:56:50 +00:00
kipp
3d36933cf7 Port to removal of nsStyleMolecule 1998-04-25 18:48:48 +00:00
buster
2e6334e1b0 table header and footer rowgroups placed properly, replicated across continuing tables
some pagination fixes, including a hack to make negative available heights = 1.
1998-04-23 17:29:07 +00:00
troy
13419330e6 Changed nsIFrame member functions to return a nsresult 1998-04-17 01:41:24 +00:00
buster
0a677fc199 simple tables now paginate nicely. Some more complex tables
also paginate ok, though resizing in paginated mode doesn't work yet.
Captions still don't work.
1998-04-16 22:21:32 +00:00
buster
95a410a7e8 documentation changes 1998-04-14 21:45:28 +00:00
kipp
4683c6f4c0 moved to pub 1998-04-13 20:24:54 +00:00