Commit Graph

473 Commits

Author SHA1 Message Date
troy%netscape.com
aae84de775 Removed some code that's no longer needed with the new frame construction code 1998-09-18 00:04:55 +00:00
troy%netscape.com
5f8f73f347 Removed code that's no longer needed now that tables are using new
frame construction code
1998-09-17 23:46:16 +00:00
troy%netscape.com
9a592f0da9 Removed some XXX temp code that was needed until tables were switched
over to the new frame construction code
1998-09-17 04:57:50 +00:00
troy%netscape.com
9adcf5d319 Cleaned up frame construction code 1998-09-17 04:07:58 +00:00
peterl%netscape.com
10de7afe92 added decoration rendering code to deal with CSSisms 1998-09-17 00:18:25 +00:00
michaelp%netscape.com
7e087302bd cleaned up some link jumping nonsense. 1998-09-15 20:22:37 +00:00
buster%netscape.com
953b2efb58 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
michaelp%netscape.com
ba705e616a changes for new plugin world. 1998-09-15 03:46:52 +00:00
kipp%netscape.com
8f2807a027 Removed css/layout directory 1998-09-15 00:19:49 +00:00
troy%netscape.com
4c6e11f18a Container floated elements are now wrapped in a BODY frame 1998-09-14 04:01:08 +00:00
troy%netscape.com
f30debacdb Changed to explicitly create frame of type frameset or outer frame instead
of using CreateFrame() which will be going away
1998-09-13 02:45:07 +00:00
kipp%netscape.com
f877659693 Fixup AddRef/Release and some constructors to use NS_ADDREF (etc) macros 1998-09-12 19:33:48 +00:00
troy%netscape.com
5421a899d1 Removed some XXX CONSTRUCTION commented out code 1998-09-12 04:54:04 +00:00
pierre%netscape.com
1971412a64 initialize member variables to 0 1998-09-11 09:13:02 +00:00
troy%netscape.com
de1641f3f9 Changed new frame construction code to handle floaters 1998-09-11 04:13:29 +00:00
troy%netscape.com
0fbc01cb40 Fixed it so bullets work again 1998-09-10 22:28:55 +00:00
troy%netscape.com
effef91cf6 Phase one of frame construction changes 1998-09-10 19:32:14 +00:00
rods%netscape.com
ac66bf8936 GetPosition now uses a binary search for locating the cursor poistion. Also, selection now
uses the half width of a character for moving selection to the next character.
1998-09-10 19:18:01 +00:00
karnaze%netscape.com
b1f8c627cd in document, renamed nsHTMLFrame.cpp, nsHTMLFrameset.h, nsHTMLFrameset.cpp 1998-09-10 17:23:31 +00:00
karnaze%netscape.com
1c1a6dacaf converted frame/iframe/frameset to new layout/content separation 1998-09-09 23:30:30 +00:00
kipp%netscape.com
d1380d78b9 Removed some cruft 1998-09-09 16:18:40 +00:00
kipp%netscape.com
63f55821d6 Turned off image load skid marks 1998-09-09 16:13:52 +00:00
rods%netscape.com
4a4b4a34b2 XPCOM'ed the Selection and Search methods 1998-09-09 16:11:59 +00:00
kipp%netscape.com
d8f8db50e4 Removed some cruft; added NS_NewBodyFrame 1998-09-08 22:36:30 +00:00
kipp%netscape.com
227e9f8ae1 new 1998-09-08 22:34:40 +00:00
kipp%netscape.com
a28f9196c0 Removed some cruft; added NS_NewTextNode 1998-09-06 00:17:30 +00:00
michaelp%netscape.com
d6a0988c76 added Scrolled() method. and support to call it. fixed NS_RELEASE(rc) bug in
pres shell as reported by pierre.
1998-09-05 20:57:57 +00:00
kipp%netscape.com
d9cfaa751d Added wbr 1998-09-04 01:02:54 +00:00
kipp%netscape.com
b914a101d7 Removed some cruft and promoted a few frame creation routines 1998-09-04 00:55:20 +00:00
kipp%netscape.com
a4a3006cc1 Added decl for NS_NewImageFrame 1998-09-04 00:18:53 +00:00
kipp%netscape.com
7cc828449f tweaked element ctor methods 1998-09-03 22:22:34 +00:00
karnaze%netscape.com
90951aa3b9 frameset/frame border resizing via mouse; NORESIZE, BORDERCOLOR 1998-09-03 01:16:27 +00:00
kipp%netscape.com
cfa2262cc2 Renamed element creation routines 1998-09-02 23:52:38 +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
4023d729c3 Revised factory method argument order (normalized) 1998-09-01 01:35:19 +00:00
kipp%netscape.com
b12deff105 Added factory method names for all the new content objects 1998-09-01 01:33:19 +00:00
warren%netscape.com
b89e7efaca Renamed NSRepository to nsRepository. 1998-09-01 00:26:28 +00:00
kipp%netscape.com
1969308ef9 Added NS_NewHTMLBR 1998-08-31 18:40:16 +00:00
troy%netscape.com
ad9a20da0b Changes nsIView and nsIScrollableView interfaces to conform to
XPCOM conventions
1998-08-30 19:16:11 +00:00
kipp%netscape.com
c6290fa577 XPCOM'ized nsIContent and nsIHTMLContent 1998-08-29 20:20:38 +00:00
kipp%netscape.com
6c29fcc78d Added NewHTMLAnchor 1998-08-29 03:13:15 +00:00
kipp%netscape.com
107b4e64b1 Export new HTML-HR factory method 1998-08-28 23:31:28 +00:00
rods%netscape.com
ad87b994a1 Fixed up some of the selection methods 1998-08-28 16:02:33 +00:00
michaelp%netscape.com
ca017f19d0 DeleteFrame() now takes a pres context. 1998-08-28 03:02:39 +00:00
michaelp%netscape.com
cccee92638 deleteframe() now takes a pres context. 1998-08-28 02:50:17 +00:00
troy%netscape.com
23feb93c16 Work in progress for LAYER tag 1998-08-26 02:23:21 +00:00
troy%netscape.com
af9e04cf14 Added missing NS_INIT_REFCNT() 1998-08-15 03:24:27 +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
joki%netscape.com
9cb79b1687 Adding window.open method, fixing editormode in release builds, various event fixes 1998-08-07 04:45:03 +00:00
rods%netscape.com
cc8fe3270d Fixed: Links now work.
Fixed: Selection cursor no longer shows when clicking on a link.
(These are the same fixes as Stability branch bugs 312562 and 312563)
1998-08-06 16:29:45 +00:00
kipp%netscape.com
6320072fb6 Added decls for framesets 1998-08-05 22:08:33 +00:00
michaelp%netscape.com
2de3fff6bf added tags for plugins. 1998-08-05 04:22:51 +00:00
kipp%netscape.com
76ee6f6886 Tell line layout about floater 1998-08-04 21:16:32 +00:00
michaelp%netscape.com
3b372e2026 another hack to get Unix to be happy. 1998-08-01 23:02:14 +00:00
michaelp%netscape.com
ef12e2e29f plugin changes. 1998-08-01 05:47:53 +00:00
peterl%netscape.com
714146a525 rounding support 1998-07-31 23:34:45 +00:00
kipp%netscape.com
6123acf9b9 Disabled widget&view for now; render the object so that people know code is coming 1998-07-29 19:33:48 +00:00
kipp%netscape.com
4a9fb58cf0 Tidy up the rendering; don't take space when show-borders is on 1998-07-29 19:33:27 +00:00
kipp%netscape.com
360dc68e35 Made placeholders implement nsIInlineReflow so that their existance wouldn't screw up whitespace compression 1998-07-29 04:05:49 +00:00
michaelp%netscape.com
c9901356f0 hooked up the plugin manager to the webshell. 1998-07-27 23:08:52 +00:00
kostello%netscape.com
4d8c0d4150 Added support for saving the selection (important for copy).
Change XIF interfaces
1998-07-27 18:08:58 +00:00
michaelp%netscape.com
96cf645164 modified for new streaming APIs. 1998-07-23 20:35:43 +00:00
kipp%netscape.com
7d9dcb23b5 Removed hack reflow code now that body/block do it properly 1998-07-23 19:56:11 +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
dd74c045ef Set max-element-size when computing reflow metrics 1998-07-21 21:20:55 +00:00
karnaze%netscape.com
381a7c28a9 initial support for <frameset> <frame> in content sink 1998-07-20 18:52:40 +00:00
kipp%netscape.com
39f5530391 Port to new nsIWebShell and related API's 1998-07-18 21:47:56 +00:00
joki%netscape.com
db560e8cac Adding new DOM stuff to handle JS event handlers 1998-07-17 04:52:12 +00:00
kipp%netscape.com
2ef5aa2ece Implement paint method 1998-07-16 23:32:04 +00:00
kipp%netscape.com
a8093e38e4 Size the placeholder differently when visually debugging; render it too: 1998-07-16 23:31:53 +00:00
kipp
658a22492a Indent tweak 1998-07-15 17:05:59 +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
711c31863c Changed GetReflowMetrics() to take a reference to a nsIPresContext 1998-07-15 02:59:06 +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
0b21a9b759 More hacks for floating embed's, object's and applet's 1998-07-15 00:47:46 +00:00
kipp
87faf8d82c Added applet, object and embed support 1998-07-15 00:23:07 +00:00
kipp
fdbc836e19 new 1998-07-15 00:22:30 +00:00
kostello
33fd5ef97a Added XIF (XML Interchange Format) Support. XIF is designed
as an Netscape internal XML application. It is designed to
allow conversion from our content model to any output format --
most importantly to HTML 3.2 and HTML4.0 format.
1998-07-14 22:34:27 +00:00
kipp
ca16578186 Add factory methods for applets and objects 1998-07-14 18:54:20 +00:00
kipp
96ce66e91d Tweaked 1998-07-11 03:49:17 +00:00
kipp
7664b60bce initialize reflow metrics and reflow state to avoid downstream bugs 1998-07-10 20:26:20 +00:00
troy
6d06722267 Added some new sizing constraints 1998-07-09 20:53:37 +00:00
kipp
5bb77d7e59 Added some slots to nsReflowMetrics specifically to support collapsing css margins; it needs to go somewhere else! 1998-07-09 17:06:12 +00:00
kipp
dc09e8124d Implement ContentDeleted 1998-07-06 21:37:33 +00:00
kipp
b10c5120a2 Added NS_CreateHTMLElement 1998-07-03 17:49:49 +00:00
kipp
05b511b5fd Reworked ContentInserted handling 1998-07-03 17:46:44 +00:00
troy
38fcfa98f3 Changed reflow processing for floaters 1998-06-30 23:19:10 +00:00
troy
87a620acb0 Changed anchor frames to forward content notifications to the real frame 1998-06-30 21:35:07 +00:00
kipp
541fe9b490 Use new PropagateContentOffsets API 1998-06-30 20:22:44 +00:00
kipp
f6483b60bd disabled calls to PropagateContentOffsets for now 1998-06-30 20:20:29 +00:00
kipp
925e12fa74 Added NS_IS_REFLOW_ERROR; updated reflow status comment to indicate which bits are reserved by nsIFrame API's 1998-06-27 22:54:58 +00:00
kipp
c33d44d4ed Added NS_NewHTMLComment and NS_NewHTMLTitle 1998-06-26 16:12:22 +00:00
kipp
0352d421ad Removed obsolete justify-reflow method 1998-06-26 15:11:53 +00:00
kipp
4e73a0df94 Added content directory and moved some code 1998-06-26 15:08:55 +00:00
kipp
b00f7215a5 Eliminated IRIX compiler warnings (and a bug) 1998-06-26 15:07:09 +00:00
kipp
1a446c2e3f New and improved (?) line layout 1998-06-25 16:33:10 +00:00
kipp
3147b0e1a7 Assign values to reflow reason so that when printing them numerically it's easier to map the integer back to the enum 1998-06-25 15:03:37 +00:00
kipp
b3cf3affc7 Added the same skip-over-non-body-content code that's in the root content frame code 1998-06-25 14:53:45 +00:00
karnaze
3074df2576 named <iframe>s, scrolling attribute, more complete test9.html 1998-06-23 22:25:28 +00:00
troy
7bbe992c0b Changed some GetStyleContext/GetStyleData pairs to use nsIFrame::GetStyleData
instead
1998-06-14 05:14:17 +00:00
troy
8bfcb70b73 Changed some pairs of GetStyleContext/GetStyleData calls to a single call
to nsIFrame::GetStyleData
1998-06-14 05:00:38 +00:00
karnaze
0ccd357a8f initial support for <iframe> 1998-06-11 16:46:33 +00:00
troy
f8b11bcac8 Changed block to do the initial reflow of a floater. Also fixed a problem
with floated tables crashing
1998-06-10 05:33:38 +00:00
kipp
944ae7d0f1 Fixed a pending-break clear bug; use new ReflowInlineChild API 1998-06-09 17:47:49 +00:00
kipp
094bbe0290 Added nsIInlineFrame interface 1998-06-09 17:47:20 +00:00
kipp
565dbd1fbe Implement ReflowChild directly so that it uses nsIInlineFrame is available 1998-06-09 17:40:21 +00:00
kipp
56c2b9603b Implement ReflowInlineChild to check for nsIInlineFrame and use it when available 1998-06-09 17:32:52 +00:00
kipp
cacb19b895 Updated reflow-inline-child to handle the new nsIInlineFrame api 1998-06-09 17:32:27 +00:00
troy
66b6882d23 Added nsIReflowCommand interface 1998-06-09 04:51:44 +00:00
kipp
80f5fb359a Added another tracing log message 1998-06-09 00:49:12 +00:00
kipp
44b669c0f8 Updated tracing messages; fixed bugs where things that shouldn't be pulled up were (blocks, BR's) 1998-06-09 00:48:56 +00:00
joki
10ffd04c8c Adding new event handling mechanism into raptor. 1998-06-08 00:57:15 +00:00
kipp
a69369de69 Revised SizeOf methods to add in nsString's, nsIAtom's and nsVoidArray's properly 1998-06-05 21:50:57 +00:00
kipp
591b2ccd11 Sprinkled SizeOf methods around 1998-06-05 21:06:24 +00:00
kipp
0e01e46467 Added no-wrap support 1998-06-05 17:53:28 +00:00
kipp
9d27a37eb9 Added a reminder 1998-06-05 17:53:11 +00:00
peterl
91c5893512 sync up to new style data apis 1998-06-05 06:09:09 +00:00
peterl
2c0fe9653c changed GetStyleData to return const pointers to style structs
new method GetMutableStyleData to get non-const pointer
1998-06-05 05:59:34 +00:00
kipp
6f00af11ec Fixed to return proper reflow status 1998-06-05 00:54:03 +00:00
kipp
aec0b7c844 Verify that mIsBlock is correct 1998-06-04 23:10:15 +00:00
kipp
731de410d3 Removed dead code 1998-06-04 23:08:59 +00:00
kipp
107fb3d1e9 IMplement ReflowBlockChild 1998-06-04 23:08:49 +00:00
kipp
087c0f5463 Added a head part 1998-06-04 21:33:07 +00:00
kipp
8f956b9c41 Work around body bug with placeholder code to avoid dup free's of placeholder's child frame 1998-06-04 21:04:50 +00:00
kipp
cc0ee570ee Made a subclass of nsContainerFrame to deal with PropogateContentOffsets because placeholders contain pseudo-frames 1998-06-04 17:52:02 +00:00
kipp
382a176fe8 Added code to do ebina style margins; perform horizontal alignment and relative positioning for blocks 1998-06-04 17:51:27 +00:00
kipp
c8f38f4ede Log view creation when it's done; create view when child and parent opacities differ 1998-06-04 17:50:53 +00:00
kipp
b6726ddcb7 Draw a different colored border when showing visual frame boundaries if the frame has a view; only draw if rectangle has area; create scroll frame when requested stylistically 1998-06-04 17:50:19 +00:00
kipp
e3bb53161d Added mPrevMarginSynthetic flag 1998-06-04 17:49:29 +00:00
kipp
e6457a74ec Added a hack to only do incremental painting for the block whish is reflowing the html BODY; improved trace msgs; added code to collapse into nothingness empty blocks 1998-06-04 17:49:15 +00:00
michaelp
9f71c8886e added support for handling transparent views to viewmanager. added
transparency query to nsIFrame.
1998-06-03 22:49:45 +00:00
kipp
6df0b683f0 new 1998-06-03 18:31:14 +00:00
kipp
aa7da9b898 Print out view during listings 1998-06-03 15:57:24 +00:00
kipp
bdcfe7d55f Wrap created frames in a view if necessary 1998-06-03 15:57:08 +00:00
kipp
00e2688516 disable notifies during synthetic content insertion 1998-06-03 15:55:49 +00:00
kipp
f7b56628c8 Print out views during listings 1998-06-03 15:51:17 +00:00
kipp
9460911cbf new 1998-06-03 15:49:00 +00:00
kipp
1493956e90 IMplement factory in this class; AddRef during QueryInterface like it should; init refcnt in ctor 1998-06-03 15:47:22 +00:00
troy
9deea435e6 Initialized nsBlockReflowState::mStyleSizeFlags to 0 1998-06-03 02:27:39 +00:00
troy
26602e0734 Turned on incremental painting 1998-06-02 05:29:44 +00:00
kipp
9176bca6d6 Set first child during reflow unmapped; leave white space compression flag alone for zero sized frames 1998-06-01 23:39:40 +00:00
kipp
f7574b4cbd Fixed block frame Clear method to work properly 1998-06-01 23:38:40 +00:00
kipp
9be24b0fac Added SetFirstChild; made line layout a friend of block frame 1998-06-01 23:37:55 +00:00
troy
63d19a37ca Changed nsLeafFrane's GetdesiredSize() to not pass in the max size
since it's now part of nsReflowState
1998-06-01 23:31:30 +00:00
kipp
4222da36de Support nsILinkHandler::OnOverLink 1998-06-01 20:55:10 +00:00
troy
a63afc80fc Work in progress for floaters to handle percentage based
width/height
1998-06-01 19:56:58 +00:00
troy
99a5451cee Added some support for percentage based width/height. Currently only works
for the initial reflow
1998-06-01 19:52:53 +00:00
troy
d870f336d8 Fixed an assert 1998-05-30 23:56:28 +00:00
kipp
cefa24d0c1 Updated to new GetDesiredSize api's (so that percentage width's could be properly calculated) 1998-05-30 21:21:11 +00:00
kipp
1ce91917a8 Use new cssLayout api 1998-05-30 21:18:32 +00:00
kipp
014fd2716d Use new mPendingBreak state 1998-05-30 17:46:11 +00:00
kipp
ea63db96a3 Support BR tags in inline frames 1998-05-30 17:45:46 +00:00
kipp
9191e6894f Partial support for BR clear behavior 1998-05-30 17:45:15 +00:00
troy
a4f359a574 Placeholder now wraps container content in a body pseudo frame 1998-05-29 23:12:26 +00:00
troy
710593c695 Changed ComputeAvailSpaceRect() to handle the 'OccupiedMultiple' case 1998-05-29 23:05:12 +00:00
troy
7a485fcc40 Changed nsReflowState structs to be linked together 1998-05-29 20:36:05 +00:00
kipp
24a708a050 Consolidated list handling state variables 1998-05-29 18:25:14 +00:00
kipp
80e1675e3e Disabled assertions for now (sigh); removed DoResizeReflow and collapsed it into Reflow 1998-05-29 02:34:19 +00:00
kipp
8bf7e83385 Removed some unused list layout cruft 1998-05-29 02:33:50 +00:00
kipp
59784b7f81 Get initial reflow state set right during child reflow; support list bullets directly 1998-05-29 02:15:46 +00:00
kipp
0ad4885eb9 Pass on initial reflow to ProcessInitialReflow 1998-05-29 02:15:00 +00:00
kipp
47b716e3b4 Added bullet creator 1998-05-29 02:14:41 +00:00
kipp
8bb1a77086 Added initial reflow hook; setup list bullets using it 1998-05-29 02:13:25 +00:00
kipp
3e79bff40b Added initial reflow hook 1998-05-29 02:13:13 +00:00
kipp
b9d5409399 Added list state for line layout 1998-05-29 02:11:38 +00:00
kipp
16955787c4 Set list state in block reflow state for line layout; assert that reflow reason is correct; pass initial reflow into ProcessInitialReflow hook 1998-05-29 02:11:27 +00:00
kipp
e4431fe3a2 Added another state bit 1998-05-29 02:09:18 +00:00
troy
b8095d0814 Added some more WillReflow() calls 1998-05-28 20:12:02 +00:00
troy
d6ceb1bcea Changed VerifyTree() to check that NS_FRAME_IN_REFLOW isn't set 1998-05-28 19:00:31 +00:00
troy
fa0cc22098 Changed Paint() to not check if the frame is a pseudo frame 1998-05-28 04:38:28 +00:00
troy
4910a3a407 Added 'ns' prefix to class name 1998-05-28 02:37:37 +00:00
kipp
e3c2b23d0a Use revised HorziontallyPlaceChildren api 1998-05-28 02:01:50 +00:00
kipp
a51ed32383 Set x,y coordinate of frame before reflowing it 1998-05-27 22:24:57 +00:00
kipp
a69a1eb394 Moved certain line layout state into a state struct that can be saved/restored for word breaking 1998-05-27 21:07:10 +00:00
kipp
739607faa8 Moved certain line layout state into a state struct that can be saved/restored for word breaking; updated code to use it; fixed up split line logic to use state to compute push count; added in word breaking logic; eliminated old word break code 1998-05-27 21:06:55 +00:00
kipp
ff32f375c6 Removed cruft; fixed to use canfit/didfit predicates that check on word-breaking state; fixed long standing bug with last-content-complete in pullup code 1998-05-27 21:05:47 +00:00
kipp
7435c759b9 Updated to use lineLayout struct changes 1998-05-27 21:05:13 +00:00
peterl
9067bd0670 added visibility style attribute
moved attributes from position to display struct
1998-05-26 23:15:47 +00:00
troy
3ea1d2d8e3 Merged ResizeReflow() and IncrementalReflow() into one Reflow() member function 1998-05-25 17:31:49 +00:00
kipp
8e4689245f Removed some dead code; added code to DidReflow children at a good spot 1998-05-22 18:37:49 +00:00
troy
9b54fbae32 Changed reference to reflow command to a pointer to a reflow command 1998-05-22 04:56:27 +00:00
troy
6204c78831 Changed splittable enum to be bit flags 1998-05-22 04:54:11 +00:00
troy
a1ab3d3e9a Changed the nsBandTrapezoid::State enum values to conform to the coding
standard
1998-05-22 04:03:14 +00:00
troy
a4a33ecef7 Added new Reflow() member function that will eventually supersede the two
existing reflow functions: ResizeReflow() and IncrementalReflow()
1998-05-22 03:52:51 +00:00
troy
d0e4da316d Some work in progress for incremental floaters 1998-05-22 02:38:41 +00:00
troy
e47c71bad0 Fixed some busted code of a bogus type cast 1998-05-22 00:45:34 +00:00
kipp
2addaf04c8 disabled reflow-mapped-child for now 1998-05-21 16:29:20 +00:00
kipp
460f3aac59 better handle reflow avoidance; factored align children slightly different so that more code is shared between ResizeReflow and IncrementalReflow; fixed more cases where reflow is required 1998-05-21 16:12:10 +00:00
kipp
d0c79cf1df Added a few more fields to better handle reflow avoidance; factored align children slightly different so that more code is shared between ResizeReflow and IncrementalReflow 1998-05-21 16:11:29 +00:00
peterl
7168f94691 Changed GetStyleData to use an enum instead of an nsID 1998-05-21 02:34:13 +00:00
kipp
32a594133f Disable reflow optimizations for now 1998-05-20 21:51:51 +00:00
kipp
a2e476cd11 Add in will/did reflow calls; add in tracing calls too 1998-05-20 16:28:05 +00:00
kipp
bd4c33187c Use new tracing macros; add in ReflowMappedChild to avoid reflowing children 1998-05-20 16:27:46 +00:00
kipp
a7357787d6 Use new tracing macros and verify-tree-enable 1998-05-20 16:27:22 +00:00
kipp
4478350128 Added in mDeltaWidth to block reflow state 1998-05-20 16:26:46 +00:00
kipp
299a819b30 Fixed GetReflowMetrics to return something; use new tracing methods and verify-tree-enable; compute delta width for line layout logic 1998-05-20 16:26:34 +00:00
kipp
98f696a9af Added more debugging hooks that use nspr logging 1998-05-20 16:22:15 +00:00
troy
689fa77686 Implemented RemoveRegion() 1998-05-20 05:14:14 +00:00
troy
70eb627aa6 Changes for removing regions 1998-05-19 22:55:40 +00:00
troy
a0060561f9 Work in progress on removing a region 1998-05-19 15:30:10 +00:00
troy
27cefaf456 Revamped space manager internals 1998-05-19 03:00:56 +00:00
kipp
f51cf58f63 Print out state when non-zero 1998-05-18 16:53:09 +00:00
kipp
14b025d540 Call WillReflow before reflowing children 1998-05-18 16:52:57 +00:00
kipp
6b6f893f40 dump out state and next-in-flow/prev-in-flow conditionally 1998-05-18 16:52:41 +00:00
kipp
280ccad41e Fixed up code that wasn't using the nsReflowStatus constants defined in nsIFrame.h 1998-05-14 00:49:46 +00:00
kipp
c0075966dd Flipped state value of NS_FRAME_COMPLETE with NS_FRAME_NOT_COMPLETE; added new methods WillReflow and DidReflow as well as GetFrameState and SetFrameState 1998-05-14 00:47:05 +00:00
peterl
084e36938f added style size calculation methods
made get style data const
1998-05-13 22:38:09 +00:00
troy
2269c1d962 Changes to space manager implementation. 1998-05-13 16:22:44 +00:00
kipp
51fdf4da25 Fixed ptr compilation bug 1998-05-13 00:13:09 +00:00
kipp
2eceaceee2 Cast lineReflowStatus before comparing for negative values!; eliminated unused variables 1998-05-13 00:11:51 +00:00
kipp
df1f69f0cd Moved margin code into line layout 1998-05-12 23:49:40 +00:00
scullin
b2eff2b481 Release mode fix. 1998-05-12 23:32:59 +00:00
troy
6b461310f7 Space manager API change 1998-05-12 23:02:47 +00:00
troy
224249091a Added new member functions 1998-05-12 23:02:02 +00:00
peterl
9bc80be166 sync to new spacing apis 1998-05-12 22:28:01 +00:00
troy
8f2db5dfa6 Changed enum to conform with coding standards 1998-05-12 04:38:23 +00:00
troy
5b69e1f043 Change to nsIFrame API 1998-05-12 04:17:56 +00:00
kipp
e8cd7381c4 Added container methods for the singly contained frame 1998-05-12 01:31:22 +00:00
kipp
a5887e310b Init band data so that zero is returned on failure 1998-05-12 01:30:57 +00:00
troy
9f30b1be63 Wrapped VerifyLines() inside of a NS_DEBUG #define 1998-05-11 18:54:15 +00:00
troy
71191f123b More incremental reflow work. 1998-05-11 18:38:10 +00:00
troy
e0a3f308d8 Work in progress on block incremental reflow 1998-05-09 03:52:29 +00:00
kipp
2358c691b7 Fixed irix bustage 1998-05-08 21:12:12 +00:00
troy
4bbddb48b7 Moved ContentChanged() logic to nsFrame since it was completely generic and
serves as reasonable default behavior for all frames
1998-05-08 16:34:27 +00:00
troy
fb1fbe4c8e Added ContentChanged() member function 1998-05-08 04:56:47 +00:00
troy
b3c5708bd1 Added ContentChanged() member function 1998-05-08 04:45:37 +00:00
kipp
738091f8a0 Support css width&height style properties 1998-05-07 23:38:51 +00:00
kipp
a14e3f23b2 Support width & height ala css1 1998-05-07 21:50:56 +00:00
kipp
ac0eeca995 order sid's alphabeticly 1998-05-07 21:36:41 +00:00
troy
bbd8179798 Work in progress 1998-05-07 21:10:07 +00:00
troy
48ae839cb0 Started hooking up appended content handler 1998-05-07 20:28:16 +00:00
troy
b5f329f71c Work on getting floaters working again 1998-05-07 05:25:08 +00:00
kipp
6188f684ea Implemented destroy-lines 1998-05-07 03:45:29 +00:00
kipp
519a6403a4 Ported to new CreateFrame/CreateContinuingFrame APIs 1998-05-07 00:08:20 +00:00
kipp
4d3606cbbc Ported to new CreateFrame/CreateContinuingFrame APIs; removed some debris code 1998-05-07 00:06:53 +00:00
kipp
f8bff82f91 Changed CreateContinuingFrame to take a style context argument to reduce style context creation 1998-05-07 00:05:37 +00:00
troy
d477d86672 Frames no longet store the content index-in-parent 1998-05-05 23:56:50 +00:00
troy
519b12bffe Work in progress for inserted incremental reflow 1998-05-05 04:47:53 +00:00
troy
90c5a32479 Added ContentInserted handler 1998-05-04 18:32:12 +00:00
troy
7d8404bbe3 Work in progress for incremental reflow (insert) 1998-05-04 17:54:45 +00:00
troy
a388f68a46 Added ComputeDesiredRect() to share some common code between DoResizeReflow()
and IncrementalReflow()
1998-05-03 04:57:29 +00:00
troy
04137907dc Made sure to set previous bottom margin when restoring reflow state 1998-05-03 04:37:56 +00:00
troy
2e798d9c4f Fixed a problem with mY not being updated properly for a bottom
margin
1998-05-03 04:16:13 +00:00
troy
b6217c70a6 Changed body to create block pseudo-frame instead of a column pseudo frame,
and hooked up the reflow appended code
1998-05-03 03:51:48 +00:00
kipp
fa2e5e968b Spanked nsBlockFrame: newly rewritten, broken into two pieces (see nsLineLayout.h,.cpp for the line layout code) 1998-05-02 00:56:24 +00:00
kipp
2c54f1bfe8 Updated 1998-05-02 00:40:25 +00:00
kostello
3c9c1ac4e0 Made SetStyleContext take the presentation context as a parameter
Made DidSetStyleContext virtual, since we need to override the behavior in subclasses
1998-05-01 20:43:42 +00:00
kostello
a5c40d6b25 * Made SetStyleContext take the presentation context as a parameter
* Made DidSetStyleContext virtual, since we need to override the behavior in subclasses
1998-05-01 20:43:02 +00:00
kipp
1c28e03068 new 1998-04-30 23:32:32 +00:00