Commit Graph

86 Commits

Author SHA1 Message Date
rods%netscape.com
83008259e3 check for mLines being being null in FrameDeletedReflow 1998-09-04 13:33:22 +00:00
buster%netscape.com
89e198237d 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
kipp%netscape.com
c6290fa577 XPCOM'ized nsIContent and nsIHTMLContent 1998-08-29 20:20:38 +00:00
troy%netscape.com
e524804caa Changed interface nsIFontMetrics to use the XPCOM conventions for returning
a nsresult
1998-08-29 02:34:34 +00:00
rods%netscape.com
ab772c2369 Added selection code that is currently ifdef out (but it is needed) 1998-08-28 16:06:22 +00:00
michaelp%netscape.com
ca017f19d0 DeleteFrame() now takes a pres context. 1998-08-28 03:02:39 +00:00
troy%netscape.com
b690d7b15c Eliminated memory leak of a content object in ProcessInitialReflow() when
doing special processing for list-item containers
1998-08-12 03:22:24 +00:00
troy%netscape.com
639e969509 Fixed leak of a bullet content object 1998-08-12 01:26:25 +00:00
troy%netscape.com
acaa6d2f0e Change to object lifetime management. Views are no longer ref counted 1998-08-08 04:23:33 +00:00
kipp%netscape.com
8336495451 Reworked floater handling and sanitized space manager usage 1998-08-04 21:18:16 +00:00
kipp%netscape.com
b89e62ef43 Updates for better floater support 1998-08-04 21:17:56 +00:00
kipp%netscape.com
4c615158e5 Cleanup frame-first-reflow bit 1998-08-04 21:17:18 +00:00
kipp%netscape.com
ae175bee39 snapshot 1998-08-04 21:16:58 +00:00
kipp%netscape.com
d000582645 Undid previous change because it didn't work right (doh) 1998-08-03 18:12:42 +00:00
kipp%netscape.com
82f2dbfb81 Pre-size the text-run array to reduce the number of malloc/free's 1998-08-03 17:08:57 +00:00
kipp%netscape.com
4bbc126edf Added finer grained DidReflow code and then disabled it until we solve the nested view x,y problem 1998-08-03 17:07:44 +00:00
kipp%netscape.com
7ff5d0e7ce Remove most compiler warnings on IRIX 1998-07-29 20:19:08 +00:00
kipp%netscape.com
d36f453987 When debugging allow zero width/height frames to render; do not render show-borders around them however 1998-07-29 19:33:00 +00:00
kipp%netscape.com
bd2c231f25 cleaned up handling of list bullets; fixed FindFloaters to not recurse into child blocks (doh!); get x,y coordinate right for blocks that don't implement IRunAround; place floaters in nested blocks properly 1998-07-29 04:03:12 +00:00
kipp%netscape.com
9e71829460 When computing the max avail space for a frame, allow zero as a legal answer so that zero width objects on the same line stay on the line (e.g. BR's); fixed reflow routines to translate the spacemanager x,y 1998-07-29 03:59:33 +00:00
kipp%netscape.com
16f7bd14fb updated 1998-07-29 03:57:40 +00:00
kipp%netscape.com
5fc2d393bc snapshot 1998-07-27 17:55:17 +00:00
kipp%netscape.com
d1cf32dce8 snapshot 1998-07-24 18:20:55 +00:00
troy%netscape.com
ab555eff47 Changed PaintChildren() to check for lines that intersect the damage
area
1998-07-24 03:18:35 +00:00
kipp%netscape.com
9d7cbfff3b new 1998-07-23 19:58:09 +00:00
kipp%netscape.com
f9ce8ce6a7 Fix floater placement by removing it's old location before adding it again; use proper reflow state when getting a floaters style-size; don't forget to place below-current-line-floaters on frame-appended reflow 1998-07-23 19:54:44 +00:00
vidur%netscape.com
ec8c40eeed Introduced nsContentLists. Added a DocumentWillBeDestroyed method to nsIDocumentObserver. Added a document parameter to all DocumentObserver notifications. Added the nsIDOMHTMLDocument interface to HTMLDocument. Implemented document.images, etc and getElementsByTagName. 1998-07-22 23:32:19 +00:00
kipp%netscape.com
176c561856 Implement block in inline 1998-07-22 18:38:57 +00:00
troy%netscape.com
048270ffb0 Changed PaintBorder() to use the (x,y) that's passed in 1998-07-22 05:02:07 +00:00
troy%netscape.com
789a2dbe45 Changed nsCSSRendering::PaintBorder() so the entire rect is used
and not just the width and height
1998-07-22 02:46:00 +00:00
kipp%netscape.com
ac5be48a5a Added AddFloater method (not yet used) 1998-07-18 21:45:40 +00:00
kipp%netscape.com
353412c562 Find floaters after placing line so that floater list is kept up to date 1998-07-18 21:45:17 +00:00
kipp%netscape.com
54a30ab850 Only break from next-in-flow when we have a next-in-flow 1998-07-17 18:14:23 +00:00
kipp%netscape.com
316e166f7b Don't create new frames when a continuation is being reflowed for the first time 1998-07-17 16:16:19 +00:00
kipp%netscape.com
ac9f0ebc3b Treat floating tables better; place below current line floaters BEFORE clearing over them for nav compatability 1998-07-16 23:30:49 +00:00
spider%netscape.com
c7265362fc Remove broken-image.gif from install of Makefile. It was moved
to layout/html...
1998-07-16 18:44:32 +00:00
kipp
7b8a54834f Keep unconstrained flowing downward 1998-07-15 16:48:21 +00:00
troy
d660868bc2 Changed API for CreateContinuingFrame and GetReflowMetrics to take
a reference to a nsIPresContext
1998-07-15 03:23:23 +00:00
troy
a90fe8e1de Changed Reflow() member function to take a reference to a nsIPresContext
instead of a pointer
1998-07-15 02:53:09 +00:00
kipp
4d399204ba Check for silly width/height's and repair them; fixed bug where a silly height was created; removed redundant handle-event code 1998-07-14 18:37:51 +00:00
kipp
7430059fdf Clamp bullet x coordinate to stay in the available area; if we have a bullet then the first 2 frames are considered the first frame 1998-07-14 00:56:49 +00:00
kipp
e51e484113 Added have-bullet flag 1998-07-14 00:55:43 +00:00
kipp
384602528f Revamp list handling so that the LI frame is placed differently then regular frames by the LI container 1998-07-14 00:55:28 +00:00
kipp
a5f9c0b814 Fixed bug with dangling empty lines 1998-07-13 22:12:43 +00:00
kipp
149a96f186 Work around table bugs in a different way 1998-07-12 00:17:50 +00:00
kipp
c2c262b5fd Removed GetCursorAt code 1998-07-11 03:48:33 +00:00
kipp
cb83cf384a Fixed max-element-size to account for the border+padding 1998-07-10 21:45:30 +00:00
kipp
bc69e4d178 Generate automatic margin values for most blocks; this emulates ebina margins fairly well 1998-07-10 20:30:23 +00:00
troy
97ae834b23 Deprecated the SetFirstContentOffset/SetLastContentOffset member
functions that take a nsIFrame*
1998-07-10 19:04:06 +00:00
troy
b4c186d39c Added a check for multiple frames occupying a trapezoid. This keeps us from
crashing
1998-07-09 18:14:19 +00:00