Commit Graph

102 Commits

Author SHA1 Message Date
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
kipp@netscape.com
b1fe154193 Spanked away SizeOf methods and nsIListFilter 1999-01-16 00:00:50 +00:00
kipp@netscape.com
2aa8f0964e Switch to using nsFrameList for frame lists 1999-01-15 22:53:39 +00:00
troy@netscape.com
62b64b2067 Removed the content-parent frame pointer. Now we just have the one geometric
parent
1999-01-14 05:16:23 +00:00
troy@netscape.com
592b9af63f Fix for bug #2276, and some initial support for 'right' and 'bottom'
for absolutely positioned elements
1999-01-13 06:37:31 +00:00
kipp@netscape.com
0e7babe4ef Use new flag defines 1999-01-12 16:42:03 +00:00
troy@netscape.com
21574143ee Added support for 'right' and 'bottom' properties. Changed to using a
nsStyleSides struct to hold all the offsets
1999-01-08 04:47:46 +00:00
troy@netscape.com
492feac396 Changed to handle FrameRemoved reflow command for an absolutely positioned
child frame
1999-01-07 05:46:26 +00:00
troy@netscape.com
80de7a2d9f Replaced "maxSize" member if nsReflowState with "availableWidth" and
"availableHeight"
1999-01-05 23:31:18 +00:00
troy@netscape.com
983f56af1b Changed nsISpaceManager interface to conform to XP-COM conventions on
return values
1999-01-04 04:54:33 +00:00
troy@netscape.com
6f9192bec1 Moved logic that deals with moving absolutely positioned frames out of the
flow to the frame construction code
1998-12-29 03:38:16 +00:00