karnaze%netscape.com
b45820e80c
bug 67861 - don't rebalance table to calculate max width; cache last available width in outer table; improved debug reflow timing; sr=attinasi, r=peterl
...
git-svn-id: svn://10.0.0.236/trunk@86475 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 04:31:38 +00:00
dbaron%fas.harvard.edu
2c4716628a
Fix UMR (returning an uninitialized result) that caused bonsai query results to disappear sometimes. b=67854 r=karnaze@netscape.com sr=attinasi@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@86459 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 04:00:40 +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
919b0e5623
bug 60494 - only request the max width of the innner table if it is requested of the outer table. sr=buster, r=peterl.
...
git-svn-id: svn://10.0.0.236/trunk@85495 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 16:00:59 +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
rods%netscape.com
cd5016b309
changing the name of the reflow state in the reflow counter macro
...
b=61496 r=kmcclusk sr=waterson
git-svn-id: svn://10.0.0.236/trunk@83150 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 21:51:21 +00:00
karnaze%netscape.com
7edb2f10f0
bug 55545 - set the table preferred width during an unconstrained reflow. Return the preferred width as the maximum width when requested in the outer table reflow. a=buster, r=dcone
...
git-svn-id: svn://10.0.0.236/trunk@83080 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 22:30:09 +00:00
attinasi%netscape.com
6bcf75d1e5
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
...
git-svn-id: svn://10.0.0.236/trunk@78920 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 22:48:35 +00:00
karnaze%netscape.com
ab21b84455
bug 39209 - don't use auto margins for max element size and maximum widths (when requested
...
during an incremntal reflow).
git-svn-id: svn://10.0.0.236/trunk@78691 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 00:02:04 +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
joki%netscape.com
ec91adc761
Updating mozilla to DOM Level 2 events support. Fixes for bug 34722, 35378, 8411, 10330, plus some others that weren't filed.
...
git-svn-id: svn://10.0.0.236/trunk@70028 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 11:35:12 +00:00
karnaze%netscape.com
2ab4c80c67
bug 38699 - make left/right align caption act like top instead of bottom.
...
git-svn-id: svn://10.0.0.236/trunk@69042 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 14:51:37 +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
2a4c3e66cc
bug 37791 - calculate auto margins during an incremental reflow.
...
git-svn-id: svn://10.0.0.236/trunk@68238 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 14:49:35 +00:00
karnaze%netscape.com
5fa036be77
Removed FixBadReflowState, added an assert if boxes try to set outer table reflow state computed values when a caption is present.
...
git-svn-id: svn://10.0.0.236/trunk@67700 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 02:25:08 +00:00
karnaze%netscape.com
bd1b930f20
Fix for Linux bustage, bug 37643. Give outer table reflow state initial computed values of 0 to avoid excessive reflows from boxes.
...
git-svn-id: svn://10.0.0.236/trunk@67684 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-30 22:29: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
karnaze%netscape.com
4658278093
bug 8398 - correct the placement of the caption during an incremental reflow targeted at the inner table.
...
git-svn-id: svn://10.0.0.236/trunk@65224 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 00:06:20 +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
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
karnaze%netscape.com
2599026f49
PDT+ bug 28341 - Destroy caption frame when outer table frame is destroyed. Add caption to outer frame rather than inner frame. r=troy, a=rickg
...
git-svn-id: svn://10.0.0.236/trunk@62032 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-02 06:09:37 +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
c07a74ff39
bug 8411 - the outer table cannot be made narrower than the captions min width, r=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@59719 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-04 02:47:13 +00:00
pp%ludusdesign.com
a2927ce43e
Converting ::GetIID() into NS_GET_IID(). Bug #20232 . r=scc, r=mozbot
...
git-svn-id: svn://10.0.0.236/trunk@59537 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 22:24:56 +00:00
karnaze%netscape.com
d7b3bc8f7b
bug 1809, 0 width tables (not trees) become auto, r=dcone, (hyatt)
...
git-svn-id: svn://10.0.0.236/trunk@59078 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 15:43:25 +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
9adaaaf84a
r=nisheeth@netscape.com Added asserts to help catch the case of poorly
...
targeted reflow commands
git-svn-id: svn://10.0.0.236/trunk@58817 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 22:11:47 +00:00
cmanske%netscape.com
3cebe089c4
Table editing (bug 20973): return reported and actual rowspan and colspan values from GetCellDataAt(), r=karnaze
...
git-svn-id: svn://10.0.0.236/trunk@58783 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 14:56:06 +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
hyatt%netscape.com
a426ec7a36
Removing my lame comment.
...
git-svn-id: svn://10.0.0.236/trunk@57412 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 19:49:04 +00:00
troy%netscape.com
80fbcaae37
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
git-svn-id: svn://10.0.0.236/trunk@57402 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 15:55:31 +00:00
hyatt%netscape.com
18c4451e38
Improving trees.
...
git-svn-id: svn://10.0.0.236/trunk@57250 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-10 03:04:05 +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
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
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
troy%netscape.com
d16381b6f3
Removed 5 convenience functions from nsIFrame
...
git-svn-id: svn://10.0.0.236/trunk@51531 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-22 14:53:52 +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
karnaze%netscape.com
0b5271c1c7
bug 15958(partial) - uses mComputedWidth instead of availableSize.width. r=buster; asked hook for permission, got no response.
...
git-svn-id: svn://10.0.0.236/trunk@50982 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-18 13:47:01 +00:00
karnaze%netscape.com
43efe84083
bug 15247 - ComputeAvailableTableWidth accounts for margins
...
git-svn-id: svn://10.0.0.236/trunk@50653 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 04:03:20 +00:00
karnaze%netscape.com
12a011a2e9
removed handling of 0 width cells in ComputeAvailableTableWidth since it is done in nsHTMLTableElement. review=kmcclusk
...
git-svn-id: svn://10.0.0.236/trunk@50597 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 14:39:33 +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
karnaze%netscape.com
cb8caac5a9
removed border subtraction from out table frame and adjusted in layout strategy.
...
git-svn-id: svn://10.0.0.236/trunk@47175 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-13 21:45:58 +00:00