waterson@netscape.com
463bfb7340
Bug 19051. Checked in wrong patch for nsLineLayout.cpp; we want to check the display type, not the frame type, to determine if it's a block frame.
2000-07-27 05:20:09 +00:00
waterson@netscape.com
0909469319
Bug 19051. Remove code that computed and maintained nsTextRun. Instead, compute 'next text' when required by crawling the frame tree in nsLineLayout::FindNextText(). r=roc+moz@cs.cmu.edu
2000-07-27 05:16:08 +00:00
buster@netscape.com
08e52676df
fixed nsbeta2+ bugs 42138 35772 37657 38157 40283 35964
...
r=waterson, rods
2000-06-14 23:15:59 +00:00
rbs@maths.uq.edu.au
0d6146ed5d
[#ifdef MOZ_MATHML: not yet part of default build]. Export the baseline out of the block frame code to support 'vertical-align: baseline' in table-cells. bug 10207. r:buster@netscape.com. a:waterson@mozilla.org
2000-06-05 08:24:18 +00:00
buster@netscape.com
8e1b779157
just removed a warning
2000-05-09 05:08:27 +00:00
buster@netscape.com
41f18363f4
I suck. More debugging code that should have been removed.
2000-04-17 15:54:55 +00:00
buster@netscape.com
e314a84485
bug 588 (text justification) for Robert O'Callahan <roc+moz@cs.cmu.edu>
...
r=buster
bug 18545 ([FLOAT] Problem Centering <TABLE> with <DIV> tag)
r=troy
bugs 18827, 19579, 22327 24782, 26512, 30124, 31849, 32846 (floater behavior wrong)
The primary change here is to determine if a block is impacted by a floater, and if so
mark the block's lines dirty when appropriate.
r=troy
no bug number. performance work. reduced the size of some reflow data structures by
collapsing multiple fields into a single bit field.
r=troy
2000-04-17 14:40:46 +00:00
buster@netscape.com
a88207dcc0
bug 29595 (and others)
...
fixes layout of pages where a single line is impacted by 2 or more floaters
r=troy
2000-03-22 23:19:10 +00:00
karnaze@netscape.com
2e5bcc3452
bug 28071 - added Use DTD compatibility mode to viewer. layout uses single mechanism for determining compatibility mode. r=rods.
2000-03-20 23:39:22 +00:00
dbaron@fas.harvard.edu
7aff47deee
1) Make PRE line layout backwards compatible in quirks mode (related to bug 26998).
...
2) Don't use strings when I can use atoms.
3) Fix bug 28472 by correcting error in earlier checkin.
r=buster@netscape.com
2000-03-16 01:14:57 +00:00
dbaron@fas.harvard.edu
dcce70a9db
Refix bug 5821, which I broke with a mistake in my earlier change. r=buster@netscape.com a=rickg@netscape.com
2000-02-19 03:42:30 +00:00
dbaron@fas.harvard.edu
c67228932d
Fix bug 15428 as suggested by VYV03354@nifty.ne.jp . Stop using 0 as the initial values for min and max of inline box contents so that lines that do not (vertically) contain their own baseline are sized correctly. Also, correctly size BR frames using their line-height (for strict-mode only).
...
Fix bugs 24186, 26996, and 26998 by reworking the quirks-mode line-height handling so that inline elements that do not have text as children (or meet a few other conditions that show the author wants real CSS support) will not increase the size of the line, but will be as close to their correct size as possible without enlarging the line. This fix includes emulation of the strange Nav4/IE quirk that a block's line-height is enforced on the first line of LI elements and the last line of LI, DD, and DT elements. Many of the changes are removing an earlier fix for 24186.
r=buster
2000-02-15 04:26:44 +00:00
pp@ludusdesign.com
baf799923b
Converting ::GetIID() into NS_GET_IID(). Bug #20232 . r=scc, r=mozbot
2000-02-02 22:24:56 +00:00
buster@netscape.com
50555707c9
fixing linux bustage. got caught by a platform difference in handling
...
of nsCOMPtr and the equality operator
2000-02-02 08:28:37 +00:00
buster@netscape.com
2ab3dce74b
fixed bug 24186 (well, fixed it enough for beta at least. see bug for details)
...
r=troy
2000-02-02 07:38:23 +00:00
troy@netscape.com
9ed7ac11f0
b=25245 Fixed ApplyLeftMargin() to not subtract for margins if it is an
...
unconstrained reflow
2000-01-30 18:29:52 +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
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
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