36 Commits

Author SHA1 Message Date
warren%netscape.com
c6b67eceeb Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
git-svn-id: svn://10.0.0.236/trunk@81885 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 22:43:51 +00:00
dmose%mozilla.org
92d791b7b0 updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52908 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:40:37 +00:00
troy%netscape.com
4ccdea739f Added support for 'right' and 'bottom' properties. Changed to using a
nsStyleSides struct to hold all the offsets


git-svn-id: svn://10.0.0.236/trunk@17372 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-08 04:47:46 +00:00
kipp%netscape.com
6332064074 Disabled the code
git-svn-id: svn://10.0.0.236/trunk@12723 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 20:43:05 +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
ceb99b237f Fixed top relative position bug #1024
git-svn-id: svn://10.0.0.236/trunk@12284 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 15:37:34 +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
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
5b0a290d9e Removed VerticallyAlignChildren (it's in nsInlineReflow now)
git-svn-id: svn://10.0.0.236/trunk@10761 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 02:34:43 +00:00
kipp%netscape.com
12ece32c94 Revised various vertical alignment cases to use font introspection data instead of hard coding in values; corrected middle computation.
git-svn-id: svn://10.0.0.236/trunk@9787 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 23:43:12 +00:00
troy%netscape.com
1568e2814d Changed interface nsIFontMetrics to use the XPCOM conventions for returning
a nsresult


git-svn-id: svn://10.0.0.236/trunk@8785 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-29 02:34:34 +00:00
kipp%netscape.com
44408c2dc0 Check style unit before translating relative position coords
git-svn-id: svn://10.0.0.236/trunk@6401 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 16:22:54 +00:00
kipp
e79ebcce8a Handle unconstrained width during percentage width computations
git-svn-id: svn://10.0.0.236/trunk@5606 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 17:07:20 +00:00
kipp
55b2683b92 New and improved (?) line layout
git-svn-id: svn://10.0.0.236/trunk@4495 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 16:33:10 +00:00
troy
0b65f7fd78 Changed some GetStyleContext/GetStyleData calls to use nsIFrame::GetStyleData
instead. This saves the AddRef/Release overhead


git-svn-id: svn://10.0.0.236/trunk@3780 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-14 05:23:59 +00:00
peterl
bc184de5ad sync up to new style data apis
git-svn-id: svn://10.0.0.236/trunk@3322 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 06:09:09 +00:00
troy
9725cced48 Added a comment to GetStyleDimension indicating that computed percentage
values are being handled incorrectly


git-svn-id: svn://10.0.0.236/trunk@2773 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-31 04:45:21 +00:00
kipp
359bf0f99c Revised API so that correct percentage width/height could be computed
git-svn-id: svn://10.0.0.236/trunk@2760 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 21:22:17 +00:00
kipp
3bcb8b4996 Fixed infinite loop in GetStyleSize code
git-svn-id: svn://10.0.0.236/trunk@2499 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 17:06:43 +00:00
kipp
0af82d79bd Revised HorizontallyPlaceChildren API to support a default alignment based on the layout direction
git-svn-id: svn://10.0.0.236/trunk@2466 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 02:02:22 +00:00
kipp
fef14caafd Only perform horizontal alignment when there is room to do it
git-svn-id: svn://10.0.0.236/trunk@2390 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 21:04:33 +00:00
peterl
25861753fc Changed GetStyleData to use an enum instead of an nsID
git-svn-id: svn://10.0.0.236/trunk@2090 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-21 02:34:13 +00:00
peterl
891a4eb5d1 fixed memory leak
fixed uninitialized memory read


git-svn-id: svn://10.0.0.236/trunk@1844 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-18 21:07:24 +00:00
kipp
4ba0b9750b Removed some useless code
git-svn-id: svn://10.0.0.236/trunk@1587 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-14 00:49:11 +00:00
kipp
77740b1433 Fixed vertical alignment bug: lines that contained bottom aligned objects would add in too much height
git-svn-id: svn://10.0.0.236/trunk@1496 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-12 23:53:37 +00:00
kipp
7331ec5631 Removed uneeded code; added a reminder comment
git-svn-id: svn://10.0.0.236/trunk@1373 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-09 03:23:41 +00:00
kipp
83683e9db6 Added GetStyleSize
git-svn-id: svn://10.0.0.236/trunk@1248 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-07 21:36:16 +00:00
peterl
7f15ff1ab6 update to new value class api
git-svn-id: svn://10.0.0.236/trunk@926 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-30 19:57:36 +00:00
peterl
9bd123cf4d changed nsStyleText to use nsStyleCoord
git-svn-id: svn://10.0.0.236/trunk@810 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-28 23:57:01 +00:00
kipp
1098ed5ee8 Use PERCENT instead of PCT in style constants; implement vertial alignment for length values and percent values
git-svn-id: svn://10.0.0.236/trunk@715 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-27 21:24:33 +00:00
kipp
b87f9199b6 Port to removal of nsStyleMolecule
git-svn-id: svn://10.0.0.236/trunk@665 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-25 18:48:48 +00:00
troy
479019563e Added more position properties and removed some stuff from nsStyleMolecule
git-svn-id: svn://10.0.0.236/trunk@587 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-24 03:50:38 +00:00
peterl
de9525ad79 Switch to nsIPtr for style context ptrs to eliminate leaks
git-svn-id: svn://10.0.0.236/trunk@499 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-22 06:39:00 +00:00
troy
fd68898ebd Changed nsIFrame member functions to return a nsresult
git-svn-id: svn://10.0.0.236/trunk@346 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-17 01:41:24 +00:00
kipp
fb1503758e moved to pub
git-svn-id: svn://10.0.0.236/trunk@165 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-13 20:24:54 +00:00