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
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
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
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
troy@netscape.com
b729deb712
b=15388,15408 r=peterl@netscape.com
...
Made it so that for absolutely positioned frames we pass in the containing
block width/height to the HTML reflow state, rather than have it compute it.
This means we get a bottom up size rather than a top down size. That fixes
a problem where for containing blocks with a specified 'height' of 'auto' we
weren't correctly calculating the containing block height
1999-10-14 04:56:50 +00:00
troy@netscape.com
478af7d03f
Removed some dead code and moved some #if 0 code from the area frame
...
to the block frame. This completes the previous checkin
1999-10-08 04:45:12 +00:00
troy@netscape.com
efbc5776ce
Frame space reductions. r=kipp@netscape.com
...
Table cell frames and table caption frames now use block frames and not area
frames. This saves 24 bytes per frame instance
1999-10-08 04:32:46 +00:00
troy@netscape.com
6ee4a9bcd5
Moved space manager to block frame and changed it the space manager is
...
temporary only during the reflow process
r=kipp@netscape.com
1999-10-06 22:05:23 +00:00
troy@netscape.com
a9fef807c9
Added SizeOf() handler for space manager
1999-10-02 00:52:01 +00:00
kipp@netscape.com
5dcf39e5dc
Added more (disabled) debug noise
1999-09-17 23:15:53 +00:00
troy@netscape.com
023b278a49
Added nsHTMLReflowState constructor that allows containing block width
...
and height to be specified. This is needed for relatively positioned
block elements
1999-09-16 14:33:19 +00:00
kipp@netscape.com
3bcf10bf5c
Added some spacemanager debugging noise
1999-09-15 00:25:51 +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
troy@netscape.com
b06584d421
Added 'm' prefix to structs defined in nsISpaceManager
1999-07-25 19:01:13 +00:00
troy@netscape.com
84e64beb04
Changed area frame code over to new reflow command handling
1999-07-24 02:37:45 +00:00
troy@netscape.com
d6f5216441
Renamed DeleteFrame() to Destroy()
1999-07-22 02:24:52 +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
d099f27bb5
Tweaked area frame shrink wrapping for bug #5999
1999-07-14 17:26:12 +00:00
troy@netscape.com
c1c9727794
Area frame no longer invalidates its entire bounds after an incremental reflow,
...
and instead it's up to the individual frames to invalidate their damaged areas
1999-07-14 15:15:01 +00:00
troy@netscape.com
8a53b988ac
Fix for bug #9073 . Changed Init() to return NS_ERROR_OUT_OF_MEMORY if we fail
...
to allocate the space manager
1999-07-02 22:45:07 +00:00
troy@netscape.com
12f39926ff
Fix for bug #2062 . When sizing the view, take into account child frames
...
that stick outside the right/bottom edges of the parent's frame
1999-06-29 03:41:58 +00:00
kipp@netscape.com
68aa9f7c60
Reworked frame factory methods; fixed bug 4519
1999-05-11 22:03:29 +00:00
troy@netscape.com
5580a69e4a
New class nsAbsolutelyPositionedContainer
1999-04-16 00:08:59 +00:00
troy@netscape.com
aece50f904
Made things a little more efficient by now making a copy of the reflow state
...
that's passed in, but instead casting the "const" away and setting the space
manager directly
1999-04-13 02:55:54 +00:00
kipp@netscape.com
f607eff1a2
Use block-band-data for debug output
1999-04-10 17:30:46 +00:00
troy@netscape.com
327beff14a
Removed DidReflow() code that's no longer needed now that the new compositor
...
allows child views to extend outside their parent view
1999-04-06 02:41:50 +00:00
kipp@netscape.com
74c9fdfeaf
Whacked paint methods to use new constants
1999-03-26 00:39:35 +00:00
kipp@netscape.com
e2142107cd
Fixed up area frame sizing calculations to properly compute the final height
1999-03-25 03:48:30 +00:00
kipp@netscape.com
fd639a3bac
Use combined-area to compute the final height of the area frame
1999-03-23 04:25:03 +00:00
mcafee@netscape.com
b5445460e9
Uninitialized variable.
1999-03-19 00:20:02 +00:00
kipp@netscape.com
feefe5892b
Fixed bug #2052 - don't adjust the height when its computed
1999-03-08 19:22:16 +00:00
troy@netscape.com
f15bba30e8
Eliminated some code that's no longer needed now that the info is in the
...
HTML reflow state
1999-03-06 01:40:29 +00:00
kipp@netscape.com
4b0544c35e
use new nsHTMLReflowState ctors
1999-03-05 04:19:09 +00:00
troy@netscape.com
ca28eafb7d
Removed nsIFrame::CreateContinuingFrame()
1999-02-25 05:31:15 +00:00
troy@netscape.com
7f63268a34
Changed nsIFrame::Init() to take an additional parameter
1999-02-25 03:27:57 +00:00
karnaze@netscape.com
6e94d70640
added assertion for null peeked frame pointer in Reflow.
1999-02-23 18:06:55 +00:00
karnaze@netscape.com
06716b96b2
better sizing of form controls, especially percentage based sizes and max element sizes
1999-02-23 03:48:01 +00:00
troy@netscape.com
4143f853ab
Added frame-type atoms for area,scroll,viewport,root,page frame classes
1999-02-14 03:47:33 +00:00
troy@netscape.com
87805c7a92
Changed GetNextSibling() to use a pointer argument instead of a reference
1999-02-10 06:13:38 +00:00
troy@netscape.com
655e2cab93
Changed a bunch more nsIFrame member functions to be pointer arguments
...
instead of references
1999-02-10 05:38:18 +00:00
troy@netscape.com
c63560927c
Changed GetAdditionalChildListName() and FirstChild() to use ** instead
...
of *&
1999-02-10 02:25:01 +00:00
troy@netscape.com
887a5a38b6
Fixed a silly error I introduced in the previous check-in
1999-02-09 05:01:11 +00:00
troy@netscape.com
851132b3d0
Fixed a problem where absolutely positioned child frames with an 'auto'
...
offset weren't getting re-positioned during an incremental reflow of the
flowed items
1999-02-09 04:31:09 +00:00
troy@netscape.com
8ffc67a399
Removed #include of header files that weren't actually needed
1999-02-05 01:54:58 +00:00
troy@netscape.com
d907c6317c
Added code to force an absolutely positioned child that ignored its
...
computed height to be the correct height
1999-01-30 18:12:38 +00:00
troy@netscape.com
3ed6a3e68f
Changed Reflow() to make sure we remove the reflow command for
...
incremental reflow commands passing through us
1999-01-22 23:08:42 +00:00