Commit Graph

671 Commits

Author SHA1 Message Date
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
troy@netscape.com
b25c08bdd4 r=karnaze@netscape.com Performance improvement for tables. During the initial
reflow we skip the pass2 reflow if it's an unconstrained reflow
2000-02-11 03:55:33 +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
cmanske@netscape.com
06526a3316 Part of composer table edit work (bug 20973): Return NS_TABLELAYOUT_CELL_NOT_FOUND instead of error when a cell isn't found at a cellmap location. r=mjudge. 2000-02-01 23:39:37 +00:00
troy@netscape.com
113eee88d9 b=25834 r=karnaze@netscape.com Changed to ignore the reflow status when
reflowing an unknown frame (i.e., a frame that isn't a row group)
2000-02-01 04:30:04 +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
troy@netscape.com
78b0d681d6 r=nisheeth@netscape.com Added asserts to help catch the case of poorly
targeted reflow commands
2000-01-26 22:11:47 +00:00
cmanske@netscape.com
ae2622d2e2 Table editing (bug 20973): return reported and actual rowspan and colspan values from GetCellDataAt(), r=karnaze 2000-01-26 14:56:06 +00:00
troy@netscape.com
6e62861888 b=22325. When resizing the row groups and rows because the table has an
explict height, we need to make sure any child views are re-positioned.
This doesn't solve the flicker problem but now edit fields are all in
the right place, and it's good enough that Buster can do his clothes
shoping
2000-01-25 03:11:24 +00:00
troy@netscape.com
67f034175a b=21657 a=chofmann@netscape.com Made "overflow list" a full fledged
child list and changed ReparentFrameView() to check it.
2000-01-22 01:16:50 +00:00
hyatt@netscape.com
1b23eb253e Fixing tree regression from a table checkin. 2000-01-17 01:10:41 +00:00
karnaze@netscape.com
29f042cbc6 fixed printing assertions; more throughly check cell map usage for contuining frames;
fixed bug 24057; r=kmcclusk,cmanske; could not run mail smoke tests due to prior bustage.
2000-01-15 20:10:00 +00:00
hyatt@netscape.com
7266d8680c Fix for chinatimes/tinderbox crasher. r=karnaze 2000-01-13 20:22:19 +00:00
troy@netscape.com
b633ddbd7f b=22937, r=karnaze@netscape.com Fixed problem in paginated reflow 2000-01-13 15:47:58 +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
troy@netscape.com
f3e52bf984 b=23239. Changed tables to incrementally update maximum width (natural width)
if requested. Now we only do a single reflow when processing table cell
incremental reflow instead of the three reflows we had to do before
2000-01-11 15:55:31 +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
f3d27b537f fixed tinderbox warnings 2000-01-03 00:56:12 +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
sspitzer@netscape.com
e03f762b2f fix warnings 1999-12-28 19:41:57 +00:00
karnaze@netscape.com
201b9110f8 bug 21918 typo in calling InsertRowGroups, r=sdagley,syd 1999-12-17 06:52:37 +00:00
karnaze@netscape.com
e6d2f07284 bug 21143/21765, collapsed rows/cols not displayng when expanded. 1999-12-16 06:29:50 +00:00
karnaze@netscape.com
7d51e2dae1 removed caching of collapsed rows and cols as a likely fix for non reproducable bug 21652. a=hofmann, r=hyatt 1999-12-16 01:51:06 +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
evaughan@netscape.com
e9aaa04ce3 1) created an nsIScrollableFrame interface make it possible for Chris K to fix PDP+ bug #12122
-r Troy
1999-12-07 03:36:05 +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
karnaze@netscape.com
5cb4dc82eb put back to rev 3.340 due to mail/news regressions. 1999-11-11 18:22:57 +00:00
karnaze@netscape.com
62ff07de0a fixed crash (cnn and other sites with javascript) in nsCellMap due to it not being invalidated. 1999-11-11 05:43:35 +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
karnaze@netscape.com
f8f498aeb2 crash on abc - calls EnsureColumns upon entering reflow if appropriate 1999-11-05 22:33:04 +00:00
karnaze@netscape.com
c6b7bedf88 ComputeDesiredHeight - removed potential error if first child is not a row group. 1999-11-02 15:41:38 +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
5e5f240649 Folded reflow functions into nsIFrame and eliminated nsIFrameReflow and
nsIHTMLReflow. This saves 4 bytes per frame and cleans things up
1999-10-30 02:52:11 +00:00
karnaze@netscape.com
a77bd94634 simplified caching of column frames. split out collapsing border processing into nsBorderCollapser (checked in previously). r=troy 1999-10-28 04:09:39 +00:00
kipp@netscape.com
fa81f35a28 Backed out chris's accidental checkin (don't ask) 1999-10-27 15:57:35 +00:00
karnaze@netscape.com
a2d0531a93 hello 1999-10-27 15:55:31 +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
troy@netscape.com
5f859ff871 r=kipp@netscape.com
Added API to get/set properties on frames. Also changed nsContainerFrame
to use a property to implement the frame overflow list. This saves 4 bytes
per container frames
1999-10-21 05:11:43 +00:00
karnaze@netscape.com
c09d24711b bug 14915 - fix crash. 1999-10-21 00:11:55 +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
karnaze@netscape.com
24f4ebeb02 pass2 reflow doesn't request max element sizes to help with bug 14855. Reviewers didn't respond. 1999-10-15 04:09:22 +00:00
troy@netscape.com
05864ef82a Space reductions for nsTableFrame. r=karnaze@netscape.com and changes Cc'd to
Hyatt. Tested extensively in apprunner (now mozilla). Change was to reduce from
10 to 5 the default size of the mColumnWidths array (note that the array is
dynamically grown if necessary). This reduces by 20 bytes the minimum table
frame size
1999-10-14 04:27:01 +00:00
troy@netscape.com
41f620b261 Changes to SizeOf() code only. This code is debug code that only runs
when you chose the "Show Frame Sizes" menu item...
1999-10-08 23:18:19 +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