302 Commits

Author SHA1 Message Date
karnaze%netscape.com
c0b185a870 bug 106158 - changed outer table fix up of nested inner table's computed width to consider if the min width fits.
removed tree specific code. sr=waterson, r=alexsavulov.


git-svn-id: svn://10.0.0.236/trunk@106919 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-01 04:17:30 +00:00
karnaze%netscape.com
4ff0e5cecb bug 103925 - general reflow debugging capability. sr=attinasi, r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@106524 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-29 01:43:59 +00:00
karnaze%netscape.com
9c91a2a8e3 bug 86314 - invalidate properly when the inner table changes width. sr=attinasi, r=kmcclusk.
git-svn-id: svn://10.0.0.236/trunk@105934 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 14:24:54 +00:00
gerv%gerv.net
13afb6d0f9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
waterson%netscape.com
289f661b27 Bug 96228. Make nsContainerFrame::PositionFrameView position _only_ the frame's view (don't recur). Explicitly call nsContainerFrame::PositionChildViews as appropriate when moving a frame post-Reflow. Consolidate view positioning logic duplicated between PositionFrameView and SyncFrameViewAfterReflow, which now correctly computes offset for anonymous view in nsScrollFrame and accounts for scrolled views. r=kmcclusk,karnaze sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@103388 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-21 00:53:29 +00:00
karnaze%netscape.com
1540a4c12e bug 68998 - added extra param to Paint, PaintChild, PaintChildren used by tables in standard mode. sr=waterson, r=alexsavulov.
git-svn-id: svn://10.0.0.236/trunk@103193 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 12:35:19 +00:00
jgaunt%netscape.com
92c01c45b6 fix for bug 94768
r=smfr,leaf
sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@101271 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-17 03:13:07 +00:00
karnaze%netscape.com
085d032423 bug 88524 - don't skip the reflow of the inner table if it is pct height. sr=timeout, r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@100396 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-06 14:23:50 +00:00
karnaze%netscape.com
b57a715cb8 bug 76421 - remove optimization (to skip reflow if size didn't change) on initial reflow. a=asa, sr=attinasi, r=peterl
git-svn-id: svn://10.0.0.236/trunk@97031 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-13 02:27:22 +00:00
bernd.mielke%snafu.de
33eace628c fix table margins - remove redundancy in margin handling, bug 83786
r=karnaze sr=attinasi a=dbaron


git-svn-id: svn://10.0.0.236/trunk@96517 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-06 07:35:03 +00:00
hyatt%netscape.com
b7b1cb3691 Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson
git-svn-id: svn://10.0.0.236/trunk@96136 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-31 22:19:43 +00:00
evaughan%netscape.com
a4d0ce6ac8 Fix for bug #80902
-r jeff@tcbnetworks.com -sr waterson

Fix for bug #80505

-r aaronl, jgaunt -sr brendan


git-svn-id: svn://10.0.0.236/trunk@95337 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-17 23:52:32 +00:00
evaughan%netscape.com
eab27303ef Landing accessibility
-r aarol, jgaunt

-sr brendan


git-svn-id: svn://10.0.0.236/trunk@94685 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-11 21:11:38 +00:00
pierre%netscape.com
287fc1dc9e 43457: change the mutable style context APIs, disable style context sharing, implement style data sharing. r=waterson.
git-svn-id: svn://10.0.0.236/trunk@93798 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-03 13:20:48 +00:00
evaughan%netscape.com
94e72ae454 XP part of accessibility landing
-r vidur, rods -sr hyatt


git-svn-id: svn://10.0.0.236/trunk@90971 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-01 01:01:33 +00:00
karnaze%netscape.com
d685aa34f2 bug 73629 - adjust mComputedWidth of a table or caption if it's nested, larger than avail width, not initial reflow. sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@90685 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 21:19:31 +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
dcone%netscape.com
e7d3e49ac4 Checking for a printer before some optimizations.. which are not good for printing. sr=attinasi r=karnaze
git-svn-id: svn://10.0.0.236/trunk@88081 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 14:52:07 +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
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