troy%netscape.com
60471abd92
b=21657 a=chofmann@netscape.com Made "overflow list" a full fledged
...
child list and changed ReparentFrameView() to check it.
git-svn-id: svn://10.0.0.236/trunk@58373 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-22 01:16:50 +00:00
nisheeth%netscape.com
990dc941ec
r=troy. Changed block, inline, and text frames to call the parent's ReflowDirtyChild() method instead of generating reflow commands.
...
git-svn-id: svn://10.0.0.236/trunk@58221 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 03:58:05 +00:00
nisheeth%netscape.com
8978d5a35b
r=troy. nsContainerFrame::ReflowDirtyChild() always generates a reflow command targeted at its child. nsInlineFrame::ReflowDirtyChild() always passes up the reflow request to its parent. nsBlockFrame::ReflowDirtyChild() no longer has code for checking whether its parent is an area frame.
...
git-svn-id: svn://10.0.0.236/trunk@57571 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-12 21:52:58 +00:00
nisheeth%netscape.com
59dbaae9fb
r=troy. Reflow commands are now coalesced by block and inline frames. This fixes bug 985 in which we now generate 6 reflow commands instead of 257.
...
git-svn-id: svn://10.0.0.236/trunk@57522 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-12 08:28:24 +00:00
troy%netscape.com
a9936ebc11
Added new #define NS_SHRINKWRAPWIDTH that specifies that a frame should
...
shrink wrap its width (paying attention to the maximum computed width). Mostly
complete implementation for block frames
git-svn-id: svn://10.0.0.236/trunk@56652 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-03 04:32:13 +00:00
troy%netscape.com
52084caad8
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
git-svn-id: svn://10.0.0.236/trunk@55424 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-06 15:49:53 +00:00
hyatt%netscape.com
7e24c61109
Implementing a generalized recycler and arena for all layout frames. Hoping to improve
...
bug #9489 . Should also definitely fix bug #15916 . r=troy
git-svn-id: svn://10.0.0.236/trunk@55321 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 23:49:50 +00:00
tbogard%aol.net
ae5a81e394
Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc
...
git-svn-id: svn://10.0.0.236/trunk@54392 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 06:03:41 +00:00
dmose%mozilla.org
92d791b7b0
updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@52908 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:40:37 +00:00
troy%netscape.com
3513334988
Moved a bunch of stuff out to a nsIFrameDebug interface
...
git-svn-id: svn://10.0.0.236/trunk@52427 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-01 22:12:45 +00:00
kipp%netscape.com
2cabf1bf40
Disabled debug noise I accidently checked in (whoops!)
...
git-svn-id: svn://10.0.0.236/trunk@52387 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-01 15:31:04 +00:00
kipp%netscape.com
63ae90acca
r=troy; reworked the way that blocks inside of inline elements are handled. It's all in the frame construction code now (bugs 15999, 16737)
...
git-svn-id: svn://10.0.0.236/trunk@52385 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-01 15:24:57 +00:00
troy%netscape.com
88c4d96e2c
Folded reflow functions into nsIFrame and eliminated nsIFrameReflow and
...
nsIHTMLReflow. This saves 4 bytes per frame and cleans things up
git-svn-id: svn://10.0.0.236/trunk@52309 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-30 02:52:11 +00:00
troy%netscape.com
bd46e7911f
Changed SetView/GetView to take an additional argument which is the
...
pres context
git-svn-id: svn://10.0.0.236/trunk@51822 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-26 04:44:41 +00:00
troy%netscape.com
d16381b6f3
Removed 5 convenience functions from nsIFrame
...
git-svn-id: svn://10.0.0.236/trunk@51531 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-22 14:53:52 +00:00
troy%netscape.com
dced08401d
r=kipp@netscape.com
...
Added API to get/set properties on frames. Also changed nsContainerFrame
to use a property to implement the frame overflow list. This saves 4 bytes
per container frames
git-svn-id: svn://10.0.0.236/trunk@51358 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-21 05:11:43 +00:00
kipp%netscape.com
76b98f20a7
Factored common code into a single method (UseComputedHeight)
...
git-svn-id: svn://10.0.0.236/trunk@50509 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 23:25:49 +00:00
troy%netscape.com
4d5ed09a1f
Added nsHTMLReflowState constructor that allows containing block width
...
and height to be specified. This is needed for relatively positioned
block elements
git-svn-id: svn://10.0.0.236/trunk@47787 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-16 14:33:19 +00:00
kipp%netscape.com
355616b87d
Cleaned up
...
git-svn-id: svn://10.0.0.236/trunk@46626 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-09 21:04:00 +00:00
peterl%netscape.com
791d9a651c
added reparent style context
...
git-svn-id: svn://10.0.0.236/trunk@45965 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 23:35:41 +00:00
kipp%netscape.com
04fe27cc63
Implement fix for bug #5821 as per dbaron's suggestion
...
git-svn-id: svn://10.0.0.236/trunk@45819 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 03:47:49 +00:00
kipp%netscape.com
eea3ab916a
Updated SizeOf methods to not waste space when doing a non-debug build
...
git-svn-id: svn://10.0.0.236/trunk@45397 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 01:02:16 +00:00
kipp%netscape.com
c9002f20df
Reimplemented SizeOf methods in some of the frame classes; partial rework of first-line handling snapshot
...
git-svn-id: svn://10.0.0.236/trunk@45274 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 03:09:40 +00:00
troy%netscape.com
0dfa8ffb99
Fixed a place I had missed when converting over to the new reflow command
...
handling
git-svn-id: svn://10.0.0.236/trunk@42963 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-10 14:28:27 +00:00
troy%netscape.com
448fbdd0ee
Changed area frame code over to new reflow command handling
...
git-svn-id: svn://10.0.0.236/trunk@40955 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-24 02:37:45 +00:00
troy%netscape.com
a314bc3877
Renamed some nsFrameList member functions
...
git-svn-id: svn://10.0.0.236/trunk@40595 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 04:00:57 +00:00
troy%netscape.com
947927e816
Renamed DeleteFrame() to Destroy()
...
git-svn-id: svn://10.0.0.236/trunk@40585 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 02:24:52 +00:00
troy%netscape.com
8d07a8a962
Added 'm' prefix to a couple more data members of nsHTMLReflowState struct
...
git-svn-id: svn://10.0.0.236/trunk@40217 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-20 03:51:46 +00:00
kipp%netscape.com
1ff6d04d8d
Clean up warnings
...
git-svn-id: svn://10.0.0.236/trunk@39304 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 17:28:45 +00:00
mcafee%netscape.com
838a51c0f7
Adding BeOS case.
...
git-svn-id: svn://10.0.0.236/trunk@37017 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-26 07:28:55 +00:00
kipp%netscape.com
de60169b67
Reworked frame factory methods; fixed bug 4519
...
git-svn-id: svn://10.0.0.236/trunk@31154 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 22:03:29 +00:00
kipp%netscape.com
9c077b6eb7
Support first letter reflow
...
git-svn-id: svn://10.0.0.236/trunk@29550 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-27 22:12:37 +00:00
troy%netscape.com
e270bfc79e
Changed nsPositionedInlineFrame::Reflow() to compute the desired size
...
by calling nsInlineReflow::Reflow() with a 'resize' reflow reason when
handling an incremental reflow of an absolutely positioned child element
git-svn-id: svn://10.0.0.236/trunk@28521 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 21:02:45 +00:00
kipp%netscape.com
cf2d143219
Added some (disabled) logging
...
git-svn-id: svn://10.0.0.236/trunk@28497 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 19:58:50 +00:00
troy%netscape.com
4a4c187d41
Changed nsPositionedInlineFrame code to handle incremental reflow
...
git-svn-id: svn://10.0.0.236/trunk@28430 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 04:37:13 +00:00
troy%netscape.com
a6d186c6df
Added GetFrameType() member function
...
git-svn-id: svn://10.0.0.236/trunk@28283 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 19:11:37 +00:00
troy%netscape.com
90360929e5
Change to atoms
...
git-svn-id: svn://10.0.0.236/trunk@28265 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 18:22:28 +00:00
kipp%netscape.com
c8c179e2a5
Make build work on mac
...
git-svn-id: svn://10.0.0.236/trunk@28202 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 01:49:51 +00:00
kipp%netscape.com
3218228deb
Added nsFirstLineFrame subclass; move class decl out to header file
...
git-svn-id: svn://10.0.0.236/trunk@28178 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 00:25:12 +00:00
troy%netscape.com
f64953d0e3
Work-in-progress for making relatively positioned inline-level elements a
...
container for absolutely positioned child elements
git-svn-id: svn://10.0.0.236/trunk@28052 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 19:10:15 +00:00
troy%netscape.com
bca10111d4
Removed Join() function from nsFrameList, because we already has a version
...
of AppendFrames() that did the same exact thing
git-svn-id: svn://10.0.0.236/trunk@27241 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 00:06:17 +00:00
troy%netscape.com
a40295762e
Added ReparentFrameView() and changed the block and inline code
...
to call it when pushing/pulling frames
git-svn-id: svn://10.0.0.236/trunk@27086 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-11 04:22:00 +00:00
kipp%netscape.com
576704347f
Fixed bug 4801
...
git-svn-id: svn://10.0.0.236/trunk@27030 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 17:32:46 +00:00
kipp%netscape.com
e872d240b1
Eliminate speculative-top-margin cruft; use new block reflow context API
...
git-svn-id: svn://10.0.0.236/trunk@25295 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 01:23:30 +00:00
kipp%netscape.com
a8dd90181c
Undo partial fix for 3882 since its a bad fix
...
git-svn-id: svn://10.0.0.236/trunk@25156 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 00:40:37 +00:00
kipp%netscape.com
b3eb9068ee
Support (ever so slightly better) anonymous block reflow by returning a zero sized inline frame when wrapping an anonymous block - partial fix for bug #3882
...
git-svn-id: svn://10.0.0.236/trunk@25053 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 03:50:34 +00:00
kipp%netscape.com
83f5d0de70
Spanked to collapse inline-reflow with line-layout into line-layout; fixed bugs #1278 , #1990 , #3527 , #1670 , etc.
...
git-svn-id: svn://10.0.0.236/trunk@24321 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 21:03:25 +00:00
kipp%netscape.com
15f605def7
Handle removable of continued frames better (not 100% done) (bug #3262 )
...
git-svn-id: svn://10.0.0.236/trunk@24216 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-16 19:36:24 +00:00
kipp%netscape.com
b37f5e28cc
Added a skid mark (disabled)
...
git-svn-id: svn://10.0.0.236/trunk@23184 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 19:26:09 +00:00
kipp%netscape.com
15c4920b73
use computed values from reflow state; made inline-reflow-state no longer isa html-reflow-state
...
git-svn-id: svn://10.0.0.236/trunk@22844 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 04:25:57 +00:00