Commit Graph

1163 Commits

Author SHA1 Message Date
harishd@netscape.com
cb51ba1c2a StyleContext passed onto PaintBorder() 1999-01-22 22:38:34 +00:00
karnaze@netscape.com
70e10946ca scrollable row groups 1999-01-17 23:35:56 +00:00
kipp@netscape.com
b1fe154193 Spanked away SizeOf methods and nsIListFilter 1999-01-16 00:00:50 +00:00
kipp@netscape.com
e1ed25a763 Used revised version of nsContainerFrame that uses an nsFrameList instead of a raw nsIFrame* 1999-01-15 22:52:05 +00:00
troy@netscape.com
217ab2bc29 Fix for bug #1998. Now we render the background image over the padding area and not over the border area 1999-01-15 18:25:58 +00:00
troy@netscape.com
62b64b2067 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
80de7a2d9f Replaced "maxSize" member if nsReflowState with "availableWidth" and
"availableHeight"
1999-01-05 23:31:18 +00:00
troy@netscape.com
b4aa12707a Cleaned up some old references to margins which aren't applicable to row group
frames and row frames (because internal table elements don't have margins)
1999-01-05 00:41:40 +00:00
buster@netscape.com
c1abba5a19 collapsing border bug fixes 1998-12-30 23:23:45 +00:00
buster@netscape.com
ce986dbe8f collapsing borders with odd width have correct width now 1998-12-30 22:40:36 +00:00
troy@netscape.com
57c9c45a75 Changed width/height constraints in nsHTMLReflowState struct 1998-12-30 17:50:00 +00:00
buster@netscape.com
00c12119a8 collapsing border computation and conflict resolution 1998-12-30 06:48:15 +00:00
troy@netscape.com
6f9192bec1 Moved logic that deals with moving absolutely positioned frames out of the
flow to the frame construction code
1998-12-29 03:38:16 +00:00
buster@netscape.com
7663d54636 WIP for collapsing borders 1998-12-23 15:47:43 +00:00
buster@netscape.com
0178b1e656 WIP for collapsing borders. 1998-12-21 19:20:37 +00:00
buster@netscape.com
4ebcb1cd74 collapsing borders now do rounding of odd-thickness borders correctly
at the pixel level.  The odd pixel is always given to the right and bottom
cell borders whenever possible, and to the top and left table border otherwise.
1998-12-21 18:54:23 +00:00
buster@netscape.com
54977abf27 beginnings of collapsing borders now implemented. Doesn't work for spanning cells yet,
and doesn't measure borders where the width changes along a shared edge yet.
1998-12-21 06:38:18 +00:00
kipp@netscape.com
1e10a83138 Revised frame Paint API 1998-12-18 15:54:23 +00:00
buster@netscape.com
46860232f4 WIP on border collapsing 1998-12-17 22:59:40 +00:00
buster@netscape.com
196c95c59c more WIP, no new code operational 1998-12-17 07:56:24 +00:00
buster@netscape.com
701298fb62 WIP collapsing border implementation
added CompareBorderStyles, GetWidthForSide, ComputeCollapsedBorderSegment
we're now computing the left edge segments somewhat correctly.
1998-12-17 07:04:42 +00:00
buster@netscape.com
4af8b02ae9 WIP collapsing border work 1998-12-16 22:19:23 +00:00
buster@netscape.com
21e5c878dd WIP on collapsing borders 1998-12-16 17:05:14 +00:00
troy@netscape.com
453b39e9f0 Tables now clear the isTopOfPage when appropriate 1998-12-14 01:24:11 +00:00
buster@netscape.com
975ea05df4 tables can now have independent horizontal and vertical cell spacing
("cellspacing" HTML attribute == "border-spacing" CSS property, go figure...)
1998-12-09 06:37:18 +00:00
troy@netscape.com
4015a88d1f Added new atoms to nsLayoutAtoms for additional named frame child lists 1998-12-09 05:30:17 +00:00
troy@netscape.com
c7164e5f56 Initial table pagination support 1998-12-08 17:57:45 +00:00
buster@netscape.com
2dec1087cf fixed a bug in table-layout:fixed mode
fixed bug fixed a few small bugs
1998-12-08 01:00:14 +00:00
harishd@netscape.com
dbb4a934fe changed the code that previously accessed mBorderStyle and mBordercolor
with new methods added in nsStyleSpacing
1998-12-07 19:07:45 +00:00
buster@netscape.com
b0e257c82e fixed cellspacing and cellpadding handling
default cellspacing and cellpadding now comes from the table frame itself
other frames on longer look at the "tableStyle" struct for these values
1998-12-05 05:27:21 +00:00
wtc@netscape.com
9d02582470 The second argument for GetStyleData needs to be 'const'. 1998-12-05 01:47:37 +00:00
troy@netscape.com
5d80fa70d8 Added NS_RELEASE of col frame pseudo element style context. This fixes a memory leak 1998-12-04 03:39:05 +00:00
troy@netscape.com
6596eebaad Changed table frame code to call DeleteFrameList() so that the col group
frames are deleted
1998-12-04 03:14:28 +00:00
buster@netscape.com
2c2bdfb430 the inner table frame now maintains 2 child lists: the main child lists that holds rowgroups and unknown frame
types, and mColGroups. Besides being cleaner and easier to maintain, this should speed some things up slightly
     because I don't have to check display types every time I iterate through colgroup frames.  I *know*
     mColGroups contains only colgroups.  I might do the same for rowgroups (that is, keep unknown frame types
     in their own list as well.)  But that's optional.
the inner table frame used to incorrectly create actual content objects for anonymous colgroups and cols.  Now,
     it just creates frames as appropriate, not content.  To support this, I added some pseudo style contexts and
     related atoms.
1998-12-03 18:01:35 +00:00
troy@netscape.com
e602e25924 Added Init() member function to nsIFrame 1998-12-03 06:31:43 +00:00
wtc@netscape.com
50476c767e This checkin (under mozilla/layout) is all about 'const'. Digital Unix's
C++ compiler is strict about getting 'const' right.  Most of the changes
are to add 'const' to the type casts for the second argument of the
GetStyleData method, which wants a const reference.
1998-12-02 16:45:20 +00:00
buster@netscape.com
ec6e2ff575 fixed some nested table layout problems 1998-11-30 15:10:20 +00:00
buster@netscape.com
560f1fe058 2 Nav4 compatibility additions:
1. width=0 is treated as width=auto, not width=min
2. empty cells <td></td> are assigned a width of (2*borderWidth + 2*cellspacing + 3) pixels
The "3" is a fudge factor added by Nav and IE.
1998-11-25 18:43:56 +00:00
buster@netscape.com
ef31504e16 implemented table height algorithms. also made a slight modification to
the way a table finds its container's width.
1998-11-20 01:01:25 +00:00
kipp@netscape.com
f6502df0e2 Added DumpRegressionData; revised ListTag; added GetFrameName 1998-11-19 17:22:29 +00:00
buster@netscape.com
d0d7d198ce irrationally-specified table (one where the width attributes of various rows don't add up to the same value,
and/or to the width attribute on the table itself), the rule is to try to give the column the largest value
assigned to it by any cell intersecting that column.
Separate storage is maintained for a column's natural desired width (width from any source other than a cell
with a colspan) and the maximum contribution to the column's width from any cell with a colspan.
1998-11-16 06:46:00 +00:00
michaelp@netscape.com
614b76a37f changes for pixel scaling/printing. 1998-11-14 01:52:27 +00:00
buster@netscape.com
3a79542dcd col and colgroup attribute handling
colgroup pseudo frame for cols inserted directly into a table.  More like this to come...
1998-11-12 18:37:28 +00:00
buster@netscape.com
2022197c05 support for frame and rules attribute 1998-11-11 19:56:02 +00:00
troy@netscape.com
7d57a590c9 Renamed Init() to SetInitialChildList() and added an additional parameter
for the name of the child list
1998-11-10 06:05:32 +00:00
troy@netscape.com
b04ee51233 First of a few changes to allow frames to have multiple child lists.
FirstChild() now takes an additional argument which is the name of the
child list.
1998-11-09 19:40:27 +00:00
joki@netscape.com
71c770f21c Fixup calls to DumpCellMap() with NS_DEBUG #ifdefs 1998-11-06 02:38:17 +00:00
buster@netscape.com
3dcc4ba5ed various small fixes and clean up 1998-11-05 21:42:46 +00:00
buster@netscape.com
f6d394fcc0 in default 2-pass layout, tables with auto width and with all columns coord width now act like auto width tables,
not like specified width (which you might logically expect since all column widths are specified, but sadly that's
not the way Nav or IE interprets this case. )
nsTableFrame's use of IsPseudoFrame has been removed.
1998-11-04 19:33:27 +00:00
peterl@netscape.com
e74acd9aca sync to style resolution api changes 1998-11-03 20:33:43 +00:00