Commit Graph
99 Commits
Author SHA1 Message Date
[email protected] 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
[email protected] 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
[email protected] 5203cc4746 Fix for bug #18622 (UMR in nsLineLayout::CanPlaceFrame)
nsLineLayout::ReflowFrame() now sets some of the psd flags before
calling aFrame->Reflow().
[email protected],[email protected]  [email protected]
1999-12-10 18:41:43 +00:00
[email protected] 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
[email protected] 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
[email protected] 3b67f2f17c WillReflow/DidReflow changes and changes to the way view positioning
and sizing works
1999-11-19 15:33:29 +00:00
[email protected] 796280940b updated license boilerplate to xPL 1.1, [email protected],[email protected] 1999-11-06 03:40:37 +00:00
[email protected] 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
[email protected] 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
[email protected] bf2283fba6 Moved a bunch of stuff out to a nsIFrameDebug interface 1999-11-01 22:12:45 +00:00
[email protected] 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
[email protected] 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
[email protected] b8ef6465be Changed SetView/GetView to take an additional argument which is the
pres context
1999-10-26 04:44:41 +00:00
[email protected] 7abb51e0dd Turned off some more debug noise 1999-10-25 23:05:15 +00:00
[email protected] a99b8c0ee3 r=troy; bug: 15153; fixed problem with style-change reflows not being propogated properly 1999-10-21 20:44:58 +00:00
[email protected] 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
[email protected] 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
[email protected] ea36a75c90 Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage 1999-10-08 20:41:19 +00:00
[email protected] 7e48d2f55c Refixed bug #10496 - a=choffman, r=troy 1999-09-24 17:23:33 +00:00
[email protected] a39fd07f30 Reimplement TrimTrailingWhiteSpace; fixed another combined area bug (12910) 1999-09-21 00:14:22 +00:00
[email protected] da0cb86237 Fixed a glitch in the debug noise 1999-09-17 23:15:31 +00:00
[email protected] a47b4111a9 Reworked to be more css compliant; factored compatability logic out of nsInlineFrame into here 1999-09-09 21:04:37 +00:00
[email protected] 7af7157d50 Implement fix for bug #5821 as per dbaron's suggestion 1999-09-03 03:47:49 +00:00
[email protected] 5a668ab307 Save some memory by not saving away useless text runs 1999-09-02 18:01:59 +00:00
[email protected] 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
[email protected] 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
[email protected] 4588244ada Added 'm' prefix to a couple more data members of nsHTMLReflowState struct 1999-07-20 03:51:46 +00:00
[email protected] 346eaed537 Added 'm' prefix to some of the nsHTMLReflowState data members 1999-07-20 03:41:03 +00:00
[email protected] 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
[email protected] 88769694a3 Removed HaveFixedContent* methods from nsHTMLReflowState and updated code to match (fix bug #7993) 1999-07-07 02:33:17 +00:00
[email protected] f8eaeb69a0 Adding support in line layout for the CSS "direction" property. 1999-05-08 00:48:39 +00:00
[email protected] f57edb3592 Tweaked to handle updated line-height calculation code that will now return -1 sometimes 1999-05-03 20:54:11 +00:00
[email protected] 43ea7206b9 Clear first-letter ok style at the right time 1999-04-29 00:16:09 +00:00
[email protected] 6bf0bd5557 tweaked 1999-04-27 22:13:06 +00:00
[email protected] 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
[email protected] 55fffa811a nit 1999-04-23 20:01:38 +00:00
[email protected] 18cccc427f Moved hacked call to floater adds out of nsPlaceholderFrame and into nsLineLayout 1999-04-23 15:15:53 +00:00
[email protected] 4741e5fce1 Switch to a different (more accurate) BR handling hack... 1999-04-03 18:57:30 +00:00
[email protected] 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
[email protected] 8191f0a6d6 Removed carried-out-top-margin 1999-03-27 01:24:24 +00:00
[email protected] 1bf344badb Work around some first-letter bugs 1999-03-26 00:41:36 +00:00
[email protected] 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
[email protected] d02cc33bd3 Tweaked the line-breaking logic so that certain floater situations don't trigger crashes 1999-03-24 15:41:49 +00:00
[email protected] 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
[email protected] 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
[email protected] 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
[email protected] 02b2896363 Added some debugging help for tracking down max-element-size bugs 1999-03-20 19:38:50 +00:00
[email protected] 06f8d3ea67 Added more bad-frame detection; fixed a purify caught bug 1999-03-19 23:07:17 +00:00
[email protected] 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
[email protected] b2d859edbe Changed GetNextInFlow() and GetPrevInFlow() to be pointer arguments and
not references
1999-02-24 04:48:08 +00:00