Commit Graph

501 Commits

Author SHA1 Message Date
kipp@netscape.com
74b2988510 COMized nsIPresShell and nsIPresContext 1999-02-12 17:45:58 +00:00
troy@netscape.com
f39b9cee08 API changes for nsIPresContext ResolveStyleContextFor and ResolvePseudoStyleContextFor 1999-02-11 15:56:23 +00:00
troy@netscape.com
861bdc64ee Re-ordered DeleteFrame() code to fix a FMR 1999-02-10 18:12:24 +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
48040900a7 Changed GetParent() to use ** instead of *& 1999-02-10 01:36:30 +00:00
troy@netscape.com
b4f8c0fbbe Changed some nsIFrame member functions to use ** instead of *& for OUT
paremeters
1999-02-10 00:42:56 +00:00
kipp@netscape.com
c9f3a81777 Whacked away nsBaseIBFrame and BLOCK_IS_INLINE cruft 1999-02-09 17:31:33 +00:00
kipp@netscape.com
f9978303b6 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 1999-02-03 19:09:24 +00:00
kipp@netscape.com
e23d502712 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 1999-02-02 17:31:09 +00:00
kipp@netscape.com
e7296c5a4e Fixed invocation bug that mac compiler caught 1999-02-01 19:08:30 +00:00
kipp@netscape.com
a61028027c Implement anonymous block frame code; fixup base class InsertNewFrames to support multiple frame insertion 1999-02-01 17:29:37 +00:00
harishd@netscape.com
943963a478 Passing stylecontext into Paintborder() 1999-01-22 22:25:00 +00:00
troy@netscape.com
f4aebf3e24 Changed nsHTMLReflowState to compute 'offsets' for relatively positioned
elements
1999-01-16 20:58:17 +00:00
kipp@netscape.com
b6974899eb Update List implementations to use GetAdditionalChildLists so that all lists of children are dumped out automatically 1999-01-16 00:19:10 +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
217ab2bc29 Fix for bug #1998. Now we render the background image over the padding area and not over the border area 1999-01-15 18:25:58 +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
80de7a2d9f Replaced "maxSize" member if nsReflowState with "availableWidth" and
"availableHeight"
1999-01-05 23:31:18 +00:00
kipp@netscape.com
2ab1ed0862 Reinstated the last set of checkins that were backed out 1999-01-05 23:01:54 +00:00
donm@netscape.com
a9f0b60647 backing out changes against a long red tree. would like to clear
the hook.  -donm
1999-01-05 18:16:05 +00:00
kipp@netscape.com
91cf16ad06 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 1999-01-05 17:50:41 +00:00
troy@netscape.com
f4c166a287 Moved enum and replaced it with #defines 1999-01-03 00:31:46 +00:00
troy@netscape.com
57c9c45a75 Changed width/height constraints in nsHTMLReflowState struct 1998-12-30 17:50:00 +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
peterl@netscape.com
97d11c8a40 sync to new attribute api 1998-12-20 01:21:23 +00:00
kipp@netscape.com
e14e849e2f Display inline borders/background during content painting, not during background painting (per css2 spec) 1998-12-18 22:12:15 +00:00
kipp@netscape.com
7b0e75e786 Fixed numerous compiler warnings (hopefully) from the mac build 1998-12-18 17:34:34 +00:00
kipp@netscape.com
1e10a83138 Revised frame Paint API 1998-12-18 15:54:23 +00:00
kipp@netscape.com
1a789cb164 Disabled skid marks 1998-12-17 19:10:53 +00:00
kipp@netscape.com
419f53e76c Clean up max-element-size computations; added code to remove empty lines (disabled for now) 1998-12-17 18:52:10 +00:00
kipp@netscape.com
14ed619721 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 1998-12-15 04:20:54 +00:00
kipp@netscape.com
612f7e17ca Fixed rendering problems with lines with outside children; repaired code (currently unused an ifdef'd) to compute the lines outside children state 1998-12-15 00:14:09 +00:00
kipp@netscape.com
4d27071c0e Reworked incremental reflow floater handling to place floaters as their state is recovered instead of moving them 1998-12-12 19:19:11 +00:00
troy@netscape.com
0a48561c18 Changed inline and block reflow code to reset reflow state's isTopOfPage
data member based on whether IsAdjacentWithTop() is true
1998-12-12 17:59:30 +00:00
kipp@netscape.com
2eb034d1f1 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 1998-12-11 22:26:45 +00:00
kipp@netscape.com
29638876b3 Removed bogus assert that was tripping on spacer-frames; fixed up justification behavior (thanks harish!) 1998-12-11 15:49:07 +00:00
troy@netscape.com
4015a88d1f Added new atoms to nsLayoutAtoms for additional named frame child lists 1998-12-09 05:30:17 +00:00
kipp@netscape.com
9bb8ec2b95 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) 1998-12-08 21:43:15 +00:00
kipp@netscape.com
b8766ac411 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 1998-12-08 03:57:12 +00:00
kipp@netscape.com
5c2e298eab 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 1998-12-08 03:47:44 +00:00
kipp@netscape.com
2965e34a8e Disabled fixed height/width ignoring code for shrink-wrap blocks; fixed crash bug with premature deleting of a line 1998-12-07 22:28:55 +00:00
kipp@netscape.com
9220cba14e Major spankage; refactored code; common base class for block/inline frames 1998-12-05 16:02:08 +00:00
troy@netscape.com
f54d525b3d Moved view creation to frame construction code. Also moved wrapping of
floated and absolutely positioned elements to frame construction code
1998-12-04 19:03:44 +00:00
troy@netscape.com
8b3bdce77b Removed explicit call of base class constructor because it was
making Unix compilers unhappy
1998-12-03 07:20:59 +00:00
troy@netscape.com
e602e25924 Added Init() member function to nsIFrame 1998-12-03 06:31:43 +00:00