Commit Graph

630 Commits

Author SHA1 Message Date
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
kipp@netscape.com
d82e944a98 Fixed up incremental reflow for content-changed and removed floaters 1998-11-17 01:04:45 +00:00
troy@netscape.com
cafce657d4 Split class declaration out into a separate header file so the body frame
can be a derived class
1998-11-16 17:11:12 +00:00
kipp@netscape.com
c9f4f0c700 Removed extraneous bullet padding that was left-over from the pre-pseudo-style days 1998-11-15 01:17:05 +00:00
kipp@netscape.com
fa12b4c89f Fixed frame-removed crash case (when we run out kids); bug #691 1998-11-14 21:57:38 +00:00
kipp@netscape.com
68e24f6722 Basic support for :first-letter pseudo-elements 1998-11-14 21:01:26 +00:00
kipp@netscape.com
aaee711222 Modified List code to list floater list and bullet better; support multiple child lists; manage floater list properly 1998-11-14 19:28:11 +00:00
troy@netscape.com
458511e568 Cleaned up the way construction of the root frame happens for XML documents.
We no longer create a pseudo root element
1998-11-12 23:03:35 +00:00
kipp@netscape.com
918a0d6af1 Fixed margin collapsing bug 1998-11-12 22:24:46 +00:00
kipp@netscape.com
d14d978d82 Fixed some serious bugs in list bullet placement that prevented some relatively easy cases from working at all; this fixes up most outside list bullet cases 1998-11-12 18:19:22 +00:00
kipp@netscape.com
424acbbd19 Fixed list numbering to work again (whoops!); added support for display: compact (just the beginnings); more work-in-progress for :first-letter support 1998-11-12 16:32:56 +00:00
kipp@netscape.com
9310b3a6fb Added a sleazy implementation of css2's run-in display type 1998-11-11 03:55:55 +00:00
kipp@netscape.com
e4216fcde9 Tidy up by removing some old junky code 1998-11-10 18:03:29 +00:00