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
troy@netscape.com
1c8c5e5ffc
Made handling of absolutely positioned child frames more efficient
1999-01-22 00:30:27 +00:00
troy@netscape.com
603e8a66ab
Changed it so the DidReflow() temporary hack doesn't apply to scrolled
...
frames
1999-01-19 06:00:08 +00:00
troy@netscape.com
9143cfb5d3
Changed to position absolute child elements relative to the padding edge not the
...
border edge
1999-01-18 19:30:42 +00:00
troy@netscape.com
0f299599f9
Improvements to absolute positioning code
1999-01-18 17:27:27 +00:00
troy@netscape.com
d767461181
Added 'computedMargin' to nsHTMLReflowState, which replaced the individual
...
margin values (e.g., computedLeftMargin)
1999-01-17 05:43:02 +00:00
troy@netscape.com
955de58fbf
Fixed it so relatively positioned block frames act as containing blocks
...
for absolutely positioned child elements
1999-01-16 22:18:08 +00:00
kipp@netscape.com
b3269a0b93
Removed List code now that base class dumps all child lists
1999-01-16 00:19:30 +00:00