Commit Graph
97 Commits
Author SHA1 Message Date
kin@netscape.com 5203cc4746 Fix for bug #18622 (UMR in nsLineLayout::CanPlaceFrame)
nsLineLayout::ReflowFrame() now sets some of the psd flags before
calling aFrame->Reflow().
r=troy@netscape.com,norris@netscape.com  a=chofmann@netscape.com
1999-12-10 18:41:43 +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
kipp@netscape.com 6f42ace227 r=troy; fixed bugs 2636 and 17636 - line layout issues for some more edge cases (nobr's with floaters in them) and handling of nbsp 1999-11-02 15:44:57 +00:00
kipp@netscape.com 9d9229ed3c r=troy; fixed bug 14982 - the problem was that empty continuations of an inline non-replaced element (e.g. 'span') were impact line-height calculations when they should effectively disappear 1999-11-01 22:38:17 +00:00
troy@netscape.com bf2283fba6 Moved a bunch of stuff out to a nsIFrameDebug interface 1999-11-01 22:12:45 +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
kipp@netscape.com e92e1d7069 r=troy; updated api slightly to support fixes to bug 12760, 12958 and some resize-reflow optimization bugs 1999-10-29 14:33:26 +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 7abb51e0dd Turned off some more debug noise 1999-10-25 23:05:15 +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 c6262cab66 Fixed edge case where line bounds wasn't quite accurate which causes the combined rect to not match which now wastes memory; only affects right aligned lines 1999-10-14 23:10:59 +00:00
kipp@netscape.com 07c8dbbeb3 Fixed bugs with combined-area continuing to include trimmed whitespace (wip for 12297); Added support for tracking trim for 16176) 1999-10-12 23:27:32 +00:00
kipp@netscape.com ea36a75c90 Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage 1999-10-08 20:41:19 +00:00
kipp@netscape.com 7e48d2f55c Refixed bug #10496 - a=choffman, r=troy 1999-09-24 17:23:33 +00:00
kipp@netscape.com a39fd07f30 Reimplement TrimTrailingWhiteSpace; fixed another combined area bug (12910) 1999-09-21 00:14:22 +00:00
kipp@netscape.com da0cb86237 Fixed a glitch in the debug noise 1999-09-17 23:15:31 +00:00
kipp@netscape.com a47b4111a9 Reworked to be more css compliant; factored compatability logic out of nsInlineFrame into here 1999-09-09 21:04:37 +00:00
kipp@netscape.com 7af7157d50 Implement fix for bug #5821 as per dbaron's suggestion 1999-09-03 03:47:49 +00:00
kipp@netscape.com 5a668ab307 Save some memory by not saving away useless text runs 1999-09-02 18:01:59 +00:00
kipp@netscape.com 3dbd670c62 Reimplemented SizeOf methods in some of the frame classes; partial rework of first-line handling snapshot 1999-08-31 03:09:40 +00:00
kipp@netscape.com 7afe53a642 Fixed computation of max-element-size for bug #12384; don't compute line-height in this class 1999-08-27 21:50:06 +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 5314e9e95c Removed some compiler warnings; fix subtlety with handling empty inline frames and whitespace compression for bug #5999 1999-07-14 17:29:32 +00:00
kipp@netscape.com 88769694a3 Removed HaveFixedContent* methods from nsHTMLReflowState and updated code to match (fix bug #7993) 1999-07-07 02:33:17 +00:00
nisheeth@netscape.com f8eaeb69a0 Adding support in line layout for the CSS "direction" property. 1999-05-08 00:48:39 +00:00
kipp@netscape.com f57edb3592 Tweaked to handle updated line-height calculation code that will now return -1 sometimes 1999-05-03 20:54:11 +00:00
kipp@netscape.com 43ea7206b9 Clear first-letter ok style at the right time 1999-04-29 00:16:09 +00:00
kipp@netscape.com 6bf0bd5557 tweaked 1999-04-27 22:13:06 +00:00
troy@netscape.com 21497ca5ab Added code to check the placeholder's out-of-flow frame and see if it's
an absolutely positioned frame and not just assume it's a floater
1999-04-25 17:01:07 +00:00
kipp@netscape.com 55fffa811a nit 1999-04-23 20:01:38 +00:00
kipp@netscape.com 18cccc427f Moved hacked call to floater adds out of nsPlaceholderFrame and into nsLineLayout 1999-04-23 15:15:53 +00:00
kipp@netscape.com 4741e5fce1 Switch to a different (more accurate) BR handling hack... 1999-04-03 18:57:30 +00:00
kipp@netscape.com 1f74156988 Select size of builtin arrays by platform (sigh); remove some cruft; added in support for debugging memory leaks and reducing initialization time 1999-03-29 23:46:34 +00:00
kipp@netscape.com 8191f0a6d6 Removed carried-out-top-margin 1999-03-27 01:24:24 +00:00
kipp@netscape.com 1bf344badb Work around some first-letter bugs 1999-03-26 00:41:36 +00:00
kipp@netscape.com 9ca7c7a6ce Fixed a bug that prevented text-indent from working next to floaters; support moz-right and moz-center text-align values 1999-03-25 03:49:29 +00:00
kipp@netscape.com d02cc33bd3 Tweaked the line-breaking logic so that certain floater situations don't trigger crashes 1999-03-24 15:41:49 +00:00
kipp@netscape.com 82e039c0dd Made state that is really per-span state part of PerSpanData to fix some reflow bugs 1999-03-22 20:45:09 +00:00
kipp@netscape.com b1d6462051 Reworked CanPlaceFrame logic to be slightly more efficient and to handle breaking around floaters differently to conform to CSS 1999-03-21 01:14:43 +00:00
kipp@netscape.com 9e76842776 Fixed a bug with zero height spans and combined area calculations that led to tall vertical scrollbars...; also switch to using CRAZY macros 1999-03-20 21:55:22 +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 06f8d3ea67 Added more bad-frame detection; fixed a purify caught bug 1999-03-19 23:07:17 +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
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 39d9c653db Implement TreatFrameAsBlock 1999-02-01 17:32:49 +00:00
kipp@netscape.com f6502df0e2 Added DumpRegressionData; revised ListTag; added GetFrameName 1998-11-19 17:22:29 +00:00