Commit Graph
315 Commits
Author SHA1 Message Date
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
spider@netscape.com 5b5bc7bff8 Add EOL to get to compile on Solaris 1998-10-14 22:23:26 +00:00
spider@netscape.com 71afc24764 Adding EOL in files so will compile on Solaris 1998-10-14 22:12: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
peterl@netscape.com 9d8f3d8c5d set border style 1998-10-13 19:17:57 +00:00
kipp@netscape.com a16b0dd7bf Removed nsCSSLayout::GetStyleSize and converted callers to use state in the html reflow state 1998-10-12 17:00:32 +00:00
dcone@netscape.com 7a692c6767 took off the class name infront of the routine. Mac does not like this 1998-10-12 15:57:41 +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
buster@netscape.com cdb15ff15e fixed calculation for width of auto-width cells in constrained layout 1998-10-06 08:00:07 +00:00
kipp@netscape.com cc6c52038c use new body factory method 1998-10-06 00:44:35 +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
buster@netscape.com 00fd82459f fixed coord-width colspan handling in some complex cases 1998-10-02 20:34:11 +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
buster@netscape.com e7900d487d 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
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 eaf21f6ca5 Added XXX warning about retuning an unitialized variable... 1998-09-30 21:41:35 +00:00
buster@netscape.com 8fe4a93753 just synching up some minor cleanup work 1998-09-30 18:11:48 +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
kipp@netscape.com 3949cefd5a Create table-cell's body as a top-level body so that it doesn't shrink wrap around it's children during pass2 table reflow 1998-09-29 22:36:30 +00:00
kipp@netscape.com 8793477e2d Changed factory method to parameterize the shrink wrapping behavior 1998-09-29 03:44:25 +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
kipp@netscape.com 4dc6507c31 Fixed up includes to not depend on old content model classes 1998-09-24 21:37:45 +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 0fe6e526f0 Removed ChildIsPseudoFrame() and IsEmpty() from nsContainerFrame 1998-09-24 04:06:42 +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 49e520bbb8 re-instated fixed layout strategy 1998-09-23 21:50:49 +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
buster@netscape.com 0b0ab72c80 implementation of table-layout=fixed strategy 1998-09-23 02:32:15 +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
buster@netscape.com 965be4f3c3 captions now work properly with new frame layout strategy.
nsTableOuterFrame->mFirstChild==nsTableOuterFrame->mInnerTableFrame, always.
1998-09-20 04:50:08 +00:00
troy@netscape.com 80417bf958 Removed farme enumeration member functions for indexed access, last child,
and child count
1998-09-19 03:24:26 +00:00
buster@netscape.com 1aa76fdef5 added ColIsSpannedInto, ColHasSpanningCells
moved *IsSpannedInto and *HasSpanningCells into cellmap, giving us the oppurtunity
to easily cache results if we want.  These methods are still accessed through nsTableFrame.
changed nsTableFrame::GetCellAt to nsTableFrame::GetCellFrameAt to make it more clear what
the method returns:  a frame, not content.
1998-09-18 22:37:14 +00:00
troy@netscape.com 7f644b87ab Removed nsIContentDelegate.h 1998-09-18 17:34:48 +00:00