Commit Graph
352 Commits
Author SHA1 Message Date
[email protected] d79f716887 Fix for bug #9611: now handles absolutely positioned replaced elements 1999-07-20 02:48:18 +00:00
[email protected] 88769694a3 Removed HaveFixedContent* methods from nsHTMLReflowState and updated code to match (fix bug #7993) 1999-07-07 02:33:17 +00:00
[email protected] 7422a2b67e 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) 1999-07-05 18:45:12 +00:00
[email protected] 4e4c0a55e2 bug 6185 - absolutely positioned target nsHTMLFrameInnerFrames don't get processed by InitAbsoluteConstraints. 1999-05-10 22:59:03 +00:00
[email protected] 2d008eb2e0 Reinstate a hack, with a comment for next time, so that tables will center again 1999-05-10 22:28:30 +00:00
[email protected] 8a0a68b8dc Fix bug 2058 and improve nav4 compatability by not making line-height normal == 1.0 1999-05-03 20:53:27 +00:00
[email protected] 139be3dbd6 Work-in-progress for relatively positioned inlines being containing blocks
for absolutely positioned child elements
1999-04-22 04:27:47 +00:00
[email protected] 0fb7f8fafb Change to InitAbsoluteConstraints() to fix bug #5154 1999-04-17 04:24:12 +00:00
[email protected] 5e71129dce Removed some dead code; Added support for eStyleUnit_Chars for width values 1999-03-31 04:11:40 +00:00
[email protected] 2adcd8e8b2 Fixed bug #4133 by not providing negative margin values for tables that are too wide 1999-03-29 04:17:23 +00:00
[email protected] 55a5f8280a Fix for bug #2592. Changed ComputeMargin() and ComputePadding() to handle
'inherit' when calculating the computed values
1999-03-26 03:57:46 +00:00
[email protected] deee000810 Work around 3238 partially until we have a real solution 1999-03-22 20:45:26 +00:00
[email protected] 2beec1ece7 Removed some cruft 1999-03-20 21:55:37 +00:00
[email protected] 9613462466 Fixed a typo bug 1999-03-20 19:39:08 +00:00
[email protected] 41cd4032e9 Eliminate some purify warnings 1999-03-19 23:06:42 +00:00
[email protected] 76a50ef817 Spanked to collapse inline-reflow with line-layout into line-layout; fixed bugs #1278, #1990, #3527, #1670, etc. 1999-03-18 21:03:25 +00:00
[email protected] 622f372e18 Work-in-progress for min/max properties 1999-03-11 15:13:17 +00:00
[email protected] 16c12903e8 Work-in-progress for 'min' and 'max' properties 1999-03-11 01:23:10 +00:00
[email protected] 7f8834df62 setup more skid marks (disabled) 1999-03-08 19:26:30 +00:00
[email protected] f15bba30e8 Eliminated some code that's no longer needed now that the info is in the
HTML reflow state
1999-03-06 01:40:29 +00:00
[email protected] f3c5bf0b09 Removed some static functions that are no longer needed 1999-03-06 00:48:45 +00:00
[email protected] 8e85c8ff42 Added ComputePadding() member function 1999-03-06 00:36:59 +00:00
[email protected] 798c4f0955 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
[email protected] defc183f96 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
[email protected] bfbbb653d4 Revised computations for blocks; store more computed values 1999-03-05 04:24:20 +00:00
[email protected] 197b24f2e8 Maded DetermineFrameType a callable static method; removed gratuitous line-height calculations 1999-02-23 19:33:06 +00:00
[email protected] 19f3ad381d Added support for 'width' and 'height' values of 'inherit' 1999-02-18 04:40:16 +00:00
[email protected] a6cd50bd6e Fixed InitConstraints() to correctly compute the containing block height
for child elements of a scrolled element
1999-02-14 04:43:44 +00:00
[email protected] 2d9148f088 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
[email protected] 74b2988510 COMized nsIPresShell and nsIPresContext 1999-02-12 17:45:58 +00:00
[email protected] 007abc1c48 Fix for bug #3089 1999-02-11 03:56:00 +00:00
[email protected] 18893d3961 Changed GetFrameState() and GetFrameType() to use pointer arguments instead of
references
1999-02-10 04:17:06 +00:00
[email protected] 48040900a7 Changed GetParent() to use ** instead of *& 1999-02-10 01:36:30 +00:00
[email protected] b4f8c0fbbe Changed some nsIFrame member functions to use ** instead of *& for OUT
paremeters
1999-02-10 00:42:56 +00:00
[email protected] 2c34ebbba6 Fix for bug #3027. Correctly computes 'auto' margin values and allows them
to be negative
1999-02-09 00:15:43 +00:00
[email protected] 5b7034965e 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
[email protected] 713df18c1d Made sure computedOffsets is initialized to all zeros for the root frame 1999-02-05 05:51:12 +00:00
[email protected] e9cc52dbc3 More work-in-progress for fixed positioning 1999-01-28 17:14:13 +00:00
[email protected] 9da1a9152b Fixed a problem in CalculateLeftRightMargin() 1999-01-26 16:34:08 +00:00
[email protected] 4699877e24 Added check for unconstrained width/height of the containing block when
computing 'offsets'
1999-01-23 04:49:15 +00:00
[email protected] f6a5fd74ca Correction to how offsets are computed for relatively positioned elements 1999-01-22 04:12:03 +00:00
[email protected] 036bdea1b1 Added XXX reminder for myself 1999-01-20 04:50:35 +00:00
[email protected] d8a19191d9 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
[email protected] 649015474c Minor cleanup 1999-01-19 05:18:26 +00:00
[email protected] d767461181 Added 'computedMargin' to nsHTMLReflowState, which replaced the individual
margin values (e.g., computedLeftMargin)
1999-01-17 05:43:02 +00:00
[email protected] f4aebf3e24 Changed nsHTMLReflowState to compute 'offsets' for relatively positioned
elements
1999-01-16 20:58:17 +00:00
[email protected] f673f5148c Fixed an assert that was getting hit for absolutely positioned elements 1999-01-15 04:28:17 +00:00
[email protected] 62b64b2067 Removed the content-parent frame pointer. Now we just have the one geometric
parent
1999-01-14 05:16:23 +00:00
[email protected] 592b9af63f Fix for bug #2276, and some initial support for 'right' and 'bottom'
for absolutely positioned elements
1999-01-13 06:37:31 +00:00
[email protected] 2afcac13e2 Turned off assert 1999-01-09 01:43:02 +00:00