Commit Graph
93 Commits
Author SHA1 Message Date
karnaze@netscape.com c9dc5d6004 bug 22246 - row/col span changes on cell alter cell map and reflow table. r=kmcclusk 2000-01-04 05:31:56 +00:00
troy@netscape.com d400779f00 Reduced size of table cell member data by 4 bytes by only storing the
maximum width and not both the width and height. The height was never used
so this wans't an issue
1999-12-24 03:46:21 +00:00
hyatt@netscape.com 9a7a1b27f7 Implementing a generalized recycler and arena for all layout frames. Hoping to improve
bug #9489.  Should also definitely fix bug #15916. r=troy
1999-12-04 23:49:50 +00:00
tbogard@aol.net 617bb737a6 Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc 1999-11-24 06:03:41 +00:00
dmose@mozilla.org 796280940b updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
troy@netscape.com bf2283fba6 Moved a bunch of stuff out to a nsIFrameDebug interface 1999-11-01 22:12:45 +00:00
troy@netscape.com b8ef6465be Changed SetView/GetView to take an additional argument which is the
pres context
1999-10-26 04:44:41 +00:00
troy@netscape.com 0260c6d97e r=karnaze@netscape.com
Save 8 bytes per table cell frame by eliminating mCollapseOffset and
using a frame property instead.
1999-10-22 02:06:22 +00:00
troy@netscape.com 0d03dffefb Removed unused 4-byte "mMaxElementSize" member data 1999-10-21 20:51:04 +00:00
karnaze@netscape.com ff974f4fc1 Remove caching cell spacing as margin on cells, reducing 16 bytes and avoiding potentially unique style contexts; simplified cell margin calculations; r=troy 1999-10-20 14:18:56 +00:00
troy@netscape.com d2b13e844f r=karnaze@netscape.com Cc'd hyatt@netscape.com
Space optimization. mBorderEdges is no longer an embedded object. Now it's
allocated when needed (for collapsing border model tables only). This saves
80 bytes per table cell frame for the normal HTML case of adjacent border
model
1999-10-17 03:30:11 +00:00
troy@netscape.com adadef5a7f Space optimization, r=karnaze@netscape.com Cc'd hyatt@netscape.com
Save 4 bytes by eliminating the mCalculated data member which wasn't being used
1999-10-16 16:17:07 +00:00
troy@netscape.com 13ff867399 Space savings. r=karnaze@netscape.com Cc'd hyatt@netscape.com
Eliminated member data mIsContentEmpty and now we use a frame state bit
instead. This saves 4 bytes of space per table cell frame
1999-10-15 03:14:59 +00:00
slamm@netscape.com b6bb2da28a Backout troy's last set of changes. Caused bug #15790, 'opening bookmarks window and expanding mail folders crashes'. r=waterson. 1999-10-08 18:52:19 +00:00
troy@netscape.com 9d30790ef7 Space reductions, r=karnaze@netscape.com
Eliminated one data member, moved one to flag frame state, and changed mBorderEdges
to be heap allocated (only for collapsing border model)
1999-10-07 20:38:50 +00:00
karnaze@netscape.com c6d3d55f05 bug 12910 - SetPass1MaxElementSize considers nowrap on cell 1999-09-30 14:11:16 +00:00
karnaze@netscape.com f8e91b1d3e bugs 965, 1053, 1163 - improved handling of borders; bug 10216 align, text-align on caption. 1999-09-02 00:07:14 +00:00
kipp@netscape.com 0d0c583aac Updated SizeOf methods to not waste space when doing a non-debug build 1999-09-01 01:02:16 +00:00
kipp@netscape.com 3dbd670c62 Reimplemented SizeOf methods in some of the frame classes; partial rework of first-line handling snapshot 1999-08-31 03:09:40 +00:00
troy@netscape.com 3e3fb7845d Fix for bug #12592. Optimized style change reflow commands targeted at
a cell frame
1999-08-29 04:18:00 +00:00
karnaze@netscape.com 1be27de6a7 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
1999-08-19 19:52:37 +00:00
cmanske@netscape.com d2e54fe537 Added method to nsITableCellLayout. Fixed QI bug 1999-08-04 02:04:45 +00:00
troy@netscape.com bc20c459b0 Reflow command cleanup 1999-08-01 22:21:03 +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
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
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
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
ramiro@netscape.com fa4bc8967c Latest AIX fixes. (waqar@netscape.com).
When doing the multiple inheritance thing, explicitly give the publicness
for each superclass.
1999-03-08 15:13:54 +00:00
warren@netscape.com 6e6f52cc95 Fixed multiple mRefCnt problem. 1999-03-06 03:56:24 +00:00
troy@netscape.com ca28eafb7d Removed nsIFrame::CreateContinuingFrame() 1999-02-25 05:31:15 +00:00
troy@netscape.com 5a1fc226a0 Added frame type atoms for several table frame classes 1999-02-24 05:54:31 +00:00
troy@netscape.com 1ca187994f Changed GetRowIndex() so that for continued cell frames the row index is
that of the cell's first-in-flow
1999-02-21 19:55:22 +00:00
karnaze@netscape.com 7e546edce3 collapsing rows, row groups, cols, col groups 1999-02-11 06:22:33 +00:00
buster@netscape.com 5e4ec66b0e changed getters to be XP_COM-like, with out-params instead of return values.
this is so these getters can be bound to an XPCOM interface, nsITableCellLayout
1999-02-11 01:16:28 +00:00
troy@netscape.com 48040900a7 Changed GetParent() to use ** instead of *& 1999-02-10 01:36:30 +00:00
kipp@netscape.com b1fe154193 Spanked away SizeOf methods and nsIListFilter 1999-01-16 00:00:50 +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
buster@netscape.com 89b7e2a34a preliminary work for cell inheritence of valign and halign attributes from col(group) and row(group)
according to css 2 spec
1999-01-03 19:22:40 +00:00
buster@netscape.com 00c12119a8 collapsing border computation and conflict resolution 1998-12-30 06:48:15 +00:00
buster@netscape.com 7663d54636 WIP for collapsing borders 1998-12-23 15:47:43 +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 21e5c878dd WIP on collapsing borders 1998-12-16 17:05:14 +00:00
buster@netscape.com 4731270984 clean up, removed some obsolete methods 1998-12-16 06:33:15 +00:00
troy@netscape.com c270df9667 Removed SetColIndex() which wasn't being used 1998-12-16 01:35:25 +00:00
buster@netscape.com 21df6dded4 support for CSS2 style property "empty-cells" 1998-12-10 19:57:42 +00:00
troy@netscape.com a1854c5e92 Moved logic that created a BODY frame that forms the cell's content from the
table frame code to the frame construction code
1998-12-04 02:08:51 +00:00
buster@netscape.com 5bd9aecd8e minor optimizations and cleanup. removed constructors that did nothing. 1998-12-03 20:19:01 +00:00