Commit Graph

214 Commits

Author SHA1 Message Date
cmanske@netscape.com
e6b31901b6 Added support for Ctrl+Shift+mouseclick to select block of cells. Rewrote nsITableLayout::nsGetCellData() to be much more efficient, eliminating a method in the process. Implemented nsTableCellFrame::Get[Previous|Next]CellInColumn for cursor key navigation in tables. r=mjudge,karnaze. 2000-03-23 04:24:58 +00:00
dbaron@fas.harvard.edu
0db3c15533 Fix event targetting bugs by using paint layers in GetFrameForPoint, testing for visibility, and trying GetFrameForPoint on additional views if one fails. r=joki@netscape.com(, hyatt@netscape.com) b=12232,20051,21304,24474,26785, and remaining issues from 23161. 2000-03-22 02:43:08 +00:00
cmanske@netscape.com
864abb8b39 Fixed bugs in table selection. Added improvements to facilitate row and column selection. r=mjudge 2000-03-21 06:04:02 +00:00
pierre@netscape.com
ee71ad262f Fix 32199 (visibility:collapse is not being interpreted as hidden on block and inline level elements) and parts of 21701 (misuse of style attr mVisible). In the following files, replacing disp->mVisible with disp->IsVisible() is a BUG FIX: nsBlockFrame, nsBulletFrame, nsHRFrame, nsHTMLContainerFrame, nsImageFrame, nsTextFrame. In all the other files, replacing disp->mVisible with disp->IsVisible() or disp->IsVisibleOrCollapsed() is merely a SYNTACTICAL CHANGE. The respective owners will later review the use of IsVisibleOrCollapsed() and in some cases replace it with IsVisible(). See bug 21701. 2000-03-17 10:15:13 +00:00
karnaze@netscape.com
41295a1546 PDT+ bug 28933 - check for null pointer. r=attinasi, a=rickg 2000-03-04 01:05:18 +00:00
jdunn@netscape.com
d30b76c7fe Fix problem with NS_IF_ADDREF on member variables inside of const
member functions.  This includes removing all references to
NS_DEF_PTR and the including of nsIPtr.h

r=troy@netscape.com,dougt@netscape.com,scc@netscape.com
# 28114
a=chofmann@netscape.com
2000-02-17 23:19:18 +00:00
karnaze@netscape.com
8f3771c7aa bug 7112, PDT+ 1802 - added custom style rule to handle <th> text alignment. Other text alignment changes. r=attinasi 2000-02-16 01:08:54 +00:00
karnaze@netscape.com
ee63354f10 bug 10636, 15499(partial) - correctly get margin,border,padding from reflow info. calculate it for percentage padding when reflow state not available. r=troy 2000-02-12 01:55:40 +00:00
karnaze@netscape.com
d22f8603be bug 8524 - don't use -moz-bg-inset in standard mode. r=troy
bug 10269 - renamed RequiresPass1Layout to IsAutoLayout and have it force a fixed layout table (not tree) to be auto layout if the table is auto width.
2000-02-12 00:58:38 +00:00
pp@ludusdesign.com
baf799923b Converting ::GetIID() into NS_GET_IID(). Bug #20232. r=scc, r=mozbot 2000-02-02 22:24:56 +00:00
karnaze@netscape.com
ae130de1c4 bug 24880 colspan/rowspan=0 handling, bug 22122 handle *0 proportional width; r=kmcclusk. 2000-02-01 03:23:29 +00:00
karnaze@netscape.com
17ac04c796 bug 24037 r=attinasi; nsOuterTableFrame handles bad incremental reflow by using the height of its rect.
bug 23235 r=attinasi; nsTableRowFrame requests max element size when reflowing cell for the 1st time.
bug 24410 r=attinasi; nsTableCellFrame reflow always checks width and height and updates the content empty flag.
bug 3305 r=troy,hyatt; table frame constructor cleanup, put caption in its own child list.
2000-01-28 02:19:45 +00:00
karnaze@netscape.com
6056eb17e9 bugs 19061, 9879 - each top level row group gets its own cell map; CellData reduced to 4 bytes. 2000-01-13 05:29:38 +00:00
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
karnaze@netscape.com
f81d194173 bug 12287 - honors mComputed values in reflow state and uses CSS box-sizing property. 2000-01-02 22:55:48 +00:00
troy@netscape.com
f0465b161b Work-in-progress for having maximum width (needed by tables) be updated
incrementally
1999-12-30 04:15:45 +00:00
alecf@netscape.com
d9b2ec1c1d fix unix bustage once and for all 1999-12-14 00:24:33 +00:00
karnaze@netscape.com
f52136224a incremental cell map, columns. Bugs 12122, 21544. r=troy,hyatt a=hofmann 1999-12-13 22:56:31 +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
troy@netscape.com
3b67f2f17c WillReflow/DidReflow changes and changes to the way view positioning
and sizing works
1999-11-19 15:33:29 +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
c4938a2b05 b=6674, r=karnaze@netscape.com
Changed Paint() to set the clip rect only when the collapse offset isn't
(0, 0)
1999-10-27 23:01:21 +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
kipp@netscape.com
e01a845da1 Removed some more warnings 1999-10-22 14:51: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
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
karnaze@netscape.com
5950533219 bug 15993 - in quirks mode allocates space for a 1 pixel border if the content is empty and the table has a border. It was incorrectly, doing this even if the content was not empty. r=buster; asked permission from hook and got no response. 1999-10-18 13:45:41 +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
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
21462a686b bug 14818 - made standard mode like NavQuirks when handling colspans exceeding the number of columns. 1999-10-05 04:21:00 +00:00
troy@netscape.com
b189b723af Hooked up SizeOf() for cell map and table layout strategies. Also added in
some table frame data that was missed
1999-10-02 00:02:54 +00:00
karnaze@netscape.com
c6d3d55f05 bug 12910 - SetPass1MaxElementSize considers nowrap on cell 1999-09-30 14:11:16 +00:00
mjudge@netscape.com
95d94af406 changes to selection code to stop a never ending loop 1999-09-21 22:58:14 +00:00
mjudge@netscape.com
3e6ec6cee6 adding change for selection. modifing inside out behavior for table selection. drawing tables being seleted different. 1999-09-17 23:33:39 +00:00
kipp@netscape.com
e9732b7feb Squish a warning or two 1999-09-17 20:16:37 +00:00
karnaze@netscape.com
0ffd2b8631 bug 11776, stopped doing arithmetic on unconstrained sizes 1999-09-13 14:35:00 +00:00
karnaze@netscape.com
edbbb7d429 better handling of empty cell widths, especially involving colspans. support for bug 7121. 1999-09-10 18:55:46 +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
karnaze@netscape.com
573de9de7f backed out fix for bug 6674 because it broke resizing collapsing rows 1999-08-30 22:00:12 +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
kipp@netscape.com
86bc4da7e2 Fixed bug #6674 by honoring the css overflow property and only setting the clip rect when overflow is 'hidden' 1999-08-27 21:53:04 +00:00
karnaze@netscape.com
00f459927b bug 12590 - vertical-align:middle working on cell 1999-08-27 04:29:05 +00:00
karnaze@netscape.com
9f37cd96e7 replaced debug flags with class. removed compiler warnings. 1999-08-24 12:01:31 +00:00
troy@netscape.com
4a6cb485e3 Removed some code that was accidentally added back in the previous revisions 1999-08-21 21:17:23 +00:00