Commit Graph

82 Commits

Author SHA1 Message Date
troy%netscape.com
c3afb0e9cf Removed some static functions that are no longer needed 1999-03-06 00:48:45 +00:00
troy%netscape.com
a1d1411076 Added ComputePadding() member function 1999-03-06 00:36:59 +00:00
troy%netscape.com
e3d132ed9c Added ComputeMargin() member function that takes the containing block width
as an argument. This is necessary for absolutely positioned elements which use
the padding edge and not the content edge for the containing block
1999-03-05 22:24:27 +00:00
troy%netscape.com
3710fb6246 Fixed containing block calculation for absolutely positioned elements. Now
uses padding edge and not the content edge
1999-03-05 21:26:49 +00:00
kipp%netscape.com
37fa734c4e Revised computations for blocks; store more computed values 1999-03-05 04:24:20 +00:00
kipp%netscape.com
2285d2368f Maded DetermineFrameType a callable static method; removed gratuitous line-height calculations 1999-02-23 19:33:06 +00:00
troy%netscape.com
9748bc8839 Added support for 'width' and 'height' values of 'inherit' 1999-02-18 04:40:16 +00:00
troy%netscape.com
eab91a0aa8 Fixed InitConstraints() to correctly compute the containing block height
for child elements of a scrolled element
1999-02-14 04:43:44 +00:00
troy%netscape.com
c928d3557c Changed frame construction code to set NS_FRAME_REPLACED_ELEMENT but, and
changed the HTML reflow state to read the bit
1999-02-13 05:59:19 +00:00
kipp%netscape.com
36c243cdc0 COMized nsIPresShell and nsIPresContext 1999-02-12 17:45:58 +00:00
troy%netscape.com
46bf1f1ab5 Fix for bug #3089 1999-02-11 03:56:00 +00:00
troy%netscape.com
e9bbeeaa9b Changed GetFrameState() and GetFrameType() to use pointer arguments instead of
references
1999-02-10 04:17:06 +00:00
troy%netscape.com
c85f9efd2a Changed GetParent() to use ** instead of *& 1999-02-10 01:36:30 +00:00
troy%netscape.com
b974e26cea Changed some nsIFrame member functions to use ** instead of *& for OUT
paremeters
1999-02-10 00:42:56 +00:00
troy%netscape.com
a9bb13d5cc Fix for bug #3027. Correctly computes 'auto' margin values and allows them
to be negative
1999-02-09 00:15:43 +00:00
troy%netscape.com
12bfda4069 Fix for bug #2993. Made sure that 'offsets' are relative to containing block's
padding edge and not the containing block's border edge
1999-02-08 00:32:02 +00:00
troy%netscape.com
66fdbcd9b3 Made sure computedOffsets is initialized to all zeros for the root frame 1999-02-05 05:51:12 +00:00
troy%netscape.com
78d4cd7331 More work-in-progress for fixed positioning 1999-01-28 17:14:13 +00:00
troy%netscape.com
2fb9c64835 Fixed a problem in CalculateLeftRightMargin() 1999-01-26 16:34:08 +00:00
troy%netscape.com
0a2d359c38 Added check for unconstrained width/height of the containing block when
computing 'offsets'
1999-01-23 04:49:15 +00:00
troy%netscape.com
a1161339c0 Correction to how offsets are computed for relatively positioned elements 1999-01-22 04:12:03 +00:00
troy%netscape.com
4dd1d39c67 Added XXX reminder for myself 1999-01-20 04:50:35 +00:00
troy%netscape.com
174494f84c Removed some scroll related logic that was causing computed widths to be
computed incorrectly. Now the scroll frame handles it
1999-01-20 03:43:33 +00:00
troy%netscape.com
aebbda5000 Minor cleanup 1999-01-19 05:18:26 +00:00
troy%netscape.com
e805654323 Added 'computedMargin' to nsHTMLReflowState, which replaced the individual
margin values (e.g., computedLeftMargin)
1999-01-17 05:43:02 +00:00
troy%netscape.com
7103b076b4 Changed nsHTMLReflowState to compute 'offsets' for relatively positioned
elements
1999-01-16 20:58:17 +00:00
troy%netscape.com
e075d4bfbc Fixed an assert that was getting hit for absolutely positioned elements 1999-01-15 04:28:17 +00:00
troy%netscape.com
036e6852f2 Removed the content-parent frame pointer. Now we just have the one geometric
parent
1999-01-14 05:16:23 +00:00
troy%netscape.com
5c75ea66f0 Fix for bug #2276, and some initial support for 'right' and 'bottom'
for absolutely positioned elements
1999-01-13 06:37:31 +00:00
troy%netscape.com
4f14253e33 Turned off assert 1999-01-09 01:43:02 +00:00
troy%netscape.com
4b3e1eebad Replaced "maxSize" member if nsReflowState with "availableWidth" and
"availableHeight"
1999-01-05 23:31:18 +00:00
troy%netscape.com
a423353676 Initial check-in 1999-01-05 19:44:41 +00:00