rods@netscape.com
c468a68fcc
Add ifdef'ed Performance Reflow Counting code
2000-04-21 21:36:33 +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
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
aa6a03b2da
PDT+ bug 29429 - incremental reflow and nested tables, r=troy, a=rickg
2000-03-09 08:45:26 +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
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
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
karnaze@netscape.com
bf75b53cea
bug 7714 - better row height allocation for rows with no cells originating in them, r=attinasi
2000-02-04 02:49:27 +00:00
jst@citec.fi
6146f956d8
Fixing linux build bustage, added missing .get()'s on nsCOMPtr's. r=kin@netscape.com
2000-02-03 15:41:04 +00:00
karnaze@netscape.com
704962da90
bug 7741 - handling of overlapping rowspans, r=troy.
2000-02-03 14:04:49 +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
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
troy@netscape.com
3f9b4d3ca9
b=21657. Changed row frame code to correctly determine if it's complete
...
after an incremental reflow. Fixes crash when printing www.cnn.com
2000-01-17 17:45:17 +00:00
hyatt@netscape.com
098e53dc2c
Added support for snapping a tree widget to a certain row height. r=pavlov
2000-01-17 03:57:00 +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
troy@netscape.com
7bf3fa55c9
Fixed problems with incremental reflow code that wasn't checking the display
...
type to tell whether the frame was a row frame. This was causing problems on
www.cnn.com, because for some odd reason there is a text frame inserted in the
row group. That caused us to incorrectly calculate the max-element-size
2000-01-15 05:39: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
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
hyatt@netscape.com
a3b36234ca
Fix for bug #21703 . r=karnaze, a=chofmann
1999-12-16 00:37:03 +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
8f4132f4cd
bug 17375 - better checks and casting before calling DidAppendRow
1999-10-29 20:25:13 +00:00
troy@netscape.com
d372419aa7
Fix for bug #16649 . Didn't actually change anything. Just restored some
...
code that was clobbered by revision 3.153
1999-10-29 04:57:02 +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
karnaze@netscape.com
fcb1d0f827
bug 12012 - RemoveFrame was using stale style display. r=dcone
1999-10-21 22:33:30 +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
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
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
troy@netscape.com
a4c143e671
Added support for incremental table painting
1999-09-13 03:19:39 +00:00
troy@netscape.com
d84b7710e8
Optimized IR_TargetIsChild() so in the simple case where the row frame
...
has no cells that span into or across the row we don't call CalculateRowHeights()
1999-09-01 05:16:12 +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
612c30212d
Tweaks to be able to see the RowReflowState over in trees
1999-08-28 00:43:53 +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
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
troy@netscape.com
f546a45217
Optimized CalculateRowHeights() to skip step 2 if there are no cells that
...
have row spans
1999-08-20 23:27:39 +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
peterl@netscape.com
f40eb01f74
moved scrolled content pseudo atom to layout atoms
1999-08-08 01:19:36 +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
troy@netscape.com
ec7791f73c
Changed to new command reflow handling
1999-08-03 02:41:27 +00:00
troy@netscape.com
42e86782a6
Finished cleanup of reflow command handling
1999-08-02 02:18:33 +00:00
troy@netscape.com
a31590a4de
Work-in-progress for table handling of reflow commands
1999-08-01 22:01:37 +00:00