32 Commits

Author SHA1 Message Date
troy%netscape.com
e69d38cccb Fix for bug #2276, and some initial support for 'right' and 'bottom'
for absolutely positioned elements


git-svn-id: svn://10.0.0.236/trunk@17644 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-13 06:37:31 +00:00
kipp%netscape.com
263cc7d9ae Removed a turd
git-svn-id: svn://10.0.0.236/trunk@17415 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-09 00:14:09 +00:00
karnaze%netscape.com
35bfe95ab7 dom table methods, moved align="char" data members from nsReflowState to nsHTMLReflowState
git-svn-id: svn://10.0.0.236/trunk@17382 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-08 18:57:40 +00:00
troy%netscape.com
641be3028f Replaced "maxSize" member if nsReflowState with "availableWidth" and
"availableHeight"


git-svn-id: svn://10.0.0.236/trunk@17201 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-05 23:31:18 +00:00
troy%netscape.com
1c810256bf Moved enum and replaced it with #defines
git-svn-id: svn://10.0.0.236/trunk@17075 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-03 00:31:46 +00:00
troy%netscape.com
f16883b846 Changed comment to reflect the current state of the tree
git-svn-id: svn://10.0.0.236/trunk@17073 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-02 23:05:08 +00:00
troy%netscape.com
b5bffb2735 Added logic to make sure that internal table elements have reasonable
values for the computed width/height


git-svn-id: svn://10.0.0.236/trunk@17071 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-02 21:03:51 +00:00
troy%netscape.com
ca81e6912a Fix for bug 2109. If the child's maxSize.width is smaller than the containing
block's computed width then use it instead


git-svn-id: svn://10.0.0.236/trunk@17068 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-02 19:21:32 +00:00
troy%netscape.com
88546760e9 Changed InitConstraints() to handle inline, block-level, and floated elements
(replaced and non-replaced)


git-svn-id: svn://10.0.0.236/trunk@17052 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-31 23:07:00 +00:00
troy%netscape.com
008a69b28f Better computation of computed width and height and margins for block-level
elements


git-svn-id: svn://10.0.0.236/trunk@17037 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-31 05:35:38 +00:00
troy%netscape.com
c22f41cbf9 Changed width/height constraints in nsHTMLReflowState struct
git-svn-id: svn://10.0.0.236/trunk@16998 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-30 17:50:00 +00:00
kipp%netscape.com
7f10d74dd3 Added the AddBorderPaddingToMaxElementSize method to make it easy for implementors to get it right
git-svn-id: svn://10.0.0.236/trunk@16584 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 18:53:14 +00:00
kipp%netscape.com
154911fa72 Added NS_FRAME_IS_REPLACED macro
git-svn-id: svn://10.0.0.236/trunk@16413 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 04:21:56 +00:00
kipp%netscape.com
6d68b31e76 Added CalcLineHeight and store it in mLineHeight
git-svn-id: svn://10.0.0.236/trunk@16383 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 00:14:56 +00:00
kipp%netscape.com
ebbfcde3ed Removed carried-out-margin-flags
git-svn-id: svn://10.0.0.236/trunk@15847 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 16:04:33 +00:00
kipp%netscape.com
a207569b1c Work around more bugs in the style context code and use old margin calculations; factored get-containing-block-width better
git-svn-id: svn://10.0.0.236/trunk@15056 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 22:27:21 +00:00
kipp%netscape.com
257cb2e34e Define new API's to compute margin/border/padding/border+padding and handle percentages correctly
git-svn-id: svn://10.0.0.236/trunk@15012 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 17:19:26 +00:00
kipp%netscape.com
d2c756191e Added two new utility methods on nsHTMLReflowState for finding a containing block's reflow state and for finding a containing blocks content width
git-svn-id: svn://10.0.0.236/trunk@14914 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 23:59:49 +00:00
kipp%netscape.com
25b61d53b3 Support for display: compact
git-svn-id: svn://10.0.0.236/trunk@14506 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 16:32:19 +00:00
kipp%netscape.com
ce5cc1fa2e Added mRunInFrame to the html reflow state so that run-in frame handling can be forwarded from a parent block to a child block
git-svn-id: svn://10.0.0.236/trunk@14405 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 03:54:15 +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
1d4ce9d870 Added mCombinedArea to the metrics; added MoveInSpaceManager to the html-reflow methods
git-svn-id: svn://10.0.0.236/trunk@13760 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 22:13:14 +00:00
kipp%netscape.com
4ea46c84ff Added methods to support justification
git-svn-id: svn://10.0.0.236/trunk@13561 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-27 16:51:21 +00:00
kipp%netscape.com
33806af9b8 Removed unused maxWidth,maxHeight variables
git-svn-id: svn://10.0.0.236/trunk@12739 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 22:08:15 +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
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
55c1c69648 Add in carried out margin values
git-svn-id: svn://10.0.0.236/trunk@11990 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 00:41:35 +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
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
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