anthonyd%netscape.com
20e7680b7c
r:mjudge
...
fix for bug# 29785, keyboard navigation of tables in editor
not completely fixed, tables with row|column span do not navigate correctly
git-svn-id: svn://10.0.0.236/trunk@69124 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 01:04:39 +00:00
karnaze%netscape.com
f1700ddd48
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.
git-svn-id: svn://10.0.0.236/trunk@68947 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 00:54:00 +00:00
troy%netscape.com
31435f5938
b=26792 r=karnaze@netscape.com Change to SplitRowGroup to handle the
...
case where GetCellInfoAt() returns NULL
git-svn-id: svn://10.0.0.236/trunk@67969 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 23:47:01 +00:00
karnaze%netscape.com
47f205f65f
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.
git-svn-id: svn://10.0.0.236/trunk@67566 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 21:05:31 +00:00
rods%netscape.com
a5da60889f
Add ifdef'ed Performance Reflow Counting code
...
git-svn-id: svn://10.0.0.236/trunk@66753 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 21:36:33 +00:00
dbaron%fas.harvard.edu
0936aaafab
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.
...
git-svn-id: svn://10.0.0.236/trunk@63689 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 02:43:08 +00:00
pierre%netscape.com
c84deb6d8c
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.
git-svn-id: svn://10.0.0.236/trunk@63284 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 10:15:13 +00:00
karnaze%netscape.com
7e4d5fb87f
PDT+ bug 29429 - incremental reflow and nested tables, r=troy, a=rickg
...
git-svn-id: svn://10.0.0.236/trunk@62467 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 08:45:26 +00:00
jdunn%netscape.com
659b2712ed
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
git-svn-id: svn://10.0.0.236/trunk@61237 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-17 23:19:18 +00:00
karnaze%netscape.com
19635b17c5
bug 10636, 15499(partial) - correctly get margin,border,padding from reflow info. calculate it for percentage padding when reflow state not available. r=troy
...
git-svn-id: svn://10.0.0.236/trunk@60564 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-12 01:55:40 +00:00
troy%netscape.com
1b7a0dd5ff
r=karnaze@netscape.com Performance improvement for tables. During the initial
...
reflow we skip the pass2 reflow if it's an unconstrained reflow
git-svn-id: svn://10.0.0.236/trunk@60427 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 03:55:33 +00:00
karnaze%netscape.com
80375a5194
bug 7714 - better row height allocation for rows with no cells originating in them, r=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@59720 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-04 02:49:27 +00:00
jst%citec.fi
e4f760e7d6
Fixing linux build bustage, added missing .get()'s on nsCOMPtr's. r=kin@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@59652 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-03 15:41:04 +00:00
karnaze%netscape.com
4b40120aae
bug 7741 - handling of overlapping rowspans, r=troy.
...
git-svn-id: svn://10.0.0.236/trunk@59648 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-03 14:04:49 +00:00
karnaze%netscape.com
28c87201ae
bug 24880 colspan/rowspan=0 handling, bug 22122 handle *0 proportional width; r=kmcclusk.
...
git-svn-id: svn://10.0.0.236/trunk@59353 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-01 03:23:29 +00:00
troy%netscape.com
60471abd92
b=21657 a=chofmann@netscape.com Made "overflow list" a full fledged
...
child list and changed ReparentFrameView() to check it.
git-svn-id: svn://10.0.0.236/trunk@58373 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-22 01:16:50 +00:00
troy%netscape.com
42e89e8a79
b=21657. Changed row frame code to correctly determine if it's complete
...
after an incremental reflow. Fixes crash when printing www.cnn.com
git-svn-id: svn://10.0.0.236/trunk@58016 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-17 17:45:17 +00:00
hyatt%netscape.com
dc1f512c08
Added support for snapping a tree widget to a certain row height. r=pavlov
...
git-svn-id: svn://10.0.0.236/trunk@57990 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-17 03:57:00 +00:00
karnaze%netscape.com
b431334299
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.
git-svn-id: svn://10.0.0.236/trunk@57952 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-15 20:10:00 +00:00
troy%netscape.com
9e1dd197b1
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
git-svn-id: svn://10.0.0.236/trunk@57909 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-15 05:39:58 +00:00
karnaze%netscape.com
ff253260b5
bugs 19061, 9879 - each top level row group gets its own cell map; CellData reduced to 4 bytes.
...
git-svn-id: svn://10.0.0.236/trunk@57635 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-13 05:29:38 +00:00
karnaze%netscape.com
619f9e6d57
bug 12287 - honors mComputed values in reflow state and uses CSS box-sizing property.
...
git-svn-id: svn://10.0.0.236/trunk@56648 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-02 22:55:48 +00:00
karnaze%netscape.com
9729119ade
removed caching of collapsed rows and cols as a likely fix for non reproducable bug 21652. a=hofmann, r=hyatt
...
git-svn-id: svn://10.0.0.236/trunk@56075 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-16 01:51:06 +00:00
hyatt%netscape.com
37ace2ec21
Fix for bug #21703 . r=karnaze, a=chofmann
...
git-svn-id: svn://10.0.0.236/trunk@56070 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-16 00:37:03 +00:00
karnaze%netscape.com
6ffe908f39
incremental cell map, columns. Bugs 12122, 21544. r=troy,hyatt a=hofmann
...
git-svn-id: svn://10.0.0.236/trunk@55939 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-13 22:56:31 +00:00
hyatt%netscape.com
7e24c61109
Implementing a generalized recycler and arena for all layout frames. Hoping to improve
...
bug #9489 . Should also definitely fix bug #15916 . r=troy
git-svn-id: svn://10.0.0.236/trunk@55321 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 23:49:50 +00:00
tbogard%aol.net
ae5a81e394
Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc
...
git-svn-id: svn://10.0.0.236/trunk@54392 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 06:03:41 +00:00
troy%netscape.com
3f61543a91
WillReflow/DidReflow changes and changes to the way view positioning
...
and sizing works
git-svn-id: svn://10.0.0.236/trunk@53998 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-19 15:33:29 +00:00
dmose%mozilla.org
92d791b7b0
updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@52908 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:40:37 +00:00
troy%netscape.com
3513334988
Moved a bunch of stuff out to a nsIFrameDebug interface
...
git-svn-id: svn://10.0.0.236/trunk@52427 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-01 22:12:45 +00:00
troy%netscape.com
88c4d96e2c
Folded reflow functions into nsIFrame and eliminated nsIFrameReflow and
...
nsIHTMLReflow. This saves 4 bytes per frame and cleans things up
git-svn-id: svn://10.0.0.236/trunk@52309 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-30 02:52:11 +00:00
karnaze%netscape.com
b2c6378cf2
bug 17375 - better checks and casting before calling DidAppendRow
...
git-svn-id: svn://10.0.0.236/trunk@52243 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-29 20:25:13 +00:00
troy%netscape.com
58248e0de3
Fix for bug #16649 . Didn't actually change anything. Just restored some
...
code that was clobbered by revision 3.153
git-svn-id: svn://10.0.0.236/trunk@52195 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-29 04:57:02 +00:00
troy%netscape.com
bd46e7911f
Changed SetView/GetView to take an additional argument which is the
...
pres context
git-svn-id: svn://10.0.0.236/trunk@51822 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-26 04:44:41 +00:00
karnaze%netscape.com
ed05316f46
bug 12012 - RemoveFrame was using stale style display. r=dcone
...
git-svn-id: svn://10.0.0.236/trunk@51442 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-21 22:33:30 +00:00
troy%netscape.com
dced08401d
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
git-svn-id: svn://10.0.0.236/trunk@51358 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-21 05:11:43 +00:00
troy%netscape.com
4e1923d3ad
Hooked up SizeOf() for cell map and table layout strategies. Also added in
...
some table frame data that was missed
git-svn-id: svn://10.0.0.236/trunk@49622 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-02 00:02:54 +00:00
mjudge%netscape.com
cbf04231bb
adding change for selection. modifing inside out behavior for table selection. drawing tables being seleted different.
...
git-svn-id: svn://10.0.0.236/trunk@48081 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 23:33:39 +00:00
troy%netscape.com
0bfb91d8a1
Added support for incremental table painting
...
git-svn-id: svn://10.0.0.236/trunk@47088 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-13 03:19:39 +00:00
troy%netscape.com
965583c2cd
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()
git-svn-id: svn://10.0.0.236/trunk@45448 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 05:16:12 +00:00
kipp%netscape.com
eea3ab916a
Updated SizeOf methods to not waste space when doing a non-debug build
...
git-svn-id: svn://10.0.0.236/trunk@45397 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 01:02:16 +00:00
kipp%netscape.com
c9002f20df
Reimplemented SizeOf methods in some of the frame classes; partial rework of first-line handling snapshot
...
git-svn-id: svn://10.0.0.236/trunk@45274 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 03:09:40 +00:00
troy%netscape.com
c45af7c51f
Changing tables to return max element size during an incremental reflow
...
git-svn-id: svn://10.0.0.236/trunk@45209 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-30 22:30:32 +00:00
hyatt%netscape.com
fe110b68b9
Tweaks to be able to see the RowReflowState over in trees
...
git-svn-id: svn://10.0.0.236/trunk@44961 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-28 00:43:53 +00:00
karnaze%netscape.com
112f671dfe
replaced debug flags with class. removed compiler warnings.
...
git-svn-id: svn://10.0.0.236/trunk@44283 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 12:01:31 +00:00
karnaze%netscape.com
1ae768f9a1
bug 11944 - correct placement of row group using table border/padding. bug 625 - reinitialized col sizes before 2nd pass 1 reflow.
...
git-svn-id: svn://10.0.0.236/trunk@43971 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-21 06:38:07 +00:00
troy%netscape.com
7ff87b81d8
Optimized CalculateRowHeights() to skip step 2 if there are no cells that
...
have row spans
git-svn-id: svn://10.0.0.236/trunk@43898 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-20 23:27:39 +00:00
karnaze%netscape.com
5e4439a661
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
git-svn-id: svn://10.0.0.236/trunk@43641 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 19:52:37 +00:00
troy%netscape.com
8a85938908
Changed to table incremental reflow
...
git-svn-id: svn://10.0.0.236/trunk@43548 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 03:51:25 +00:00
peterl%netscape.com
0f4290ca67
moved scrolled content pseudo atom to layout atoms
...
git-svn-id: svn://10.0.0.236/trunk@42687 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-08 01:19:36 +00:00