Commit Graph
56 Commits
Author SHA1 Message Date
troy@netscape.com 8ee39bb6c2 b=25223. Block code now does a better job of determing where the floater
should go before reflowing it
2000-01-29 00:47:33 +00:00
troy@netscape.com b7da02391d b=22677. Fix for the part of the bug where the second table taht is relatively
positioned flashes when the window is resized
2000-01-26 03:44:36 +00:00
troy@netscape.com cbfe0dfcd0 b=22497. Changed ReflowBlock() to better calculate the x-offset where the
table will be positioned
2000-01-26 01:45:47 +00:00
troy@netscape.com 8b386be620 Made sure to subtract top margin from available height when paginated 2000-01-18 15:39:38 +00:00
nisheeth@netscape.com bd43d81d01 r=troy. Reflow commands are now coalesced by block and inline frames. This fixes bug 985 in which we now generate 6 reflow commands instead of 257. 2000-01-12 08:28:24 +00:00
troy@netscape.com 42284c6625 More work on getting block frames to incrementally update their
maximum width
2000-01-08 03:58:27 +00:00
troy@netscape.com 402f4784e4 Added new #define NS_SHRINKWRAPWIDTH that specifies that a frame should
shrink wrap its width (paying attention to the maximum computed width). Mostly
complete implementation for block frames
2000-01-03 04:32:13 +00:00
troy@netscape.com f0465b161b Work-in-progress for having maximum width (needed by tables) be updated
incrementally
1999-12-30 04:15:45 +00:00
troy@netscape.com 7abe460751 Change to how overflow is handled for absolutely positioned elements.
We no longer use nsIAraeFrame and now it's folded into the overflow
area in the reflow metrics
1999-12-06 15:49:53 +00:00
tbogard@aol.net 617bb737a6 Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc 1999-11-24 06:03:41 +00:00
troy@netscape.com 3b67f2f17c WillReflow/DidReflow changes and changes to the way view positioning
and sizing works
1999-11-19 15:33:29 +00:00
dmose@mozilla.org 796280940b updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
troy@netscape.com 5e5f240649 Folded reflow functions into nsIFrame and eliminated nsIFrameReflow and
nsIHTMLReflow. This saves 4 bytes per frame and cleans things up
1999-10-30 02:52:11 +00:00
troy@netscape.com b8ef6465be Changed SetView/GetView to take an additional argument which is the
pres context
1999-10-26 04:44:41 +00:00
kipp@netscape.com a99b8c0ee3 r=troy; bug: 15153; fixed problem with style-change reflows not being propogated properly 1999-10-21 20:44:58 +00:00
kipp@netscape.com 03460c03e9 Fixed bug with bounds of line-box including side margins when it shouldn't (part of 12297) 1999-10-12 23:24:51 +00:00
kipp@netscape.com a538a6dc7c Disabled (obsolete?) usage of MoveInSpaceManager 1999-09-15 00:26:10 +00:00
kipp@netscape.com 7814fdd703 Fixed two incremental reflow bugs (12890) 1999-09-10 18:52:56 +00:00
kipp@netscape.com d0cfa0f36a Cache computed width so that during placement of the block we can see if auto margins need recomputing (bug #1164) 1999-08-27 21:47:04 +00:00
troy@netscape.com 4588244ada Added 'm' prefix to a couple more data members of nsHTMLReflowState struct 1999-07-20 03:51:46 +00:00
troy@netscape.com 346eaed537 Added 'm' prefix to some of the nsHTMLReflowState data members 1999-07-20 03:41:03 +00:00
kipp@netscape.com 43b346efa4 Cleaned up some warnings; use some com-ptrs 1999-07-14 17:27:24 +00:00
troy@netscape.com 6044dde4a3 Fix for bug #6630. Don't force the desired width to 0 for zero-height
frames, and don't have the document element frame shrink wrap
1999-06-26 03:21:49 +00:00
troy@netscape.com b6a578858d Fix for bug #6947. Changed PlaceBlock() to also check the combined area height
when checking for a zero-height frame
1999-06-25 03:17:04 +00:00
kipp@netscape.com eab1711371 Incomplete workaround for bug #5453 1999-05-10 22:28:04 +00:00
kipp@netscape.com 520ef17a48 Updated a comment 1999-05-03 20:51:16 +00:00
kipp@netscape.com 2fcb5f2888 Switch to nsIPresContext*'s instead of nsIPresContext&'s 1999-04-20 00:27:08 +00:00
sfraser@netscape.com 88bd0b2361 Removal of nsSelectionRange, nsSelectionPoint, and fixing up resulting include problems. 1999-04-13 01:15:16 +00:00
kipp@netscape.com 23a34b4560 Always init mMaxElementSize (bug 4836) - just in case 1999-04-10 17:32:04 +00:00
kipp@netscape.com 8e60a5a17a Removed some debris; added ComputeCollapsedTopMargin method 1999-04-03 18:58:32 +00:00
kipp@netscape.com e291a56a20 Removed compact margin hackery 1999-03-31 04:10:51 +00:00
kipp@netscape.com b882f3ea5c Collapse margins away for html paragraphs (bug #2589 and #2291); add is-html-paragraph method 1999-03-29 23:45:36 +00:00
kipp@netscape.com 1e188d78fd Moved vertical margin application into here; implement top-margin collapsing logic 1999-03-27 01:22:45 +00:00
kipp@netscape.com c90775f2aa Support compatability center/right align values for nav4 support 1999-03-25 03:48:51 +00:00
kipp@netscape.com 1e9b72dcae Corrected some of the warning messages to reduce false alarms 1999-03-24 15:42:38 +00:00
kipp@netscape.com deee000810 Work around 3238 partially until we have a real solution 1999-03-22 20:45:26 +00:00
kipp@netscape.com cdd9de9e0b switch to using CRAZY macros 1999-03-20 21:55:59 +00:00
kipp@netscape.com 02b2896363 Added some debugging help for tracking down max-element-size bugs 1999-03-20 19:38:50 +00:00
kipp@netscape.com c409f76d74 Added more bad-frame detection 1999-03-19 23:06:20 +00:00
kipp@netscape.com 76a50ef817 Spanked to collapse inline-reflow with line-layout into line-layout; fixed bugs #1278, #1990, #3527, #1670, etc. 1999-03-18 21:03:25 +00:00
kipp@netscape.com 57bc4468d6 Copy out computed combined area even when dealing with an zero height block; added some nasty logging messages for frames that don't set max-element-size 1999-03-08 19:25:03 +00:00
kipp@netscape.com 358682f937 Minor tweaks to work better with computed values in html reflow state 1999-03-05 04:22:11 +00:00
troy@netscape.com b2d859edbe Changed GetNextInFlow() and GetPrevInFlow() to be pointer arguments and
not references
1999-02-24 04:48:08 +00:00
kipp@netscape.com 74b2988510 COMized nsIPresShell and nsIPresContext 1999-02-12 17:45:58 +00:00
troy@netscape.com 18893d3961 Changed GetFrameState() and GetFrameType() to use pointer arguments instead of
references
1999-02-10 04:17:06 +00:00
troy@netscape.com 48040900a7 Changed GetParent() to use ** instead of *& 1999-02-10 01:36:30 +00:00
troy@netscape.com f6a5fd74ca Correction to how offsets are computed for relatively positioned elements 1999-01-22 04:12:03 +00:00
troy@netscape.com f4aebf3e24 Changed nsHTMLReflowState to compute 'offsets' for relatively positioned
elements
1999-01-16 20:58:17 +00:00
troy@netscape.com 62b64b2067 Removed the content-parent frame pointer. Now we just have the one geometric
parent
1999-01-14 05:16:23 +00:00
troy@netscape.com 21574143ee Added support for 'right' and 'bottom' properties. Changed to using a
nsStyleSides struct to hold all the offsets
1999-01-08 04:47:46 +00:00