karnaze@netscape.com
c1a67bf11e
bug 43732 - correctly calculate preferred width of table and cache it. r=syd.
2000-07-06 13:37:28 +00:00
anthonyd@netscape.com
71ccee07a0
r:mjudge
...
fix for bug# 29785, keyboard navigation of tables in editor
not completely fixed, tables with row|column span do not navigate correctly
2000-05-11 01:04:39 +00:00
karnaze@netscape.com
d5977cf08e
bug 29459 - strategy's table min and max width is calculated to include
...
percent and proportional cells. Stopped caching it. Calculate max element size better.
2000-05-10 00:54:00 +00:00
karnaze@netscape.com
92f336c9ea
new reflow/layout code for outer table to handle captions and margins. better % height handling.
...
row groups and rows don't include external cellspacing in there dimensions. r=troy.
2000-04-28 21:05:31 +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
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
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
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
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
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
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
f81d194173
bug 12287 - honors mComputed values in reflow state and uses CSS box-sizing property.
2000-01-02 22:55:48 +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
alecf@netscape.com
d9b2ec1c1d
fix unix bustage once and for all
1999-12-14 00:24:33 +00:00
alecf@netscape.com
cf702a628f
argh, back that out, it makes it even worse
1999-12-14 00:14:56 +00:00
alecf@netscape.com
cde75bd937
fix unix bustage
1999-12-14 00:01:55 +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
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
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
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
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
250138b641
Space optimization for nsTableFrame. r=karnaze@netscape.com
...
- changed mBorderEdges to be heap allocated (only needed for collapsing border model)
- made the 8 boolean data members into bitfields
- changed mColumnWidths to be as small as necessary instead of defaulting its size to 100 elements
1999-10-04 23:48:05 +00:00
karnaze@netscape.com
f7ff6a02eb
column allocation does fixed and adjusted fixed (colspans) in separate steps. Simplified AllocateConstrained. Fixed bug 14332.
1999-10-04 05:19:32 +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
32301a03cc
Changing tables to return max element size during an incremental reflow
1999-08-30 22:30:32 +00:00
hyatt@netscape.com
f333714ebf
Changes to the cell map to support incremental insertion and removal of rows. Currently
...
only used by the tree widget.
1999-08-30 00:01:09 +00:00
karnaze@netscape.com
bec7a58f27
bug 12287 - removed nsTableFrame::GetContainerWidth, renamed TableIsAutoWidth to IsAutoWidth and simplified.
1999-08-27 21:15:21 +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
ab94a62954
bug 1271 - percentage height cells, added GetNumCellsOriginatingInRow, fixed GetNumCellsOriginatingInCol
1999-08-25 21:49:18 +00:00
karnaze@netscape.com
9f37cd96e7
replaced debug flags with class. removed compiler warnings.
1999-08-24 12:01:31 +00:00
karnaze@netscape.com
51f510d09f
bug 11026 - rounding error on balancing when max element size is too large.
1999-08-23 04:41:30 +00:00
karnaze@netscape.com
7c6d931994
bug 11944 - correct placement of row group using table border/padding. bug 625 - reinitialized col sizes before 2nd pass 1 reflow.
1999-08-21 06:38:07 +00:00
karnaze@netscape.com
9eb02eeb70
bug 11944 - row group is properly offset using table border. cleaned up new incremental reflow methods.
1999-08-20 23:27:54 +00:00
karnaze@netscape.com
86bc1cbc73
fix mac bustage
1999-08-19 20:36:52 +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
troy@netscape.com
454b06e71e
Changed to table incremental reflow
1999-08-19 03:51:25 +00:00
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