632 Commits

Author SHA1 Message Date
kipp%netscape.com
30c4a39a11 Added a sleazy implementation of css2's run-in display type
git-svn-id: svn://10.0.0.236/trunk@14408 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 03:55:55 +00:00
kipp%netscape.com
c3a39b9634 Tidy up by removing some old junky code
git-svn-id: svn://10.0.0.236/trunk@14343 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-10 18:03:29 +00:00
troy%netscape.com
1c0da71da3 Renamed Init() to SetInitialChildList() and added an additional parameter
for the name of the child list


git-svn-id: svn://10.0.0.236/trunk@14333 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-10 06:05:32 +00:00
troy%netscape.com
cdf69643a6 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.


git-svn-id: svn://10.0.0.236/trunk@14289 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-09 19:40:27 +00:00
kipp%netscape.com
fddf21d369 Disabled some more dubious br/margin code
git-svn-id: svn://10.0.0.236/trunk@14285 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-09 17:54:37 +00:00
kipp%netscape.com
87999ea1e6 Fixed nowrap support by computing max-element-size better
git-svn-id: svn://10.0.0.236/trunk@14186 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-06 02:09:21 +00:00
kipp%netscape.com
ba1490b848 Temporary fix to get rid of the green text
git-svn-id: svn://10.0.0.236/trunk@14154 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-05 19:38:32 +00:00
kipp%netscape.com
d5112be2e6 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
git-svn-id: svn://10.0.0.236/trunk@14153 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-05 19:33:01 +00:00
peterl%netscape.com
93d3fcc553 sync to style resolution api changes
git-svn-id: svn://10.0.0.236/trunk@14009 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 20:33:43 +00:00
troy%netscape.com
03e55a2524 Renamed HaveConstrainedWidth() and HaveConstrainedHeight() to HaveFixedContentWidth()
and HaveFixedContentHeight()


git-svn-id: svn://10.0.0.236/trunk@13833 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-01 01:29:00 +00:00
kipp%netscape.com
6268b0ebfb nit changes
git-svn-id: svn://10.0.0.236/trunk@13827 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-31 22:53:00 +00:00
kipp%netscape.com
4d514e1475 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
git-svn-id: svn://10.0.0.236/trunk@13755 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 22:10:10 +00:00
michaelp%netscape.com
29bd495725 changes to support nsIRenderingContext that conforms to COM conventions.
git-svn-id: svn://10.0.0.236/trunk@13703 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 02:08:25 +00:00
kipp%netscape.com
6eb7152c7b Added justification support
git-svn-id: svn://10.0.0.236/trunk@13560 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-27 16:51:02 +00:00
buster%netscape.com
518758ca7c 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.


git-svn-id: svn://10.0.0.236/trunk@13337 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-22 22:00:50 +00:00
kipp%netscape.com
0ec16f60c8 Use TextRun API instead of no-longer public variables
git-svn-id: svn://10.0.0.236/trunk@13155 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-20 00:21:54 +00:00
kipp%netscape.com
2f93295c49 Use :BULLET style information to place bullets instead of hard coding off of the padding (Bug #1119)
git-svn-id: svn://10.0.0.236/trunk@13040 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-16 22:39:11 +00:00
kipp%netscape.com
c862cb4ed1 Support CSS2 floater placement by not allowing them on top of each other; fixed a bug with floater incemental reflow and spacemanager management
git-svn-id: svn://10.0.0.236/trunk@13011 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-16 20:22:39 +00:00
kipp%netscape.com
294a1a9391 Support clear attribute on floaters; nicer ListTag method
git-svn-id: svn://10.0.0.236/trunk@12944 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 23:27:12 +00:00
kipp%netscape.com
50f935b04c 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)
git-svn-id: svn://10.0.0.236/trunk@12812 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 20:10:08 +00:00
kipp%netscape.com
4e68055c90 Update frame count when frames are pushed to a new line so that alignment behaves properly
git-svn-id: svn://10.0.0.236/trunk@12589 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 18:43:07 +00:00
kipp%netscape.com
df3aef5b18 Removed nsCSSLayout::GetStyleSize and converted callers to use state in the html reflow state
git-svn-id: svn://10.0.0.236/trunk@12578 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 17:00:32 +00:00
kipp%netscape.com
3af8f78a16 Added an nsIPresContext& to html-reflow-state's ctors and used it to implement better percentage width/height handling
git-svn-id: svn://10.0.0.236/trunk@12575 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 14:48:02 +00:00
kipp%netscape.com
f28564b030 Pass through text-runs to the line layout engine; removed a debug printf
git-svn-id: svn://10.0.0.236/trunk@12503 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-10 04:33:06 +00:00
kipp%netscape.com
055d1a3d2f Removed skid marks; implement FindTextRuns again
git-svn-id: svn://10.0.0.236/trunk@12479 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 23:46:02 +00:00
kipp%netscape.com
5b20b0d8ef Mork work on floaters; support for clear style property
git-svn-id: svn://10.0.0.236/trunk@12473 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 22:58:25 +00:00
troy%netscape.com
ab9971c67b Removed GetContentIndex() from nsIFrame
git-svn-id: svn://10.0.0.236/trunk@12307 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 20:35:16 +00:00
kipp%netscape.com
6a42a14f72 Disabled overflow:visible handling for now
git-svn-id: svn://10.0.0.236/trunk@12075 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 21:00:58 +00:00
kipp%netscape.com
a38a2a63c2 Cleaned up margin handling some more; added flags to control behavior of the block frame; fixed table reflow bug
git-svn-id: svn://10.0.0.236/trunk@11984 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 00:38:56 +00:00
troy%netscape.com
576757f155 Removed nsIInlineReflow and folded it into nsIHTMLReflow
git-svn-id: svn://10.0.0.236/trunk@11847 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 04:28:05 +00:00
kipp%netscape.com
4072413f71 Preliminary support for negative top/bottom margins
git-svn-id: svn://10.0.0.236/trunk@11827 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 00:17:44 +00:00
kipp%netscape.com
d600ab67e9 Reworked vertical margin collapsing
git-svn-id: svn://10.0.0.236/trunk@11806 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 21:50:53 +00:00
troy%netscape.com
e191c422d9 Eliminated nsIRunaround interface, and folded space manager parameter into
nsHTMLReflowState structure


git-svn-id: svn://10.0.0.236/trunk@11749 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 04:10:00 +00:00
michaelp%netscape.com
7c2022dc32 modified for new fontmetrics/renderingcontext.
git-svn-id: svn://10.0.0.236/trunk@11736 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 01:12:39 +00:00
troy%netscape.com
7eac0bfdac Separated reflow process out of nsIFrame and into nsIFrameReflow. Also
added nsIHTMLReflow, which is an HTML specific reflow interface


git-svn-id: svn://10.0.0.236/trunk@11646 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 04:46:11 +00:00
kipp%netscape.com
51dce78d05 Add in a bottom-line-margin when dealing with a zero-height line that contains a BR frame
git-svn-id: svn://10.0.0.236/trunk@11453 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 22:32:56 +00:00
troy%netscape.com
a5e3d80369 Added back in support for absolutely positioned frames
git-svn-id: svn://10.0.0.236/trunk@11320 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 04:47:59 +00:00
kipp%netscape.com
6b67547955 Changed factory method to parameterize the shrink wrapping behavior
git-svn-id: svn://10.0.0.236/trunk@11317 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 03:44:25 +00:00
troy%netscape.com
3847b443ca Fixed some bustage I introduced with the factoring
git-svn-id: svn://10.0.0.236/trunk@11314 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 02:18:09 +00:00
troy%netscape.com
90bec832fd Partially enabled support for absolutely positioned elements
git-svn-id: svn://10.0.0.236/trunk@11298 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 23:24:37 +00:00
kipp%netscape.com
6635abfd9a Cleaned up and repaired floater placement and spacemanager manipulation; the comments clearly (hopefully!) state whats going on...
git-svn-id: svn://10.0.0.236/trunk@11222 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 18:50:59 +00:00
kipp%netscape.com
e5172e64c4 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
git-svn-id: svn://10.0.0.236/trunk@11164 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 20:05:09 +00:00
kipp%netscape.com
082fcd1838 use image-loader call back to trigger bullet frame reflows
git-svn-id: svn://10.0.0.236/trunk@11162 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 18:36:01 +00:00
kipp%netscape.com
679b3025ae Use modified css rendering API
git-svn-id: svn://10.0.0.236/trunk@11158 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 17:17:20 +00:00
kipp%netscape.com
c8d5139b8e Fixed memory leak (bug #910)
git-svn-id: svn://10.0.0.236/trunk@11131 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 00:37:26 +00:00
kipp%netscape.com
add47d2e83 Added support for percentage base margins to the root, root-content and block frames
git-svn-id: svn://10.0.0.236/trunk@11121 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 23:47:59 +00:00
kipp%netscape.com
973e769864 Support break-before/after for block frames
git-svn-id: svn://10.0.0.236/trunk@11051 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 17:50:09 +00:00
kipp%netscape.com
97462690f6 Support (weakly) style-changed reflow and fixup naming of frame-removed methods
git-svn-id: svn://10.0.0.236/trunk@11040 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 16:10:10 +00:00
troy%netscape.com
be32dfbcc4 Moved ContentDeleted() document notification code to the style system which
generates the reflow command


git-svn-id: svn://10.0.0.236/trunk@11020 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 05:13:06 +00:00
kipp%netscape.com
f5c05399de Removed bullet pseudo-content and instead use pseudo style to process bullets properly
git-svn-id: svn://10.0.0.236/trunk@10959 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 21:32:39 +00:00