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

103 Коммитов

Автор SHA1 Сообщение Дата
troy%netscape.com 9bbcfdde0b Made sure to subtract top margin from available height when paginated 2000-01-18 15:39:38 +00:00
nisheeth%netscape.com 409aee6ae9 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 bd57e59030 More work on getting block frames to incrementally update their
maximum width
2000-01-08 03:58:27 +00:00
troy%netscape.com 1558ba3b1a 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 4ddb903853 Work-in-progress for having maximum width (needed by tables) be updated
incrementally
1999-12-30 04:15:45 +00:00
troy%netscape.com 3c7966f705 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 a0640b60c4 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 fe56995443 WillReflow/DidReflow changes and changes to the way view positioning
and sizing works
1999-11-19 15:33:29 +00:00
dmose%mozilla.org 42fc94a6ec 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 effb3aefb7 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 a47e8db44b Changed SetView/GetView to take an additional argument which is the
pres context
1999-10-26 04:44:41 +00:00
kipp%netscape.com 870c8ad174 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 3a1c740c05 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 bfa787c1c7 Disabled (obsolete?) usage of MoveInSpaceManager 1999-09-15 00:26:10 +00:00
kipp%netscape.com 311d2c3974 Fixed two incremental reflow bugs (12890) 1999-09-10 18:52:56 +00:00
kipp%netscape.com 41afaa6475 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 06f806dfd8 Added 'm' prefix to a couple more data members of nsHTMLReflowState struct 1999-07-20 03:51:46 +00:00
troy%netscape.com a6aae963a7 Added 'm' prefix to some of the nsHTMLReflowState data members 1999-07-20 03:41:03 +00:00
kipp%netscape.com 0bccd7bb6c Cleaned up some warnings; use some com-ptrs 1999-07-14 17:27:24 +00:00
troy%netscape.com 520a472166 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 3bd4abf53c 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 dd4a8fb0f4 Incomplete workaround for bug #5453 1999-05-10 22:28:04 +00:00
kipp%netscape.com c7a81db773 Updated a comment 1999-05-03 20:51:16 +00:00
kipp%netscape.com 8e91c16bcc Switch to nsIPresContext*'s instead of nsIPresContext&'s 1999-04-20 00:27:08 +00:00
sfraser%netscape.com bbe5a4f210 Removal of nsSelectionRange, nsSelectionPoint, and fixing up resulting include problems. 1999-04-13 01:15:16 +00:00
kipp%netscape.com 88856b870e Always init mMaxElementSize (bug 4836) - just in case 1999-04-10 17:32:04 +00:00
kipp%netscape.com b51cc614ac Removed some debris; added ComputeCollapsedTopMargin method 1999-04-03 18:58:32 +00:00
kipp%netscape.com c2ce4ffb18 Removed compact margin hackery 1999-03-31 04:10:51 +00:00
kipp%netscape.com 6b923e2208 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 5f1c1061e3 Moved vertical margin application into here; implement top-margin collapsing logic 1999-03-27 01:22:45 +00:00
kipp%netscape.com 84437447e1 Support compatability center/right align values for nav4 support 1999-03-25 03:48:51 +00:00
kipp%netscape.com c373ba84a5 Corrected some of the warning messages to reduce false alarms 1999-03-24 15:42:38 +00:00
kipp%netscape.com d135887292 Work around 3238 partially until we have a real solution 1999-03-22 20:45:26 +00:00
kipp%netscape.com bbbd92e668 switch to using CRAZY macros 1999-03-20 21:55:59 +00:00
kipp%netscape.com 55455e81b1 Added some debugging help for tracking down max-element-size bugs 1999-03-20 19:38:50 +00:00
kipp%netscape.com 1621e4d7ce Added more bad-frame detection 1999-03-19 23:06:20 +00:00
kipp%netscape.com f7b3921a2c 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 1f0ae90eb5 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 f506e2d301 Minor tweaks to work better with computed values in html reflow state 1999-03-05 04:22:11 +00:00
troy%netscape.com 8dfabdf1a8 Changed GetNextInFlow() and GetPrevInFlow() to be pointer arguments and
not references
1999-02-24 04:48:08 +00:00
kipp%netscape.com 5a554d526e COMized nsIPresShell and nsIPresContext 1999-02-12 17:45:58 +00:00
troy%netscape.com b8965b6929 Changed GetFrameState() and GetFrameType() to use pointer arguments instead of
references
1999-02-10 04:17:06 +00:00
troy%netscape.com 40e3d2b1c8 Changed GetParent() to use ** instead of *& 1999-02-10 01:36:30 +00:00
troy%netscape.com d412c44912 Correction to how offsets are computed for relatively positioned elements 1999-01-22 04:12:03 +00:00
troy%netscape.com 3a6b91ec12 Changed nsHTMLReflowState to compute 'offsets' for relatively positioned
elements
1999-01-16 20:58:17 +00:00
troy%netscape.com 5d8b4656eb 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 310d08ec36 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
kipp%netscape.com 353717e6fd Factor in margins into in-flow-bounds rect; update max-element-size to include the margins around the block element 1998-12-17 18:52:45 +00:00
kipp%netscape.com f6ab89cc1b Removed bogus null pointer check 1998-12-15 17:59:49 +00:00
troy%netscape.com 4da5dc8e56 Changed inline and block reflow code to reset reflow state's isTopOfPage
data member based on whether IsAdjacentWithTop() is true
1998-12-12 17:59:30 +00:00
kipp%netscape.com 44ab1f89b5 Slightly better handling of left/right block margins 1998-12-07 19:34:41 +00:00
kipp%netscape.com cff6e1c45a Updated 1998-12-05 16:01:11 +00:00
kipp%netscape.com 45b11dc878 new 1998-12-01 16:13:49 +00:00