Граф коммитов

242 Коммитов

Автор SHA1 Сообщение Дата
kipp%netscape.com 2d3942241b Cleaned up and repaired floater placement and spacemanager manipulation; the comments clearly (hopefully!) state whats going on... 1998-09-28 18:50:59 +00:00
kipp%netscape.com f30c68a9f7 Fixed up list ordinal handling so that negatives don't work for roman numerals or for alphabetics, and that alphabetics count properly (a==1); this fixes bugzilla bug#589 1998-09-26 20:05:09 +00:00
kipp%netscape.com 8aa1262f04 use image-loader call back to trigger bullet frame reflows 1998-09-26 18:36:01 +00:00
kipp%netscape.com fff04dae01 Use modified css rendering API 1998-09-26 17:17:20 +00:00
kipp%netscape.com b3e3ba03b6 Fixed memory leak (bug #910) 1998-09-26 00:37:26 +00:00
kipp%netscape.com b1f13b362f Added support for percentage base margins to the root, root-content and block frames 1998-09-25 23:47:59 +00:00
kipp%netscape.com 6d53992c3f Support break-before/after for block frames 1998-09-25 17:50:09 +00:00
kipp%netscape.com 053775b9aa Support (weakly) style-changed reflow and fixup naming of frame-removed methods 1998-09-25 16:10:10 +00:00
troy%netscape.com 50795d8516 Moved ContentDeleted() document notification code to the style system which
generates the reflow command
1998-09-25 05:13:06 +00:00
kipp%netscape.com 99bde8b304 Removed bullet pseudo-content and instead use pseudo style to process bullets properly 1998-09-24 21:32:39 +00:00
kipp%netscape.com 0f80d4a261 Fixed block's max-element-size computation for child inline frames 1998-09-24 17:47:25 +00:00
troy%netscape.com cdf9d06a40 Removed some XXX CONSTRUCTION code that was work-in-progress, but is
no longer needed
1998-09-24 03:49:45 +00:00
kipp%netscape.com e580331b37 Implement bullets here; implement list renumbering cleanly instead of having the bullets blindly do it (fixes a crash and several pagination bugs) 1998-09-23 20:10:40 +00:00
kipp%netscape.com be50f363a2 Spanked hard to reorg code around nsInlineReflow; rework list handling; rework factoring of inline/block reflow 1998-09-23 02:25:26 +00:00
troy%netscape.com 62b1375f69 Removed farme enumeration member functions for indexed access, last child,
and child count
1998-09-19 03:24:26 +00:00
troy%netscape.com f80fdc69aa Removed CreateFrame() from nsIHTMLContent 1998-09-18 18:04:42 +00:00
troy%netscape.com 28c7cf540c Removed content delegates 1998-09-18 17:18:37 +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 9adcf5d319 Cleaned up frame construction code 1998-09-17 04:07:58 +00:00
kipp%netscape.com 8f2807a027 Removed css/layout directory 1998-09-15 00:19:49 +00:00
kipp 1a446c2e3f New and improved (?) line layout 1998-06-25 16:33:10 +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 56c2b9603b Implement ReflowInlineChild to check for nsIInlineFrame and use it when available 1998-06-09 17:32:52 +00:00
troy 66b6882d23 Added nsIReflowCommand interface 1998-06-09 04:51:44 +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
kipp 6f00af11ec Fixed to return proper reflow status 1998-06-05 00:54:03 +00:00
kipp 107fb3d1e9 IMplement ReflowBlockChild 1998-06-04 23:08:49 +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
kipp f7b56628c8 Print out views during listings 1998-06-03 15:51:17 +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 f7574b4cbd Fixed block frame Clear method to work properly 1998-06-01 23:38:40 +00:00
kipp 1ce91917a8 Use new cssLayout api 1998-05-30 21:18:32 +00:00
kipp 9191e6894f Partial support for BR clear behavior 1998-05-30 17:45:15 +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 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
troy d6ceb1bcea Changed VerifyTree() to check that NS_FRAME_IN_REFLOW isn't set 1998-05-28 19:00:31 +00:00
troy 4910a3a407 Added 'ns' prefix to class name 1998-05-28 02:37:37 +00:00
kipp 7435c759b9 Updated to use lineLayout struct changes 1998-05-27 21:05:13 +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 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 d0e4da316d Some work in progress for incremental floaters 1998-05-22 02:38:41 +00:00
peterl 7168f94691 Changed GetStyleData to use an enum instead of an nsID 1998-05-21 02:34:13 +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 6b6f893f40 dump out state and next-in-flow/prev-in-flow conditionally 1998-05-18 16:52:41 +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
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
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 a14e3f23b2 Support width & height ala css1 1998-05-07 21:50:56 +00:00
troy bbd8179798 Work in progress 1998-05-07 21:10:07 +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 4d3606cbbc Ported to new CreateFrame/CreateContinuingFrame APIs; removed some debris code 1998-05-07 00:06:53 +00:00
troy d477d86672 Frames no longet store the content index-in-parent 1998-05-05 23:56:50 +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
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
peterl 4c198bdb45 updated to new value class api 1998-04-30 19:55:51 +00:00
troy 4123dc2ed8 Changed space manager to return a list of available and unavailable trapezoids 1998-04-29 00:58:16 +00:00
buster bc48be7cc5 sped up nsBlockFrame significantly by reducing the number of times we resolve style by almost 50% on initial layout
(percentage savings go way up as the window is resized)
1998-04-27 22:33:55 +00:00
kipp 941c955ed8 Fix porting bugs - made it compile on IRIX 1998-04-26 02:59:29 +00:00
kipp 93fdfbe671 Port to removal of nsStyleMolecule 1998-04-25 18:48:48 +00:00
troy 2adf9e6718 Added more position properties and removed some stuff from nsStyleMolecule 1998-04-24 03:50:38 +00:00
troy 2c0ca536fc More CSS position work 1998-04-23 15:39:48 +00:00
troy 4ef6f63491 Work in progress on absolutely positioned elements 1998-04-22 16:06:21 +00:00
peterl c6fc3d1e32 WIP moving margin, border & padding out of nsStyleMolecule
Switch to nsIPtr for style context ptrs to eliminate leaks
1998-04-22 06:37:57 +00:00
troy 73a2d89927 Changed space manager to pass in the frame that's associated with a block
of unavailable space
1998-04-21 23:06:41 +00:00
troy 38fe177725 Changed the space manager interface to return trapezoids instead
of rects
1998-04-20 23:53:47 +00:00
troy cfd0fcd45e Changed to using continuing frames for runaround of left/right floaters 1998-04-20 19:56:35 +00:00
troy aee599dd97 Made it so that continuing frames have a top margin of 0 1998-04-20 04:37:49 +00:00
troy c08ecb911c Fixed a problem where mLastContentIsComplete wasn't getting set right
for block-level elements
1998-04-18 22:06:05 +00:00
troy e1e6d470ff Changed IsSplittable to have three return values 1998-04-17 23:08:20 +00:00
troy 3ce8e88882 Changed nsIFrame member functions to return a nsresult 1998-04-17 01:41:24 +00:00
kipp 098bef52b4 moved to pub 1998-04-13 20:24:54 +00:00