karnaze@netscape.com
b2ad600fd2
more peformance work on test case of bug 60494. Removed redundant calls to recompute colspan widths. Added more debug reflow timing code. r=peterl.
2001-02-01 02:29:14 +00:00
karnaze@netscape.com
181434195e
better table reflow debugging including support for elapsed time. sr=buster.
2001-01-25 15:55:51 +00:00
mcafee@netscape.com
99b5642905
Backing out pierre's change from 1/20 for performance reasons (66263). r=attinasi, a=granrose, phil
2001-01-25 02:58:12 +00:00
pierre@netscape.com
37a4efae45
#43457 split nsStyleSpacing into 4 smaller structures: nsStyleBorder, nsStylePadding, nsStyleMargin, nsStyleOutline. Review=attinasi. Pending Approval: buster.
2001-01-20 22:46:54 +00:00
karnaze@netscape.com
9b5b8f9a1b
bugs 47163, 60807 and others, sr=buster
...
simplified BasicTableLayoutStrategy's CalculateTotals and CanAllocate
better calculation of proportional cols
calculation of adjusted widths due to colspans honors the fixed and pct widths of cols being spanned
2000-12-19 20:29:46 +00:00
karnaze@netscape.com
b7605711d9
bug 59252 - fixed regression caused by bug 53690. Don't reflow cell's in a fixed layout table unconstrained. a=buster, r=attinasi.
2000-11-15 14:59:47 +00:00
karnaze@netscape.com
5bfec9ce78
bug 30418, 47252 - order row groups before performing most operations. r=attinasi.
2000-09-14 06:49:47 +00:00
attinasi@netscape.com
a0252400b9
Implemented GetParentContextProvider for the table frames to allow them to specify a frame other than their parent as the provider of their parent style context. b=45210 r=karnaze
2000-09-12 22:48:35 +00:00
karnaze@netscape.com
08751b6b5a
bug 39209 - don't use auto margins for max element size and maximum widths (when requested
...
during an incremntal reflow).
2000-09-11 00:02:04 +00:00
karnaze@netscape.com
a32f82f8dc
bug 14929 - Reallocate colspan adjusted col widths when there is a percent col being spanned.
2000-09-09 01:46:44 +00:00
karnaze@netscape.com
59d6a99d6d
bug 27529 - round column allocations to even pixel value. bug 18955 - don't allocate a col based on desired content if there is a fixed value. r=peterl.
2000-09-01 01:29:50 +00:00
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