Commit Graph

130 Commits

Author SHA1 Message Date
troy@netscape.com
7d57a590c9 Renamed Init() to SetInitialChildList() and added an additional parameter
for the name of the child list
1998-11-10 06:05:32 +00:00
troy@netscape.com
b04ee51233 First of a few changes to allow frames to have multiple child lists.
FirstChild() now takes an additional argument which is the name of the
child list.
1998-11-09 19:40:27 +00:00
kipp@netscape.com
1288b8acee Disabled some more dubious br/margin code 1998-11-09 17:54:37 +00:00
kipp@netscape.com
84741ec09a Fixed nowrap support by computing max-element-size better 1998-11-06 02:09:21 +00:00
kipp@netscape.com
5d6a29cb8b Temporary fix to get rid of the green text 1998-11-05 19:38:32 +00:00
kipp@netscape.com
534932a593 Fixed a few more floater bugs; fixed incremental reflow bug with regards to BR tags (clear=all for example); support :first-line properly; work in progress on :first-letter 1998-11-05 19:33:01 +00:00
peterl@netscape.com
e74acd9aca sync to style resolution api changes 1998-11-03 20:33:43 +00:00
troy@netscape.com
d53f9c0403 Renamed HaveConstrainedWidth() and HaveConstrainedHeight() to HaveFixedContentWidth()
and HaveFixedContentHeight()
1998-11-01 01:29:00 +00:00
kipp@netscape.com
9fa63920c0 nit changes 1998-10-31 22:53:00 +00:00
kipp@netscape.com
8c817beaf5 Reworked floater support somewhat now that blocks manage them instead of body frames; fixed up painting to use the outside-children data; support the visibility property; fixed bug #624,#628 1998-10-30 22:10:10 +00:00
michaelp@netscape.com
70e988371d changes to support nsIRenderingContext that conforms to COM conventions. 1998-10-30 02:08:25 +00:00
kipp@netscape.com
fb030af0d8 Added justification support 1998-10-27 16:51:02 +00:00
buster@netscape.com
32ce4bf92c changed base code so only frames with 0 width AND 0 height are ignored.
this fixes http://home.netscape.com among others that use content-free
nested tables to generate background colors and other evil tricks.
1998-10-22 22:00:50 +00:00
kipp@netscape.com
f04b778a64 Use TextRun API instead of no-longer public variables 1998-10-20 00:21:54 +00:00
kipp@netscape.com
522664b45c Use :BULLET style information to place bullets instead of hard coding off of the padding (Bug #1119) 1998-10-16 22:39:11 +00:00
kipp@netscape.com
186131c784 Support CSS2 floater placement by not allowing them on top of each other; fixed a bug with floater incemental reflow and spacemanager management 1998-10-16 20:22:39 +00:00
kipp@netscape.com
916d9af6e1 Support clear attribute on floaters; nicer ListTag method 1998-10-15 23:27:12 +00:00
kipp@netscape.com
3bd593cd49 Create views when necessary; fixed code to avoid IsLeftMostChild when checking during flow floater placement (now that the childs rect is deferred until vertical alignment the code in IsLeftMostChild is no longer valid) 1998-10-14 20:10:08 +00:00
kipp@netscape.com
d0528d3863 Update frame count when frames are pushed to a new line so that alignment behaves properly 1998-10-12 18:43:07 +00:00
kipp@netscape.com
a16b0dd7bf Removed nsCSSLayout::GetStyleSize and converted callers to use state in the html reflow state 1998-10-12 17:00:32 +00:00
kipp@netscape.com
9f8e72a224 Added an nsIPresContext& to html-reflow-state's ctors and used it to implement better percentage width/height handling 1998-10-12 14:48:02 +00:00
kipp@netscape.com
47bed0616b Pass through text-runs to the line layout engine; removed a debug printf 1998-10-10 04:33:06 +00:00
kipp@netscape.com
b2c5b6c94e Removed skid marks; implement FindTextRuns again 1998-10-09 23:46:02 +00:00
kipp@netscape.com
9dadfb6ae3 Mork work on floaters; support for clear style property 1998-10-09 22:58:25 +00:00
troy@netscape.com
effa132f8d Removed GetContentIndex() from nsIFrame 1998-10-08 20:35:16 +00:00
kipp@netscape.com
15cce0bca5 Disabled overflow:visible handling for now 1998-10-06 21:00:58 +00:00
kipp@netscape.com
d7d7598f02 Cleaned up margin handling some more; added flags to control behavior of the block frame; fixed table reflow bug 1998-10-06 00:38:56 +00:00
troy@netscape.com
b2e0291027 Removed nsIInlineReflow and folded it into nsIHTMLReflow 1998-10-03 04:28:05 +00:00
kipp@netscape.com
6461e851ac Preliminary support for negative top/bottom margins 1998-10-03 00:17:44 +00:00
kipp@netscape.com
27734d23e6 Reworked vertical margin collapsing 1998-10-02 21:50:53 +00:00
troy@netscape.com
ee0a3c543f Eliminated nsIRunaround interface, and folded space manager parameter into
nsHTMLReflowState structure
1998-10-02 04:10:00 +00:00
michaelp@netscape.com
1512e93ea2 modified for new fontmetrics/renderingcontext. 1998-10-02 01:12:39 +00:00
troy@netscape.com
942c471f56 Separated reflow process out of nsIFrame and into nsIFrameReflow. Also
added nsIHTMLReflow, which is an HTML specific reflow interface
1998-10-01 04:46:11 +00:00
kipp@netscape.com
744d3b8e1d Add in a bottom-line-margin when dealing with a zero-height line that contains a BR frame 1998-09-29 22:32:56 +00:00
troy@netscape.com
3617f0d119 Added back in support for absolutely positioned frames 1998-09-29 04:47:59 +00:00
kipp@netscape.com
8793477e2d Changed factory method to parameterize the shrink wrapping behavior 1998-09-29 03:44:25 +00:00
troy@netscape.com
1f46553277 Fixed some bustage I introduced with the factoring 1998-09-29 02:18:09 +00:00
troy@netscape.com
4ac1536210 Partially enabled support for absolutely positioned elements 1998-09-28 23:24:37 +00:00
kipp@netscape.com
d7300cf2b7 Cleaned up and repaired floater placement and spacemanager manipulation; the comments clearly (hopefully!) state whats going on... 1998-09-28 18:50:59 +00:00
kipp@netscape.com
0e6ee3ed62 Fixed up list ordinal handling so that negatives don't work for roman numerals or for alphabetics, and that alphabetics count properly (a==1); this fixes bugzilla bug#589 1998-09-26 20:05:09 +00:00
kipp@netscape.com
437d2faf92 use image-loader call back to trigger bullet frame reflows 1998-09-26 18:36:01 +00:00
kipp@netscape.com
73ce388bce Use modified css rendering API 1998-09-26 17:17:20 +00:00
kipp@netscape.com
02a16030ba Fixed memory leak (bug #910) 1998-09-26 00:37:26 +00:00
kipp@netscape.com
ad40fa6ba1 Added support for percentage base margins to the root, root-content and block frames 1998-09-25 23:47:59 +00:00
kipp@netscape.com
99807413ef Support break-before/after for block frames 1998-09-25 17:50:09 +00:00
kipp@netscape.com
d00fc617ea Support (weakly) style-changed reflow and fixup naming of frame-removed methods 1998-09-25 16:10:10 +00:00
troy@netscape.com
e78f443a85 Moved ContentDeleted() document notification code to the style system which
generates the reflow command
1998-09-25 05:13:06 +00:00
kipp@netscape.com
38128ea452 Removed bullet pseudo-content and instead use pseudo style to process bullets properly 1998-09-24 21:32:39 +00:00
kipp@netscape.com
ef1ca723e1 Fixed block's max-element-size computation for child inline frames 1998-09-24 17:47:25 +00:00
troy@netscape.com
fbceedcd4d Removed some XXX CONSTRUCTION code that was work-in-progress, but is
no longer needed
1998-09-24 03:49:45 +00:00