366 Commits

Author SHA1 Message Date
timeless%mac.com
534247895d fix Bug 70989 Clean up lots of "shadows" and other common warnings
r=peterv, jst, ducarroz, edburns. sr=jst, shaver


git-svn-id: svn://10.0.0.236/trunk@89986 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 05:32:22 +00:00
karnaze%netscape.com
c76866e3ea table reflow coalescing, table reflow face lift. sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@89462 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 06:38:59 +00:00
rbs%maths.uq.edu.au
1a3029c4da Avoid ignorable whitespace in tables by setting the frame state-bit to this effect - bug 68411 r=karnaze sr=waterson
git-svn-id: svn://10.0.0.236/trunk@87804 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 12:35:34 +00:00
pierre%netscape.com
8944a57fe0 Reinstate my changes that were backed out 10 days ago. #43457 split nsStyleSpacing into 4 smaller structures: nsStyleBorder, nsStylePadding, nsStyleMargin, nsStyleOutline. r=attinasi,sr=buster.
git-svn-id: svn://10.0.0.236/trunk@86533 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 09:57:26 +00:00
rods%netscape.com
b23e7af50b This checkin enables mozilla to support the printing of selection, the printing of page ranges, and
the printing of headers and footers.
Printing of selection is implemented by the frames figuring out if they are in the selection and painting
if they or not they they don't paint. This also only allows the printing of the first page of
selections, alothough it is well documented where this is implemeted so it can be removed.
Bugs 63426, 31218, 61075 r=dcone,kmcclusk,erik,buster sr=waterson


git-svn-id: svn://10.0.0.236/trunk@85624 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 14:09:34 +00:00
karnaze%netscape.com
d95bd4f152 better table reflow debugging including support for elapsed time. sr=buster.
git-svn-id: svn://10.0.0.236/trunk@85493 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 15:55:51 +00:00
mcafee%netscape.com
644a6ffc68 Backing out pierre's change from 1/20 for performance reasons (66263). r=attinasi, a=granrose, phil
git-svn-id: svn://10.0.0.236/trunk@85463 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 02:58:12 +00:00
pierre%netscape.com
148e913722 #43457 split nsStyleSpacing into 4 smaller structures: nsStyleBorder, nsStylePadding, nsStyleMargin, nsStyleOutline. Review=attinasi. Pending Approval: buster.
git-svn-id: svn://10.0.0.236/trunk@85210 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-20 22:46:54 +00:00
karnaze%netscape.com
a7ed9d39d0 bug 46623 - allocate proportional and auto cols together when balancing columns. (sr=buster, r=peterl)
allow columns (due to colspan) containing no originating cols at the end of the table to exist


git-svn-id: svn://10.0.0.236/trunk@84899 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-12 23:07:54 +00:00
karnaze%netscape.com
2712b6c214 bug 57828 - better handling of nowrap in table cell. sr=buster, r=attinasi.
git-svn-id: svn://10.0.0.236/trunk@84820 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-11 23:03:37 +00:00
rods%netscape.com
a6e0d47c5a removing most all NS_DEFINE_IID and replacing them with NS_GET_IID macros
Bug 61274, r=buster sr=waterson


git-svn-id: svn://10.0.0.236/trunk@84377 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 20:44:42 +00:00
karnaze%netscape.com
3a6c654791 bug 40721 - improved TallestCellGotShorter(), sr=buster, r=rods
git-svn-id: svn://10.0.0.236/trunk@83965 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-21 23:03:42 +00:00
karnaze%netscape.com
b405a325ad bug 40828 - call DidSetStyleContext when reflow a cell unconstrained. a=buster, r=dcone.
git-svn-id: svn://10.0.0.236/trunk@82640 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-15 16:01:26 +00:00
karnaze%netscape.com
90f01b8db4 bug 59252 - fixed regression caused by bug 53690. Don't reflow cell's in a fixed layout table unconstrained. a=buster, r=attinasi.
git-svn-id: svn://10.0.0.236/trunk@82638 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-15 14:59:47 +00:00
karnaze%netscape.com
8e0ac00366 bug 53690 - don't allow a split row to reflow its cells unconstrained. a=buster, r=dcone.
git-svn-id: svn://10.0.0.236/trunk@82268 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-03 04:25:29 +00:00
buster%netscape.com
c94c187442 bug 53690 part of table never displayed because of incremental reflow bug
r=karnaze
a=waterson


git-svn-id: svn://10.0.0.236/trunk@81995 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-30 04:15:32 +00:00
warren%netscape.com
a8b9664a8c Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
git-svn-id: svn://10.0.0.236/trunk@81967 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 22:17:53 +00:00
warren%netscape.com
c6b67eceeb Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
git-svn-id: svn://10.0.0.236/trunk@81885 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 22:43:51 +00:00
karnaze%netscape.com
cbfbe360c4 bug 51392 - use nothing changed flag when deciding whether to rebalance table during row incremental reflow. a=buster, r=peterl
git-svn-id: svn://10.0.0.236/trunk@80471 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 21:05:06 +00:00
peterlubczynski%netscape.com
c57b75e783 Fix for bug 46368. Fixed cellMet.mMaximumWidth for incremental reflow. r=karnaze
git-svn-id: svn://10.0.0.236/trunk@78792 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 22:58:59 +00:00
karnaze%netscape.com
da24e59c65 bug 45350 - correctly consider rowspan height in table row incremental reflow
git-svn-id: svn://10.0.0.236/trunk@78139 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 14:57:34 +00:00
buster%netscape.com
4c55aad9ff bug 48295 (floating nested table height initially 0, makes layout wrong)
r=karnaze
values from the wrong struct were getting passed into SetTallestCell


git-svn-id: svn://10.0.0.236/trunk@77723 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 02:57:58 +00:00
buster%netscape.com
0a65af6558 bug 3992
chris k did the work.
r=buster


git-svn-id: svn://10.0.0.236/trunk@77060 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 05:03:18 +00:00
rbs%maths.uq.edu.au
b082477bba Enable the code to support for 'vertical-align: baseline' in table-cells. bug 10207. a:waterson@mozilla.org. was r:karnaze@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@75039 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 09:19:26 +00:00
karnaze%netscape.com
14ce92879a bug 40721 - put back fix that was erroneously backed out. r=rods from before.
git-svn-id: svn://10.0.0.236/trunk@73763 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 13:58:54 +00:00
karnaze%netscape.com
0810fad6c2 bug 42726 - back out previous checkin.
git-svn-id: svn://10.0.0.236/trunk@72328 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 23:39:49 +00:00
karnaze%netscape.com
7e1b9a4668 bug 40721 - better in determining if height of a cell gets smaller during incremental reflow, r=rods
git-svn-id: svn://10.0.0.236/trunk@72312 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 14:31:12 +00:00
rbs%maths.uq.edu.au
ddcfbea4a3 [#ifdef MOZ_MATHML: not yet part of default build]. Add support for 'vertical-align: baseline' in table-cells. bug 10207. r:karnaze@netscape.com. a:waterson@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@71514 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 08:25:11 +00:00
alecf%netscape.com
7ad6d31130 fix #ifdefs to quiet output (speeds up display of complex tables like tinderbox and slashdot.org) - does not affect release builds
git-svn-id: svn://10.0.0.236/trunk@71483 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-04 09:44:08 +00:00
karnaze%netscape.com
8cc9e6956a nsbeta2+ bug 39885 - invalidate minimal areas. optimize reflows when cells don't change size. r=attinasi
git-svn-id: svn://10.0.0.236/trunk@70866 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 22:40:21 +00:00
karnaze%netscape.com
a84a1ee61a bug 37037, 37490, and a table paganation problem when captions are present.
git-svn-id: svn://10.0.0.236/trunk@68283 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 23:16:42 +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
hyatt%netscape.com
e01b1a8a8f Fix for 28856. r=karnaze,troy a=jar
git-svn-id: svn://10.0.0.236/trunk@61937 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-01 02:35:14 +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
karnaze%netscape.com
3348645b69 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.


git-svn-id: svn://10.0.0.236/trunk@60554 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-12 00:58:38 +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
karnaze%netscape.com
e8ff8bb21f 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.


git-svn-id: svn://10.0.0.236/trunk@58996 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 02:19:45 +00:00
troy%netscape.com
95e05d4062 r=karnaze@netscape.com Removed some code that was removed but then added
again by mistake


git-svn-id: svn://10.0.0.236/trunk@58891 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 05:54:17 +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
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
77fe22868f Removed some debug assertions that are no longer valid
git-svn-id: svn://10.0.0.236/trunk@57908 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-15 05:38:24 +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
troy%netscape.com
885f08d717 b=23707. Made sure HR frame correctly computes max-element-size
when it has an 'auto' width


git-svn-id: svn://10.0.0.236/trunk@57509 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-12 04:52:19 +00:00