karnaze%netscape.com
748ebbcd0d
bug 113424 - mechanism for percent height frames inside table cells to receive special height reflow. sr=attinasi, r=alexsavulov
2001-12-07 14:51:12 +00:00
dbaron%fas.harvard.edu
157c017816
Bug 86947:
...
Make the line list doubly linked and access it through a list class and iterators.
Stop recomputing margins on all of the children of each block in the reflow chain (which causes O(N^2) state recovery during incremental reflow). Instead, add a second dirty bit to the lines and walk backwards through the line list to recompute vertical margins only when either dirty bit is set and the previous line was not reflowed. Add nsIFrame::IsEmpty to identify frames through which margins collapse.
Fix O(N^2) propagation of float damage by maintaining a set of intervals damaged by floats (bug 61962) and be sure to damage the correct areas (bug 48138).
Introduce nsCollapsingMargin to do correct collapsing of combinations of positive and negative margins (bug 50142).
Clean up some odds and ends and fix another smaller O(N^2) problem in nsBlockFrame::AddFrames.
r=attinasi, rbs sr=waterson
2001-10-25 01:08:40 +00:00
gerv%gerv.net
4e12e44b2f
Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
2001-09-28 20:14:13 +00:00
dbaron%fas.harvard.edu
3d51f4ce1a
Split nsHTMLReflowMetrics into a separate file (nsHTMLReflowMetrics.h rather than nsIFrame.h). b=64023 r,sr in {waterson, attinasi}
2001-08-01 01:27:50 +00:00
dbaron%fas.harvard.edu
aa4fec2b67
Header include dependency cleanup. b=64023 r=jag rs=brendan
2001-07-16 02:40:48 +00:00
pierre%netscape.com
9af01acf22
Reinstate my changes that were backed out 10 days ago. #43457 split nsStyleSpacing into 4 smaller structures: nsStyleBorder, nsStylePadding, nsStyleMargin, nsStyleOutline. r=attinasi,sr=buster.
2001-02-07 09:57:26 +00:00
mcafee%netscape.com
7ecf530933
Backing out pierre's change from 1/20 for performance reasons (66263). r=attinasi, a=granrose, phil
2001-01-25 02:58:12 +00:00
pierre%netscape.com
62bf433a35
#43457 split nsStyleSpacing into 4 smaller structures: nsStyleBorder, nsStylePadding, nsStyleMargin, nsStyleOutline. Review=attinasi. Pending Approval: buster.
2001-01-20 22:46:54 +00:00
dbaron%fas.harvard.edu
d05d4bef76
Fix bug 43882 (dogfood+) by removing special handling of empty P elements. (Most of the diffs are whitespace changes.) This also fixes bugs 43369, 43991, and 18050. However, it exposes a few other issues as well (the most important of which, nuking top margins on first *normal flow* children of BODY and TD, was previously fixed only in some cases, but shouldn't be hard to fix in general). r=waterson
2000-06-29 22:03:42 +00:00
dbaron%fas.harvard.edu
70189b60ae
Fix bug 42685, nsbeta2+. Revert percentage width calculations to the way they used to be, except for floats with auto widths. code=buster r=me
2000-06-20 03:47:49 +00:00
buster%netscape.com
08f155815a
fixing a platform compile problem
2000-06-14 23:58:41 +00:00
buster%netscape.com
b5b8e94c24
fixed nsbeta2+ bugs 42138 35772 37657 38157 40283 35964
...
r=waterson, rods
2000-06-14 23:15:59 +00:00
buster%netscape.com
2d8ef163b2
(forgot to check this in)
...
effectively removed area frame
work troy was holding in his tree
r=buster
2000-05-09 05:28:08 +00:00
troy%netscape.com
f8bb168c8f
b=22497. Changed ReflowBlock() to better calculate the x-offset where the
...
table will be positioned
2000-01-26 01:45:47 +00:00
troy%netscape.com
540b3229d3
Reduced stack space by using PRPackedBool instead of PRBool
2000-01-04 02:59:35 +00:00
troy%netscape.com
138fa22a88
Work-in-progress for having maximum width (needed by tables) be updated
...
incrementally
1999-12-30 04:15:45 +00:00
dmose%mozilla.org
5312eacf8c
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
a12c3d6c5d
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
74746dee38
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
kipp%netscape.com
747aed0e8c
Switch to nsIPresContext*'s instead of nsIPresContext&'s
1999-04-20 00:27:08 +00:00
kipp%netscape.com
46e3aa5c2a
Removed some debris; added ComputeCollapsedTopMargin method
1999-04-03 18:58:32 +00:00
kipp%netscape.com
7799a4ecc0
Reflow floater frames using the block reflow context
1999-04-01 01:37:36 +00:00
kipp%netscape.com
bdbcc0f971
Removed compact margin hackery
1999-03-31 04:10:51 +00:00
kipp%netscape.com
60a2733104
Removed cruft; added IsHTMLParagraph method
1999-03-29 23:44:59 +00:00
kipp%netscape.com
318ec8ec90
Moved vertical margin application into here; implement top-margin collapsing logic
1999-03-27 01:22:45 +00:00
kipp%netscape.com
524580850c
Work around 3238 partially until we have a real solution
1999-03-22 20:45:26 +00:00
kipp%netscape.com
c9067260be
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
fb7aed5151
Removed ref to dead nsFrameReflowState
1999-03-05 15:22:03 +00:00
kipp%netscape.com
16b4103937
Minor tweaks to work better with computed values in html reflow state
1999-03-05 04:22:11 +00:00
kipp%netscape.com
36c243cdc0
COMized nsIPresShell and nsIPresContext
1999-02-12 17:45:58 +00:00
troy%netscape.com
7103b076b4
Changed nsHTMLReflowState to compute 'offsets' for relatively positioned
...
elements
1999-01-16 20:58:17 +00:00
troy%netscape.com
e0814be9c7
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
a00a2855e8
Updated
1998-12-05 16:01:11 +00:00
kipp%netscape.com
5841a14537
new
1998-12-01 16:13:49 +00:00