kipp%netscape.com
7223e249d3
Reworked side margin calculations to fix (finally!) bug 11932; also cleaned up table side margin handling to better match nav's behavior yet move forward with css2
...
git-svn-id: svn://10.0.0.236/trunk@48440 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 00:15:16 +00:00
troy%netscape.com
4d5ed09a1f
Added nsHTMLReflowState constructor that allows containing block width
...
and height to be specified. This is needed for relatively positioned
block elements
git-svn-id: svn://10.0.0.236/trunk@47787 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-16 14:33:19 +00:00
kipp%netscape.com
3656e9d5f5
Fixed refcnt crash bug with style-contexts (bad nscomptr usage -- whoops)
...
git-svn-id: svn://10.0.0.236/trunk@46634 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-09 21:54:20 +00:00
kipp%netscape.com
64a03c4eb0
Reworked nsHTMLReflowState::CalcLineHeight (bug 6865)
...
git-svn-id: svn://10.0.0.236/trunk@46624 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-09 21:03:27 +00:00
kipp%netscape.com
9d4d59aea1
Keep trakc of the depth of reflow to allow for limiting stack usage (bug #10310 )
...
git-svn-id: svn://10.0.0.236/trunk@44926 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 21:48:54 +00:00
troy%netscape.com
08b0ac1ce2
Added failure check for call to nsStyleData::GetBorder()
...
git-svn-id: svn://10.0.0.236/trunk@41422 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 04:48:34 +00:00
troy%netscape.com
296ff668fa
Added support for "box-sizing" style property
...
git-svn-id: svn://10.0.0.236/trunk@41416 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 03:51:37 +00:00
troy%netscape.com
6b27e8cd0c
Fix for bug #10395 . Now we recalculate margins when we use the minimum or
...
maximum value for the computed width/height. This applies to positioned
elements only
git-svn-id: svn://10.0.0.236/trunk@41181 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 00:48:47 +00:00
troy%netscape.com
8d07a8a962
Added 'm' prefix to a couple more data members of nsHTMLReflowState struct
...
git-svn-id: svn://10.0.0.236/trunk@40217 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-20 03:51:46 +00:00
troy%netscape.com
a89529386f
Added 'm' prefix to some of the nsHTMLReflowState data members
...
git-svn-id: svn://10.0.0.236/trunk@40215 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-20 03:41:03 +00:00
troy%netscape.com
2500818fde
Fix for bug #9611 : now handles absolutely positioned replaced elements
...
git-svn-id: svn://10.0.0.236/trunk@40211 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-20 02:48:18 +00:00
kipp%netscape.com
1b24c1974d
Removed HaveFixedContent* methods from nsHTMLReflowState and updated code to match (fix bug #7993 )
...
git-svn-id: svn://10.0.0.236/trunk@38572 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-07 02:33:17 +00:00
kipp%netscape.com
85b12bb5d7
Fixed margin calcs for block elements (and tables) so that when the object is wider than the avail width the object is pinned to the left/right edge as appropriate (bug #6155 )
...
git-svn-id: svn://10.0.0.236/trunk@38360 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-05 18:45:12 +00:00
karnaze%netscape.com
d10593fcc4
bug 6185 - absolutely positioned target nsHTMLFrameInnerFrames don't get processed by InitAbsoluteConstraints.
...
git-svn-id: svn://10.0.0.236/trunk@31017 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 22:59:03 +00:00
kipp%netscape.com
7b65406361
Reinstate a hack, with a comment for next time, so that tables will center again
...
git-svn-id: svn://10.0.0.236/trunk@31000 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 22:28:30 +00:00
kipp%netscape.com
311b473ea2
Fix bug 2058 and improve nav4 compatability by not making line-height normal == 1.0
...
git-svn-id: svn://10.0.0.236/trunk@29984 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-03 20:53:27 +00:00
troy%netscape.com
3badeba0e9
Work-in-progress for relatively positioned inlines being containing blocks
...
for absolutely positioned child elements
git-svn-id: svn://10.0.0.236/trunk@28659 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 04:27:47 +00:00
troy%netscape.com
cee63be2c8
Change to InitAbsoluteConstraints() to fix bug #5154
...
git-svn-id: svn://10.0.0.236/trunk@27976 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-17 04:24:12 +00:00
kipp%netscape.com
d42c9af2ff
Removed some dead code; Added support for eStyleUnit_Chars for width values
...
git-svn-id: svn://10.0.0.236/trunk@25648 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 04:11:40 +00:00
kipp%netscape.com
01140b212f
Fixed bug #4133 by not providing negative margin values for tables that are too wide
...
git-svn-id: svn://10.0.0.236/trunk@25430 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-29 04:17:23 +00:00
troy%netscape.com
ede920e0b8
Fix for bug #2592 . Changed ComputeMargin() and ComputePadding() to handle
...
'inherit' when calculating the computed values
git-svn-id: svn://10.0.0.236/trunk@25188 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 03:57:46 +00:00
kipp%netscape.com
b117f217cd
Work around 3238 partially until we have a real solution
...
git-svn-id: svn://10.0.0.236/trunk@24688 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 20:45:26 +00:00
kipp%netscape.com
a34759dd7e
Removed some cruft
...
git-svn-id: svn://10.0.0.236/trunk@24592 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 21:55:37 +00:00
kipp%netscape.com
d9817b176d
Fixed a typo bug
...
git-svn-id: svn://10.0.0.236/trunk@24589 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 19:39:08 +00:00
kipp%netscape.com
4fc7bf9895
Eliminate some purify warnings
...
git-svn-id: svn://10.0.0.236/trunk@24490 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 23:06:42 +00:00
kipp%netscape.com
83f5d0de70
Spanked to collapse inline-reflow with line-layout into line-layout; fixed bugs #1278 , #1990 , #3527 , #1670 , etc.
...
git-svn-id: svn://10.0.0.236/trunk@24321 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 21:03:25 +00:00
troy%netscape.com
bc0d788a43
Work-in-progress for min/max properties
...
git-svn-id: svn://10.0.0.236/trunk@23705 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 15:13:17 +00:00
troy%netscape.com
6866976cb9
Work-in-progress for 'min' and 'max' properties
...
git-svn-id: svn://10.0.0.236/trunk@23629 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 01:23:10 +00:00
kipp%netscape.com
0750860714
setup more skid marks (disabled)
...
git-svn-id: svn://10.0.0.236/trunk@23185 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 19:26:30 +00:00
troy%netscape.com
cd506df1a1
Eliminated some code that's no longer needed now that the info is in the
...
HTML reflow state
git-svn-id: svn://10.0.0.236/trunk@23026 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 01:40:29 +00:00
troy%netscape.com
b81fd87c6f
Removed some static functions that are no longer needed
...
git-svn-id: svn://10.0.0.236/trunk@23010 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 00:48:45 +00:00
troy%netscape.com
a468a48e17
Added ComputePadding() member function
...
git-svn-id: svn://10.0.0.236/trunk@23003 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 00:36:59 +00:00
troy%netscape.com
6bf1e58e48
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
git-svn-id: svn://10.0.0.236/trunk@22956 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 22:24:27 +00:00
troy%netscape.com
cab2885013
Fixed containing block calculation for absolutely positioned elements. Now
...
uses padding edge and not the content edge
git-svn-id: svn://10.0.0.236/trunk@22948 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 21:26:49 +00:00
kipp%netscape.com
3bdcb1e967
Revised computations for blocks; store more computed values
...
git-svn-id: svn://10.0.0.236/trunk@22842 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 04:24:20 +00:00
kipp%netscape.com
757ef013b8
Maded DetermineFrameType a callable static method; removed gratuitous line-height calculations
...
git-svn-id: svn://10.0.0.236/trunk@21632 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 19:33:06 +00:00
troy%netscape.com
44d563da83
Added support for 'width' and 'height' values of 'inherit'
...
git-svn-id: svn://10.0.0.236/trunk@21123 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 04:40:16 +00:00
troy%netscape.com
6d851001ef
Fixed InitConstraints() to correctly compute the containing block height
...
for child elements of a scrolled element
git-svn-id: svn://10.0.0.236/trunk@20671 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-14 04:43:44 +00:00
troy%netscape.com
2aa3cd9ceb
Changed frame construction code to set NS_FRAME_REPLACED_ELEMENT but, and
...
changed the HTML reflow state to read the bit
git-svn-id: svn://10.0.0.236/trunk@20660 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-13 05:59:19 +00:00
kipp%netscape.com
9b917419dc
COMized nsIPresShell and nsIPresContext
...
git-svn-id: svn://10.0.0.236/trunk@20570 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 17:45:58 +00:00
troy%netscape.com
a0c49af128
Fix for bug #3089
...
git-svn-id: svn://10.0.0.236/trunk@20353 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 03:56:00 +00:00
troy%netscape.com
dbedf1803d
Changed GetFrameState() and GetFrameType() to use pointer arguments instead of
...
references
git-svn-id: svn://10.0.0.236/trunk@20215 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 04:17:06 +00:00
troy%netscape.com
2af2ec249b
Changed GetParent() to use ** instead of *&
...
git-svn-id: svn://10.0.0.236/trunk@20205 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 01:36:30 +00:00
troy%netscape.com
8934624982
Changed some nsIFrame member functions to use ** instead of *& for OUT
...
paremeters
git-svn-id: svn://10.0.0.236/trunk@20199 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 00:42:56 +00:00
troy%netscape.com
0b0f1e128c
Fix for bug #3027 . Correctly computes 'auto' margin values and allows them
...
to be negative
git-svn-id: svn://10.0.0.236/trunk@20059 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 00:15:43 +00:00
troy%netscape.com
703dbaf64b
Fix for bug #2993 . Made sure that 'offsets' are relative to containing block's
...
padding edge and not the containing block's border edge
git-svn-id: svn://10.0.0.236/trunk@19979 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-08 00:32:02 +00:00
troy%netscape.com
a59b46020d
Made sure computedOffsets is initialized to all zeros for the root frame
...
git-svn-id: svn://10.0.0.236/trunk@19823 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 05:51:12 +00:00
troy%netscape.com
b34a14698c
More work-in-progress for fixed positioning
...
git-svn-id: svn://10.0.0.236/trunk@18924 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 17:14:13 +00:00
troy%netscape.com
88177ce149
Fixed a problem in CalculateLeftRightMargin()
...
git-svn-id: svn://10.0.0.236/trunk@18620 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 16:34:08 +00:00
troy%netscape.com
94c5f449dd
Added check for unconstrained width/height of the containing block when
...
computing 'offsets'
git-svn-id: svn://10.0.0.236/trunk@18413 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 04:49:15 +00:00