Commit Graph

491 Commits

Author SHA1 Message Date
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
kipp@netscape.com
9d75e0c998 Added run-in and compact display types to the TreatFrameAsBlockFrame method 1998-11-11 03:54:47 +00:00
kipp@netscape.com
cf2c0aaaec Reworked white-space compression flags so that inline-reflow can detect white-space aware frames properly 1998-10-31 22:48:56 +00:00
kipp@netscape.com
b708af2eae Added FindTextRunsFor method 1998-10-20 00:23:11 +00:00
kipp@netscape.com
a16b0dd7bf Removed nsCSSLayout::GetStyleSize and converted callers to use state in the html reflow state 1998-10-12 17:00:32 +00:00
kipp@netscape.com
9cf87c96de Added methods to support word breaking 1998-10-10 04:35:01 +00:00
kipp@netscape.com
9dadfb6ae3 Mork work on floaters; support for clear style property 1998-10-09 22:58:25 +00:00