karnaze@netscape.com
d94f7cf2db
bug 157915 - Use the parent of the continued frame when calling DeleteChildsNextInFlow. sr=kin, r=alexsavulov
2002-09-24 22:13:20 +00:00
dbaron@fas.harvard.edu
d7ebbb7e37
Split strict mode into almost-standards and full-standards mode, where the only quirk in almost standards mode is the quirky inline box model. Remove previous fix for bug 151620. Tweak mode detection to use almost-standards for XHTML Transitional, HTML 4.01 transitional with system ID, and for IBM system DOCTYPE. b=153032 r=karnaze, bzbarsky, harishd sr=waterson
2002-06-25 21:16:17 +00:00
karnaze@netscape.com
7ce5d8ded3
bug 145305 - split floaters during printing. sr=attinasi, r=alexsavulov.
2002-05-28 22:50:43 +00:00
jdunn@netscape.com
7ca6c7c1f5
AIX's new compiler, xlC5.x, doesn't allow the use of "friend" to declare
...
a function prototype. So we have to decare the function and then
declare it a friend. When Default arguments are used, they need to
be specified in the function prototype and NOT in the friend declaration.
# 43311
r=dbaron@fas.harvard.edu
2002-01-10 14:16:05 +00:00
bzbarsky@mit.edu
aa00eb2f47
Use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2 where possible
...
(i.e. where the string is a literal). Bug 104159, r=jag, sr=alecf
2001-11-14 01:33:42 +00:00
dbaron@fas.harvard.edu
4b1de618fc
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
58d409fba9
Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
2001-09-28 20:14:13 +00:00
karnaze@netscape.com
5b7e018561
bug 68998 - added extra param to Paint, PaintChild, PaintChildren used by tables in standard mode. sr=waterson, r=alexsavulov.
2001-09-19 12:35:19 +00:00
hyatt@netscape.com
9a7a1b27f7
Implementing a generalized recycler and arena for all layout frames. Hoping to improve
...
bug #9489 . Should also definitely fix bug #15916 . r=troy
1999-12-04 23:49:50 +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
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
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
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
0d0c583aac
Updated SizeOf methods to not waste space when doing a non-debug build
1999-09-01 01:02:16 +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
4859e5599a
Implement List method
1999-05-03 20:54:24 +00:00
troy@netscape.com
bea198607e
Removed ContentChanged() and AttributeChanged() which are no longer need
...
now that GetPrimaryFrameFor() always returns the out-of-flow frame
1999-04-25 16:59:39 +00:00
troy@netscape.com
d1f82ae146
Added GetFrameType() and renamed GetAnchoredItem() to GetOutOfFrameFlow()
1999-04-23 14:34:48 +00:00
kipp@netscape.com
1e10a83138
Revised frame Paint API
1998-12-18 15:54:23 +00:00
troy@netscape.com
e602e25924
Added Init() member function to nsIFrame
1998-12-03 06:31:43 +00:00
kipp@netscape.com
f6502df0e2
Added DumpRegressionData; revised ListTag; added GetFrameName
1998-11-19 17:22:29 +00:00
kipp@netscape.com
a7b922a26e
Removed DidReflow hack again
1998-11-17 01:03:41 +00:00
troy@netscape.com
b9de18f689
Reinstated hack to have the placeholder frame forward the DidReflow() notification
...
to the floated frame. Needed until the block frame properly handles FirstChild()
and returns the list of floated frames
1998-11-16 18:33:21 +00:00
kipp@netscape.com
f05653e4d4
Removed hacks that were mostly block-frame bug workarounds
1998-11-14 19:26:57 +00:00
troy@netscape.com
752a86c0c8
Added a hack to make sure that the floated frame gets a DidReflow notification
1998-11-07 00:03:45 +00:00
troy@netscape.com
22de3a2020
Added some temporary code to ensure that the floated frame is deleted
1998-11-02 23:57:25 +00:00
troy@netscape.com
b2e0291027
Removed nsIInlineReflow and folded it into nsIHTMLReflow
1998-10-03 04:28:05 +00:00
troy@netscape.com
ee0a3c543f
Eliminated nsIRunaround interface, and folded space manager parameter into
...
nsHTMLReflowState structure
1998-10-02 04:10:00 +00:00
troy@netscape.com
942c471f56
Separated reflow process out of nsIFrame and into nsIFrameReflow. Also
...
added nsIHTMLReflow, which is an HTML specific reflow interface
1998-10-01 04:46:11 +00:00
peterl@netscape.com
d09a2186f8
moved attribute change code to style sheete
...
cleaned up content change api
1998-09-29 23:48:07 +00:00
vidur@netscape.com
bf7ad2180f
Fixed image.src=. Forwarded AttributeChanged notifications from nsPlaceholderFrame to its anchored item. Got rid of redundant calls to AttributeChanged.
1998-09-28 21:22:31 +00:00
troy@netscape.com
b85a51e775
Moved ContentReplaced() handler code to style system
1998-09-25 22:47:00 +00:00
troy@netscape.com
e78f443a85
Moved ContentDeleted() document notification code to the style system which
...
generates the reflow command
1998-09-25 05:13:06 +00:00
troy@netscape.com
fbceedcd4d
Removed some XXX CONSTRUCTION code that was work-in-progress, but is
...
no longer needed
1998-09-24 03:49:45 +00:00
troy@netscape.com
ef8db633a3
Removed content delegates
1998-09-18 17:18:37 +00:00
troy@netscape.com
78e0fc7eb6
Removed some code that's no longer needed with the new frame construction code
1998-09-18 00:04:55 +00:00
kipp@netscape.com
e3168a572d
Removed css/layout directory
1998-09-15 00:19:49 +00:00
troy@netscape.com
c05c0c93ce
Container floated elements are now wrapped in a BODY frame
1998-09-14 04:01:08 +00:00
troy@netscape.com
0f2ea4b7ca
Changed new frame construction code to handle floaters
1998-09-11 04:13:29 +00:00
troy@netscape.com
1709774e40
Phase one of frame construction changes
1998-09-10 19:32:14 +00:00
kipp@netscape.com
25d3203f1e
Made placeholders implement nsIInlineReflow so that their existance wouldn't screw up whitespace compression
1998-07-29 04:05:49 +00:00
kipp@netscape.com
1807ad8377
Implement paint method
1998-07-16 23:32:04 +00:00
troy
26b49b4476
Changed Reflow() member function to take a reference to a nsIPresContext
...
instead of a pointer
1998-07-15 02:53:09 +00:00
troy
3c4918f1b2
Changed anchor frames to forward content notifications to the real frame
1998-06-30 21:35:07 +00:00
troy
f83ed1e9d3
Changed block to do the initial reflow of a floater. Also fixed a problem
...
with floated tables crashing
1998-06-10 05:33:38 +00:00
kipp
46ff2c5378
Work around body bug with placeholder code to avoid dup free's of placeholder's child frame
1998-06-04 21:04:50 +00:00
kipp
bb5b84ec82
Made a subclass of nsContainerFrame to deal with PropogateContentOffsets because placeholders contain pseudo-frames
1998-06-04 17:52:02 +00:00
troy
6d58ced37d
Work in progress for floaters to handle percentage based
...
width/height
1998-06-01 19:56:58 +00:00
troy
a2007efe9a
Added 'ns' prefix to class name
1998-05-28 02:37:37 +00:00
troy
bb67652981
Merged ResizeReflow() and IncrementalReflow() into one Reflow() member function
1998-05-25 17:31:49 +00:00