227 Commits

Author SHA1 Message Date
karnaze%netscape.com
90a3fa6104 fix mac bustage
git-svn-id: svn://10.0.0.236/trunk@43670 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 20:36:52 +00:00
karnaze%netscape.com
5e4439a661 Added new incremental reflow methods.
CellData keeps track of row versus col spans.
nsColFrame keeps track of what cell contributed to constrained width.
nsCellMap::GetCellFrameAt replace with GetCellInfoAt
simplified nsTableCellFrame::RecalcLayoutData and removed FindLargestMargin, CalculateMargins, CalculateMargins
simplified nsTableFrame::RecalcLayoutData and removed AppendLayoutData
Added gsDebugReflow capability, remove all existing debug printf


git-svn-id: svn://10.0.0.236/trunk@43641 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 19:52:37 +00:00
troy%netscape.com
8a85938908 Changed to table incremental reflow
git-svn-id: svn://10.0.0.236/trunk@43548 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 03:51:25 +00:00
troy%netscape.com
421d2fb7eb Made sure that column cache is invalidated if necessary when appending rows
frames and cell frames


git-svn-id: svn://10.0.0.236/trunk@42656 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-07 15:12:50 +00:00
buster%netscape.com
9cb3786eb7 fixed a memory leak, and a null pointer dereference, having to do with collapsing borders
git-svn-id: svn://10.0.0.236/trunk@42644 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-07 05:40:09 +00:00
cmanske%netscape.com
e5ae1ba132 Added nsITableLayout::GetTableSize() to get number of rows and columns in table. Fixup up comments for new methods
git-svn-id: svn://10.0.0.236/trunk@41757 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-01 16:20:14 +00:00
cmanske%netscape.com
6ea23b2d7b Adding interface for editor access to table layout data
git-svn-id: svn://10.0.0.236/trunk@41743 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-31 22:11:50 +00:00
karnaze%netscape.com
382b9863de new nsCellMap, BasicTableLayoutStrategy, plus various fixes to table
frames while testing the new cell map and strategy


git-svn-id: svn://10.0.0.236/trunk@41454 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 08:09:02 +00:00
troy%netscape.com
947927e816 Renamed DeleteFrame() to Destroy()
git-svn-id: svn://10.0.0.236/trunk@40585 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 02:24:52 +00:00
hyatt%netscape.com
d6494b515f Landing the tree widget branch.
git-svn-id: svn://10.0.0.236/trunk@36435 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-23 03:02:21 +00:00
hyatt%netscape.com
b91d25c962 Added support for incremental reflow of nested row groups (yeah, baby, yeah, baby, YEAH).
git-svn-id: svn://10.0.0.236/trunk@35305 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 01:19:18 +00:00
hyatt%netscape.com
18e1eab082 More nested row group changes.
git-svn-id: svn://10.0.0.236/trunk@35282 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 23:42:16 +00:00
hyatt%netscape.com
7ea32ee2c4 More changes to allow tables to support nested row groups.
git-svn-id: svn://10.0.0.236/trunk@35129 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 08:01:00 +00:00
karnaze%netscape.com
0e237e981a support for backgrounds on table elements in both compatibility modes
git-svn-id: svn://10.0.0.236/trunk@34067 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 21:10:25 +00:00
mjudge%netscape.com
45583c2b3d 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.
git-svn-id: svn://10.0.0.236/trunk@33352 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-01 23:04:13 +00:00
mjudge%netscape.com
85ff7d2a69 reviewed sfraser approved choffman 6771 6762 UMR and Extreemly inefficient table selection code fixed simply
git-svn-id: svn://10.0.0.236/trunk@32354 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-20 00:52:00 +00:00
karnaze%netscape.com
d6b03337dc support for css padding in table cells
git-svn-id: svn://10.0.0.236/trunk@32042 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 05:18:16 +00:00
kipp%netscape.com
de60169b67 Reworked frame factory methods; fixed bug 4519
git-svn-id: svn://10.0.0.236/trunk@31154 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 22:03:29 +00:00
karnaze%netscape.com
871f0a7dd9 bug 3103 - resizing table based on height attribute now considers row spans of cells.
git-svn-id: svn://10.0.0.236/trunk@30149 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 19:15:56 +00:00
karnaze%netscape.com
4c449cb10f support for right-to-left direction
git-svn-id: svn://10.0.0.236/trunk@28645 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 03:51:58 +00:00
troy%netscape.com
39e58ce72d Overflow code and pushing code now take header/footer frames into
account


git-svn-id: svn://10.0.0.236/trunk@23289 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 05:29:37 +00:00
buster%netscape.com
c661625f46 fixed IsNested to account for outer table frame
removed obsolete debug code


git-svn-id: svn://10.0.0.236/trunk@22427 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 06:40:24 +00:00
troy%netscape.com
b51e46e943 Removed nsIFrame::CreateContinuingFrame()
git-svn-id: svn://10.0.0.236/trunk@21866 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 05:31:15 +00:00
troy%netscape.com
f293c578fd Changed nsIFrame::Init() to take an additional parameter
git-svn-id: svn://10.0.0.236/trunk@21843 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 03:27:57 +00:00
troy%netscape.com
70b1ea8e3f Added frame type atoms for several table frame classes
git-svn-id: svn://10.0.0.236/trunk@21708 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 05:54:31 +00:00
karnaze%netscape.com
6ccd350a1d collapsing rows, row groups, cols, col groups
git-svn-id: svn://10.0.0.236/trunk@20372 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 06:22:33 +00:00
troy%netscape.com
3635a7c72c Changed GetAdditionalChildListName() and FirstChild() to use ** instead
of *&


git-svn-id: svn://10.0.0.236/trunk@20212 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 02:25:01 +00:00
karnaze%netscape.com
f728c86270 work in progress for table visibility=collapse
git-svn-id: svn://10.0.0.236/trunk@19604 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 23:54:32 +00:00
hyatt%netscape.com
c05663e5e2 Made the table member variables protected so that the tree widget can
access them.


git-svn-id: svn://10.0.0.236/trunk@19584 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 22:35:03 +00:00
buster%netscape.com
d954257870 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


git-svn-id: svn://10.0.0.236/trunk@19028 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 18:49:32 +00:00
buster%netscape.com
4e86fbc278 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...


git-svn-id: svn://10.0.0.236/trunk@18806 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 19:29:24 +00:00
karnaze%netscape.com
46dc14a9bb scrollable row groups
git-svn-id: svn://10.0.0.236/trunk@17941 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-17 23:35:56 +00:00
kipp%netscape.com
4e355995e6 Spanked away SizeOf methods and nsIListFilter
git-svn-id: svn://10.0.0.236/trunk@17895 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-16 00:00:50 +00:00
kipp%netscape.com
c3040176bf Used revised version of nsContainerFrame that uses an nsFrameList instead of a raw nsIFrame*
git-svn-id: svn://10.0.0.236/trunk@17883 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 22:52:05 +00:00
troy%netscape.com
ecc9f6f19d Removed the content-parent frame pointer. Now we just have the one geometric
parent


git-svn-id: svn://10.0.0.236/trunk@17702 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 05:16:23 +00:00
troy%netscape.com
4e4c0aad37 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)


git-svn-id: svn://10.0.0.236/trunk@17126 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-05 00:41:40 +00:00
troy%netscape.com
9a7f94d20b Moved logic that deals with moving absolutely positioned frames out of the
flow to the frame construction code


git-svn-id: svn://10.0.0.236/trunk@16924 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-29 03:38:16 +00:00
buster%netscape.com
0b215739a8 WIP for collapsing borders
git-svn-id: svn://10.0.0.236/trunk@16846 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-23 15:47:43 +00:00
buster%netscape.com
324a98029b WIP for collapsing borders.
git-svn-id: svn://10.0.0.236/trunk@16763 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-21 19:20:37 +00:00
buster%netscape.com
9a780dd772 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.


git-svn-id: svn://10.0.0.236/trunk@16761 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-21 18:54:23 +00:00
buster%netscape.com
f0d639e1bc 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.


git-svn-id: svn://10.0.0.236/trunk@16742 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-21 06:38:18 +00:00
kipp%netscape.com
eaee82d4b3 Revised frame Paint API
git-svn-id: svn://10.0.0.236/trunk@16666 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 15:54:23 +00:00
buster%netscape.com
bb9c01d77b WIP on border collapsing
git-svn-id: svn://10.0.0.236/trunk@16619 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 22:59:40 +00:00
buster%netscape.com
acd2f83b0d WIP collapsing border implementation
added CompareBorderStyles, GetWidthForSide, ComputeCollapsedBorderSegment
we're now computing the left edge segments somewhat correctly.


git-svn-id: svn://10.0.0.236/trunk@16562 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 07:04:42 +00:00
buster%netscape.com
81b46aab62 WIP collapsing border work
git-svn-id: svn://10.0.0.236/trunk@16536 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 22:19:23 +00:00
buster%netscape.com
7e9d6c54cd WIP on collapsing borders
git-svn-id: svn://10.0.0.236/trunk@16519 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 17:05:14 +00:00
buster%netscape.com
415d59aa67 tables can now have independent horizontal and vertical cell spacing
("cellspacing" HTML attribute == "border-spacing" CSS property, go figure...)


git-svn-id: svn://10.0.0.236/trunk@16037 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 06:37:18 +00:00
troy%netscape.com
0a0b7ae6b0 Added new atoms to nsLayoutAtoms for additional named frame child lists
git-svn-id: svn://10.0.0.236/trunk@16032 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 05:30:17 +00:00
buster%netscape.com
9b1c517bdf 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


git-svn-id: svn://10.0.0.236/trunk@15824 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 05:27:21 +00:00
troy%netscape.com
016e99912d Changed table frame code to call DeleteFrameList() so that the col group
frames are deleted


git-svn-id: svn://10.0.0.236/trunk@15757 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 03:14:28 +00:00