299 Commits

Author SHA1 Message Date
troy%netscape.com
c6590e6940 Re-ordered DeleteFrame() code to fix a FMR
git-svn-id: svn://10.0.0.236/trunk@20269 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 18:12:24 +00:00
troy%netscape.com
bd78450e96 Changed GetNextSibling() to use a pointer argument instead of a reference
git-svn-id: svn://10.0.0.236/trunk@20223 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 06:13:38 +00:00
troy%netscape.com
339afcce8a Changed a bunch more nsIFrame member functions to be pointer arguments
instead of references


git-svn-id: svn://10.0.0.236/trunk@20222 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 05:38:18 +00:00
troy%netscape.com
3635a7c72c Changed GetAdditionalChildListName() and FirstChild() to use ** instead
of *&


git-svn-id: svn://10.0.0.236/trunk@20212 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 02:25:01 +00:00
troy%netscape.com
2af2ec249b Changed GetParent() to use ** instead of *&
git-svn-id: svn://10.0.0.236/trunk@20205 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 01:36:30 +00:00
troy%netscape.com
8934624982 Changed some nsIFrame member functions to use ** instead of *& for OUT
paremeters


git-svn-id: svn://10.0.0.236/trunk@20199 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 00:42:56 +00:00
kipp%netscape.com
7f58c1cf8f Whacked away nsBaseIBFrame and BLOCK_IS_INLINE cruft
git-svn-id: svn://10.0.0.236/trunk@20143 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 17:31:33 +00:00
kipp%netscape.com
a601a24765 Fixup absolute positioning by temporarily generating old style reflow commands when the list-name is not null; temporarily use FrameAppended instead of ReflowDirty for append operations
git-svn-id: svn://10.0.0.236/trunk@19523 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 19:09:24 +00:00
kipp%netscape.com
6641976fe2 Changed base-ib-frame to implement AppendFrames/InsertFrames/RemoveFrame directly; changed args to DoRemoveFrame; updated the anonymous block to have a slightly different method set to manipulate its children
git-svn-id: svn://10.0.0.236/trunk@19329 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 17:31:09 +00:00
kipp%netscape.com
4e2026137a Fixed invocation bug that mac compiler caught
git-svn-id: svn://10.0.0.236/trunk@19186 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 19:08:30 +00:00
kipp%netscape.com
1802215d17 Implement anonymous block frame code; fixup base class InsertNewFrames to support multiple frame insertion
git-svn-id: svn://10.0.0.236/trunk@19167 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 17:29:37 +00:00
harishd%netscape.com
ac07320328 Passing stylecontext into Paintborder()
git-svn-id: svn://10.0.0.236/trunk@18352 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 22:25:00 +00:00
troy%netscape.com
09fde7e34c Changed nsHTMLReflowState to compute 'offsets' for relatively positioned
elements


git-svn-id: svn://10.0.0.236/trunk@17926 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-16 20:58:17 +00:00
kipp%netscape.com
fd7f93dbd7 Update List implementations to use GetAdditionalChildLists so that all lists of children are dumped out automatically
git-svn-id: svn://10.0.0.236/trunk@17896 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-16 00:19:10 +00:00
kipp%netscape.com
4e355995e6 Spanked away SizeOf methods and nsIListFilter
git-svn-id: svn://10.0.0.236/trunk@17895 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-16 00:00:50 +00:00
kipp%netscape.com
1f0fa192a0 Switch to using nsFrameList for frame lists
git-svn-id: svn://10.0.0.236/trunk@17884 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 22:53:39 +00:00
troy%netscape.com
8a00831853 Fix for bug #1998. Now we render the background image over the padding area and not over the border area
git-svn-id: svn://10.0.0.236/trunk@17854 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 18:25:58 +00:00
troy%netscape.com
ecc9f6f19d Removed the content-parent frame pointer. Now we just have the one geometric
parent


git-svn-id: svn://10.0.0.236/trunk@17702 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 05:16:23 +00:00
troy%netscape.com
e69d38cccb Fix for bug #2276, and some initial support for 'right' and 'bottom'
for absolutely positioned elements


git-svn-id: svn://10.0.0.236/trunk@17644 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-13 06:37:31 +00:00
kipp%netscape.com
c5c21eff17 Use new flag defines
git-svn-id: svn://10.0.0.236/trunk@17586 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 16:42:03 +00:00
troy%netscape.com
641be3028f Replaced "maxSize" member if nsReflowState with "availableWidth" and
"availableHeight"


git-svn-id: svn://10.0.0.236/trunk@17201 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-05 23:31:18 +00:00
kipp%netscape.com
39aadedaf7 Reinstated the last set of checkins that were backed out
git-svn-id: svn://10.0.0.236/trunk@17197 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-05 23:01:54 +00:00
donm%netscape.com
afa12446af backing out changes against a long red tree. would like to clear
the hook.  -donm


git-svn-id: svn://10.0.0.236/trunk@17174 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-05 18:16:05 +00:00
kipp%netscape.com
e320144878 Fix handling of removed-child incremental reflow to no longer crash (bug #1941); also disabled incremental behavior for remove and inserted for now so that layout looks correct
git-svn-id: svn://10.0.0.236/trunk@17172 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-05 17:50:41 +00:00
troy%netscape.com
1c810256bf Moved enum and replaced it with #defines
git-svn-id: svn://10.0.0.236/trunk@17075 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-03 00:31:46 +00:00
troy%netscape.com
c22f41cbf9 Changed width/height constraints in nsHTMLReflowState struct
git-svn-id: svn://10.0.0.236/trunk@16998 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-30 17:50:00 +00:00
troy%netscape.com
9a7f94d20b Moved logic that deals with moving absolutely positioned frames out of the
flow to the frame construction code


git-svn-id: svn://10.0.0.236/trunk@16924 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-29 03:38:16 +00:00
peterl%netscape.com
52a0043631 sync to new attribute api
git-svn-id: svn://10.0.0.236/trunk@16723 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-20 01:21:23 +00:00
kipp%netscape.com
275833b30d Display inline borders/background during content painting, not during background painting (per css2 spec)
git-svn-id: svn://10.0.0.236/trunk@16682 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 22:12:15 +00:00
kipp%netscape.com
d3035fbd10 Fixed numerous compiler warnings (hopefully) from the mac build
git-svn-id: svn://10.0.0.236/trunk@16673 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 17:34:34 +00:00
kipp%netscape.com
eaee82d4b3 Revised frame Paint API
git-svn-id: svn://10.0.0.236/trunk@16666 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 15:54:23 +00:00
kipp%netscape.com
1601fdb733 Disabled skid marks
git-svn-id: svn://10.0.0.236/trunk@16590 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 19:10:53 +00:00
kipp%netscape.com
c5f1d3ba49 Clean up max-element-size computations; added code to remove empty lines (disabled for now)
git-svn-id: svn://10.0.0.236/trunk@16582 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 18:52:10 +00:00
kipp%netscape.com
d2b528951f Moved floater reflow out of PlaceFloater and into AddFloater so that floaters are only reflowed during reflow, not during placement; Added code to support css 10.3.5; reflow floaters more often so that % width values are recomputed properly
git-svn-id: svn://10.0.0.236/trunk@16411 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 04:20:54 +00:00
kipp%netscape.com
c2218cb81a Fixed rendering problems with lines with outside children; repaired code (currently unused an ifdef'd) to compute the lines outside children state
git-svn-id: svn://10.0.0.236/trunk@16380 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 00:14:09 +00:00
kipp%netscape.com
85576f2757 Reworked incremental reflow floater handling to place floaters as their state is recovered instead of moving them
git-svn-id: svn://10.0.0.236/trunk@16319 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 19:19:11 +00:00
troy%netscape.com
6d649a1f27 Changed inline and block reflow code to reset reflow state's isTopOfPage
data member based on whether IsAdjacentWithTop() is true


git-svn-id: svn://10.0.0.236/trunk@16315 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 17:59:30 +00:00
kipp%netscape.com
3c1b246951 Compute correct Y coordinate after clear floaters; fixed bullet positioning bug when placing a bullet next to a block frame that has a carried-out top margin
git-svn-id: svn://10.0.0.236/trunk@16275 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 22:26:45 +00:00
kipp%netscape.com
d8afc6ef07 Removed bogus assert that was tripping on spacer-frames; fixed up justification behavior (thanks harish!)
git-svn-id: svn://10.0.0.236/trunk@16244 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 15:49:07 +00:00
troy%netscape.com
0a0b7ae6b0 Added new atoms to nsLayoutAtoms for additional named frame child lists
git-svn-id: svn://10.0.0.236/trunk@16032 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 05:30:17 +00:00
kipp%netscape.com
5014326024 Factored out the block-band-data class; fixed a bug with treating block objects that weren't really nsBlockFrame's like they were (bug #1713)
git-svn-id: svn://10.0.0.236/trunk@15991 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 21:43:15 +00:00
kipp%netscape.com
14ec540a13 Fixed bug #1621 - if a floater was too wide and it was right aligned it would end up positioned off the left edge of the block
git-svn-id: svn://10.0.0.236/trunk@15961 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 03:57:12 +00:00
kipp%netscape.com
9e360eec32 Removed check for a band count of when when clearing floaters because if the floater is large the band may only have one trapezoid in it
git-svn-id: svn://10.0.0.236/trunk@15959 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 03:47:44 +00:00
kipp%netscape.com
2c0c8a72a7 Disabled fixed height/width ignoring code for shrink-wrap blocks; fixed crash bug with premature deleting of a line
git-svn-id: svn://10.0.0.236/trunk@15938 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 22:28:55 +00:00
kipp%netscape.com
6771fa0a98 Major spankage; refactored code; common base class for block/inline frames
git-svn-id: svn://10.0.0.236/trunk@15842 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 16:02:08 +00:00
troy%netscape.com
89bd61bdf7 Moved view creation to frame construction code. Also moved wrapping of
floated and absolutely positioned elements to frame construction code


git-svn-id: svn://10.0.0.236/trunk@15793 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 19:03:44 +00:00
troy%netscape.com
f511034628 Removed explicit call of base class constructor because it was
making Unix compilers unhappy


git-svn-id: svn://10.0.0.236/trunk@15685 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 07:20:59 +00:00
troy%netscape.com
01f27b2a31 Added Init() member function to nsIFrame
git-svn-id: svn://10.0.0.236/trunk@15682 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 06:31:43 +00:00
kipp%netscape.com
8212a41c48 Disable fixed behavior when we are shrink wrapping so that floating tables (for example) can ignore their width if necessary
git-svn-id: svn://10.0.0.236/trunk@15055 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 22:24:20 +00:00
kipp%netscape.com
18ec528130 Added support for StyleChanged reflow reason
git-svn-id: svn://10.0.0.236/trunk@15020 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 17:41:44 +00:00