Commit Graph

474 Commits

Author SHA1 Message Date
troy@netscape.com
3a2de1832f Made sure that column cache is invalidated if necessary when appending rows
frames and cell frames
1999-08-07 15:12:50 +00:00
buster@netscape.com
6f75fa6875 fixed a memory leak, and a null pointer dereference, having to do with collapsing borders 1999-08-07 05:40:09 +00:00
cmanske@netscape.com
35cad0c225 Added nsITableLayout::GetTableSize() to get number of rows and columns in table. Fixup up comments for new methods 1999-08-01 16:20:14 +00:00
cmanske@netscape.com
b44bfb4768 Adding interface for editor access to table layout data 1999-07-31 22:11:50 +00:00
karnaze@netscape.com
0f38815cdf new nsCellMap, BasicTableLayoutStrategy, plus various fixes to table
frames while testing the new cell map and strategy
1999-07-28 08:09:02 +00:00
troy@netscape.com
d6f5216441 Renamed DeleteFrame() to Destroy() 1999-07-22 02:24:52 +00:00
hyatt@netscape.com
d6f1501962 Landing the tree widget branch. 1999-06-23 03:02:21 +00:00
hyatt@netscape.com
560a7d38f0 Added support for incremental reflow of nested row groups (yeah, baby, yeah, baby, YEAH). 1999-06-15 01:19:18 +00:00
hyatt@netscape.com
12d9213d89 More nested row group changes. 1999-06-14 23:42:16 +00:00
hyatt@netscape.com
c180aa1dcf More changes to allow tables to support nested row groups. 1999-06-14 08:01:00 +00:00
karnaze@netscape.com
0a02140339 support for backgrounds on table elements in both compatibility modes 1999-06-07 21:10:25 +00:00
mjudge@netscape.com
255745201b new table selection code drag inside and outside of tables with ease. added some overriding methods to nsTableCellFrame and nsTableFrame to make selection "draw" correctly for those containers. 1999-06-01 23:04:13 +00:00
mjudge@netscape.com
2c77f1b613 reviewed sfraser approved choffman 6771 6762 UMR and Extreemly inefficient table selection code fixed simply 1999-05-20 00:52:00 +00:00
karnaze@netscape.com
5848571fa7 support for css padding in table cells 1999-05-18 05:18:16 +00:00
kipp@netscape.com
68aa9f7c60 Reworked frame factory methods; fixed bug 4519 1999-05-11 22:03:29 +00:00
karnaze@netscape.com
a15ef73a2e bug 3103 - resizing table based on height attribute now considers row spans of cells. 1999-05-04 19:15:56 +00:00
karnaze@netscape.com
aedc76fcb9 support for right-to-left direction 1999-04-22 03:51:58 +00:00
troy@netscape.com
b32ac753e1 Overflow code and pushing code now take header/footer frames into
account
1999-03-09 05:29:37 +00:00
buster@netscape.com
73fe3bf103 fixed IsNested to account for outer table frame
removed obsolete debug code
1999-03-01 06:40:24 +00:00
troy@netscape.com
ca28eafb7d Removed nsIFrame::CreateContinuingFrame() 1999-02-25 05:31:15 +00:00
troy@netscape.com
7f63268a34 Changed nsIFrame::Init() to take an additional parameter 1999-02-25 03:27:57 +00:00
troy@netscape.com
5a1fc226a0 Added frame type atoms for several table frame classes 1999-02-24 05:54:31 +00:00
karnaze@netscape.com
7e546edce3 collapsing rows, row groups, cols, col groups 1999-02-11 06:22:33 +00:00
troy@netscape.com
c63560927c Changed GetAdditionalChildListName() and FirstChild() to use ** instead
of *&
1999-02-10 02:25:01 +00:00
karnaze@netscape.com
43ae593e7c work in progress for table visibility=collapse 1999-02-03 23:54:32 +00:00
hyatt@netscape.com
374d2f8592 Made the table member variables protected so that the tree widget can
access them.
1999-02-03 22:35:03 +00:00
buster@netscape.com
2d2e0d6b83 fixed a nasty bug where some incremental reflow cases of a table with collapsing borders would crash.
One example of the crash is changing the style of a cell via DOM.
Also fixed an error in the API of nsTableColFrame
1999-01-29 18:49:32 +00:00
buster@netscape.com
e0137c5475 primarily comments and documentation
also removed nsTableFrame::QueryInterface() because it was just extraneous, and it made
an assumption about what class nsTableFrame derives from.  Let the vtable do its work...
1999-01-27 19:29:24 +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
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
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
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
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
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
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
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