Commit Graph

742 Commits

Author SHA1 Message Date
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
kipp@netscape.com
4ad810bb50 Disable fixed behavior when we are shrink wrapping so that floating tables (for example) can ignore their width if necessary 1998-11-20 22:24:20 +00:00
kipp@netscape.com
eed5eb2685 Added support for StyleChanged reflow reason 1998-11-20 17:41:44 +00:00
kipp@netscape.com
e2bbe14888 Use revised API's to get percentage padding/borders value right 1998-11-20 17:18:58 +00:00
kipp@netscape.com
0c8ca78cea Override FrameForPoint so that floaters/bullets get events 1998-11-19 18:09:57 +00:00
kipp@netscape.com
f6502df0e2 Added DumpRegressionData; revised ListTag; added GetFrameName 1998-11-19 17:22:29 +00:00
troy@netscape.com
5fd6360208 Fixed it so that we don't ignore painting child frames of a parent frame
thas has "visibility:hidden", because child elements can override their
parent's visibility
1998-11-19 03:52:29 +00:00
troy@netscape.com
9c61a7bca1 Added some constants to use when referring to child list name indices 1998-11-18 06:13:58 +00:00
joki@netscape.com
249a270b84 Reworking internal event code to use nsIFrame::GetFrameForPoint
Adding new functionality through nsEventStateManager (cursor change, enter/exit events, tab navig)
1998-11-18 05:25:26 +00:00
kipp@netscape.com
a3695794ee Revised max-element-size computation somewhat so that floaters are accounted for better 1998-11-17 22:28:51 +00:00