waterson%netscape.com
854831c91c
Bug 115113. Eliminate nsIReflowCommand, and just use nsHTMLReflowCommand directly. r=karnaze, sr=attinasi.
2001-12-17 22:39:59 +00:00
karnaze%netscape.com
57b2fb8479
fixed bug 111872 - 2nd patch to allow the special reflow logic to apply to resize reflows in addition to incremental reflows. sr=attinasi, r=alexsavulov
2001-12-11 15:02:36 +00:00
bernd.mielke%snafu.de
98b8d75589
bug 106966 more table frames will now be able to clip the overflow r=karnaze sr=attinasi
2001-12-09 05:39:45 +00:00
karnaze%netscape.com
748ebbcd0d
bug 113424 - mechanism for percent height frames inside table cells to receive special height reflow. sr=attinasi, r=alexsavulov
2001-12-07 14:51:12 +00:00
karnaze%netscape.com
3ed95c1e17
bug 51023 - reduce the size of table related frame classes. sr=kin.
2001-11-30 15:05:51 +00:00
karnaze%netscape.com
ba626a4171
bug 111028 - better height calc for table elements when printing. r=rods, sr=none.
2001-11-29 15:41:07 +00:00
karnaze%netscape.com
3cca3dc630
bug 111872 - Keep track of pct height content that overflows a cell on the 3rd pass reflow and Hide it. sr=attinasi, r=alexsavulov
2001-11-28 00:50:08 +00:00
karnaze%netscape.com
5b097ca46e
bug 103925 (3rd patch) - display changes in reflow parameters. sr=attinasi.
2001-11-27 01:45:46 +00:00
bernd.mielke%snafu.de
e3b400c2cf
bug 99923 react correctly on style change reflows targetted at higher frames
...
r=karnaze sr=attinasi
2001-11-22 19:34:59 +00:00
karnaze%netscape.com
bded829e9f
bug 30692 (additional patch) - deal width percent height based contents inside a table cell during an incremental reflow. sr=attinasi, r=alexsavulov
2001-11-21 14:38:40 +00:00
karnaze%netscape.com
e9b2b1a12e
bug 110369 - pedemont's patch to put child on pixel boundary when center aligning. r=karnaze.
2001-11-16 14:54:11 +00:00
karnaze%netscape.com
5550862ce8
bug 109043 - made percent tables without a computed height initiate a special 3rd pass reflow only when a table related frame up the chain has a fixed or percent height. Made row groups not allocate additional vertical space to percent rows in excess of the table height. sr=attinasi,r=alexsavulov
2001-11-14 13:44:38 +00:00
karnaze%netscape.com
436e1ac49e
bug 103925 (2nd patch) - flag pixel rounding errors in display reflow debugging. sr=attinasi, r=bernd
2001-11-14 13:40:03 +00:00
bzbarsky%mit.edu
f2ee8260a0
Use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2 where possible
...
(i.e. where the string is a literal). Bug 104159, r=jag, sr=alecf
2001-11-14 01:33:42 +00:00
karnaze%netscape.com
d98959d0cd
bug 77982 - consider border/padding on a cell that goes from empty to non-empty during an incremental reflow. sr=attinasi, r=alexsavulov
2001-11-06 23:05:32 +00:00
karnaze%netscape.com
1d522d115b
bug 107857 - add -moz-show-background value to empty-cells and make that the quirk default. sr=attinasi, r=pierre.
2001-11-06 22:52:59 +00:00
karnaze%netscape.com
8d3c3ea8b9
bug 97138 - rework of table, row group, row, cell height code. sr=attinasi, r=alexsavulov
2001-11-05 00:15:51 +00:00
karnaze%netscape.com
128e7ac8d2
bug 105166 - split images (except for image contro frames), round pixels down for printing. sr=attinasi,kin r=alexsavulov
2001-11-01 15:31:13 +00:00
karnaze%netscape.com
e38dff73f8
bug 103925 - general reflow debugging capability. sr=attinasi, r=alexsavulov
2001-10-29 01:43:59 +00:00
karnaze%netscape.com
c3733371ee
bug 52531 - treate style change reflow like initial when positioning cell block.
2001-10-22 14:31:18 +00:00
alexsavulov%netscape.com
a402bb144c
fix or bug 101883 - completes fix for bug 92143, adding NS_MAX check
...
sr= attinasi, r= karnaze
2001-10-02 21:29:26 +00:00
gerv%gerv.net
4e12e44b2f
Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
2001-09-28 20:14:13 +00:00
karnaze%netscape.com
a1eb90ee96
Fix bug "IFrames repositioned by whitespace in HTML" (no number yet) - give cols with no content 0 width unless they have style width, sr=kin, r=alexsavulov
2001-09-26 13:49:26 +00:00
karnaze%netscape.com
0565fc7391
bug 92143 - alexsavulov's patch for special handling of nowrap on <td> when there is a width. sr=attinasi, r=karnaze.
2001-09-21 13:43:18 +00:00
karnaze%netscape.com
e908dd0313
bug 68998 - added extra param to Paint, PaintChild, PaintChildren used by tables in standard mode. sr=waterson, r=alexsavulov.
2001-09-19 12:35:19 +00:00
hyatt%netscape.com
62d3de24fd
Fix for 95475. r=jag, sr=ben, a=dbaron
2001-08-25 02:01:08 +00:00
jgaunt%netscape.com
9f2f88aa48
fix for bug 94768
...
r=smfr,leaf
sr=hyatt
2001-08-17 03:13:07 +00:00
karnaze%netscape.com
b64e6aa6b6
bug 85738 - added 3rd pass reflow for tables in pagination mode which specified heights. sr=attinasi, r=savulov
2001-08-08 01:13:35 +00:00
karnaze%netscape.com
820c32c824
bug 80817 (checked in for alexsavulov) - removed table cell nowrap hack, repaired block nowrap. sr=waterson, r=karnaze.
2001-08-06 22:05:31 +00:00
karnaze%netscape.com
a09256e383
bug 84378 - make whitespace:normal the default for tables (back the way it was before recent style changes), a=asa, sr=attinasi, r=alexsavulov
2001-06-13 02:32:26 +00:00
hyatt%netscape.com
b135c5b55a
Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson
2001-05-31 22:19:43 +00:00
evaughan%netscape.com
d9378cb8f0
Fix for bug #80902
...
-r jeff@tcbnetworks.com -sr waterson
Fix for bug #80505
-r aaronl, jgaunt -sr brendan
2001-05-17 23:52:32 +00:00
evaughan%netscape.com
94198ed5d8
Landing accessibility
...
-r aarol, jgaunt
-sr brendan
2001-05-11 21:11:38 +00:00
mjudge%netscape.com
eb8e69ab3e
sr= waterson r= kin bug 26831 table cell selection changed to use borders not background.
2001-05-03 23:57:08 +00:00
pierre%netscape.com
08aac85e54
43457: change the mutable style context APIs, disable style context sharing, implement style data sharing. r=waterson.
2001-05-03 13:20:48 +00:00
karnaze%netscape.com
922dc31948
bug 8113 - render a cell's background and border unless its content is empty and it has "empty-cells:hide"
2001-04-17 14:58:34 +00:00
karnaze%netscape.com
ce8ef82ad1
bug 59280 - better splitting of row groups/rows with rowspans. r=dcone.
2001-04-16 14:51:52 +00:00
evaughan%netscape.com
dd702eea33
XP part of accessibility landing
...
-r vidur, rods -sr hyatt
2001-04-01 01:01:33 +00:00
karnaze%netscape.com
ef73484e35
bug 60749 - on a table cell frame style change reflow, reinitialize the table's strategy.
2001-03-26 06:13:56 +00:00
karnaze%netscape.com
68b220a8a5
bug 45055 - additional rounding for max element size and maximumWidth.
2001-03-26 00:56:44 +00:00
karnaze%netscape.com
1b04939e6f
bug 45055 - align row heights on pixel boundaries when distributing extra space vertically. Work around block bug by rounding cells to even pixel boundary. sr=attinasi, r=bernd.mielke@snafu.de
2001-03-25 23:06:08 +00:00
karnaze%netscape.com
a81a269978
table reflow coalescing, table reflow face lift. sr=attinasi
2001-03-13 06:38:59 +00:00
rods%netscape.com
f225ff8a67
Display frame reflow counts (turned via config file define)
...
Bug 71514 r=kmclusk sr=attinasi
2001-03-13 01:47:22 +00:00
bernd.mielke%snafu.de
eee6f79d65
enable the overflow:hidden from CSS2 for table cells (fixed layout)
...
bug 44505. r=karnaze sr=attinasi
2001-02-24 14:30:12 +00:00
pierre%netscape.com
9af01acf22
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.
2001-02-07 09:57:26 +00:00
karnaze%netscape.com
3540f6b858
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
2001-02-07 04:31:38 +00:00
rods%netscape.com
99666eed8c
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
2001-01-27 14:09:34 +00:00
karnaze%netscape.com
047535aae4
bug 56201 - don't allow a cell to return a desired width bigger than the avail width in a fixed layout table. sr=buster, r=peterl.
2001-01-25 22:57:53 +00:00
karnaze%netscape.com
623b6521ad
better table reflow debugging including support for elapsed time. sr=buster.
2001-01-25 15:55:51 +00:00
mcafee%netscape.com
7ecf530933
Backing out pierre's change from 1/20 for performance reasons (66263). r=attinasi, a=granrose, phil
2001-01-25 02:58:12 +00:00
pierre%netscape.com
62bf433a35
#43457 split nsStyleSpacing into 4 smaller structures: nsStyleBorder, nsStylePadding, nsStyleMargin, nsStyleOutline. Review=attinasi. Pending Approval: buster.
2001-01-20 22:46:54 +00:00
karnaze%netscape.com
bbca42725d
removed assertion added during fix for bug 57828.
2001-01-11 23:22:44 +00:00
karnaze%netscape.com
03bd50cb8d
bug 57828 - better handling of nowrap in table cell. sr=buster, r=attinasi.
2001-01-11 23:03:37 +00:00
karnaze%netscape.com
17cb2cee95
bug 56201 - allow cell to return larger desired size than avail during incremental reflow. sr=buster, r=peterl
2001-01-11 22:51:35 +00:00
rods%netscape.com
edb0c6270c
removing most all NS_DEFINE_IID and replacing them with NS_GET_IID macros
...
Bug 61274, r=buster sr=waterson
2001-01-04 20:44:42 +00:00
karnaze%netscape.com
110acb9a75
bug 9848 - check for out of memory when calling new. r=dcone.
2000-11-30 15:53:55 +00:00
warren%netscape.com
cd56c0575b
Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
2000-10-28 22:17:53 +00:00
warren%netscape.com
9a6d92a433
Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
2000-10-27 22:43:51 +00:00
karnaze%netscape.com
c8ba15ed54
bug 49490 - turn off collapsing borders, rules. Fix reflow state to not account for vertical borders or padding on rows. a=buster, r=dcone.
2000-10-05 23:49:25 +00:00
karnaze%netscape.com
28c49d95be
bug 42643 - invalidate the cell rect when a style change occurs. r=muster.
2000-09-11 02:47:02 +00:00
rbs%maths.uq.edu.au
fc667ea4ee
Enable the code to support for 'vertical-align: baseline' in table-cells. bug 10207. a:waterson@mozilla.org. was r:karnaze@netscape.com.
2000-07-28 09:19:26 +00:00
rbs%maths.uq.edu.au
f522c03515
[#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
2000-06-05 08:25:11 +00:00
karnaze%netscape.com
7aea563c64
nsbeta2+ bug 39885 - invalidate minimal areas. optimize reflows when cells don't change size. r=attinasi
2000-05-25 22:40:21 +00:00
anthonyd%netscape.com
9a23850613
r: mjudge
...
table bacgrounds now sleected properly with disabled selection
(grey selection)
2000-04-30 18:56:26 +00:00
rods%netscape.com
87ca6a324b
Add ifdef'ed Performance Reflow Counting code
2000-04-21 21:36:33 +00:00
mjudge%netscape.com
96f89ea9d9
made the table temporarily pull from nsLookandFeel until we get style rule working correctly
2000-04-13 22:39:39 +00:00
mjudge%netscape.com
5c4c46cd0d
table cell selection now shows up background. also small fix for nsBlockFrame to do the right thing for mouse capture.
2000-04-13 20:21:32 +00:00
jim_nance%yahoo.com
dc0e139673
Bug 33322 - Fix compiler warnings. Its been on n.p.m.builds for a few
...
days for module owners to comment on. r=troy@netscape.com
2000-03-30 03:21:26 +00:00
cmanske%netscape.com
e7d0908c04
Added support for Ctrl+Shift+mouseclick to select block of cells. Rewrote nsITableLayout::nsGetCellData() to be much more efficient, eliminating a method in the process. Implemented nsTableCellFrame::Get[Previous|Next]CellInColumn for cursor key navigation in tables. r=mjudge,karnaze.
2000-03-23 04:24:58 +00:00
dbaron%fas.harvard.edu
87e19c9cef
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
cmanske%netscape.com
01933d5726
Fixed bugs in table selection. Added improvements to facilitate row and column selection. r=mjudge
2000-03-21 06:04:02 +00:00
pierre%netscape.com
4d43de09aa
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
61559aa5d3
PDT+ bug 28933 - check for null pointer. r=attinasi, a=rickg
2000-03-04 01:05:18 +00:00
jdunn%netscape.com
080142580c
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
c75793821e
bug 7112, PDT+ 1802 - added custom style rule to handle <th> text alignment. Other text alignment changes. r=attinasi
2000-02-16 01:08:54 +00:00
karnaze%netscape.com
49f3412344
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
karnaze%netscape.com
2e709d5d79
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.
2000-02-12 00:58:38 +00:00
pp%ludusdesign.com
58065dda04
Converting ::GetIID() into NS_GET_IID(). Bug #20232 . r=scc, r=mozbot
2000-02-02 22:24:56 +00:00
karnaze%netscape.com
9caaf2af43
bug 24880 colspan/rowspan=0 handling, bug 22122 handle *0 proportional width; r=kmcclusk.
2000-02-01 03:23:29 +00:00
karnaze%netscape.com
bce1929fcf
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.
2000-01-28 02:19:45 +00:00
karnaze%netscape.com
d41822031d
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
aebdc7d5fe
bug 22246 - row/col span changes on cell alter cell map and reflow table. r=kmcclusk
2000-01-04 05:31:56 +00:00
karnaze%netscape.com
0fbc252ef9
bug 12287 - honors mComputed values in reflow state and uses CSS box-sizing property.
2000-01-02 22:55:48 +00:00
troy%netscape.com
138fa22a88
Work-in-progress for having maximum width (needed by tables) be updated
...
incrementally
1999-12-30 04:15:45 +00:00
alecf%netscape.com
ab78f88559
fix unix bustage once and for all
1999-12-14 00:24:33 +00:00
karnaze%netscape.com
2eb4655c2e
incremental cell map, columns. Bugs 12122, 21544. r=troy,hyatt a=hofmann
1999-12-13 22:56:31 +00:00
hyatt%netscape.com
de2eaede42
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
af1ce8d410
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
597b5f236b
WillReflow/DidReflow changes and changes to the way view positioning
...
and sizing works
1999-11-19 15:33:29 +00:00
dmose%mozilla.org
5312eacf8c
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
1585a751fb
Moved a bunch of stuff out to a nsIFrameDebug interface
1999-11-01 22:12:45 +00:00
troy%netscape.com
8765b06796
b=6674, r=karnaze@netscape.com
...
Changed Paint() to set the clip rect only when the collapse offset isn't
(0, 0)
1999-10-27 23:01:21 +00:00
troy%netscape.com
87afecabc0
Changed SetView/GetView to take an additional argument which is the
...
pres context
1999-10-26 04:44:41 +00:00
kipp%netscape.com
8f4ae7163a
Removed some more warnings
1999-10-22 14:51:41 +00:00
troy%netscape.com
5d86678e7b
r=karnaze@netscape.com
...
Save 8 bytes per table cell frame by eliminating mCollapseOffset and
using a frame property instead.
1999-10-22 02:06:22 +00:00
karnaze%netscape.com
886b682461
Remove caching cell spacing as margin on cells, reducing 16 bytes and avoiding potentially unique style contexts; simplified cell margin calculations; r=troy
1999-10-20 14:18:56 +00:00
karnaze%netscape.com
633c13eced
bug 15993 - in quirks mode allocates space for a 1 pixel border if the content is empty and the table has a border. It was incorrectly, doing this even if the content was not empty. r=buster; asked permission from hook and got no response.
1999-10-18 13:45:41 +00:00
troy%netscape.com
502629f011
r=karnaze@netscape.com Cc'd hyatt@netscape.com
...
Space optimization. mBorderEdges is no longer an embedded object. Now it's
allocated when needed (for collapsing border model tables only). This saves
80 bytes per table cell frame for the normal HTML case of adjacent border
model
1999-10-17 03:30:11 +00:00
troy%netscape.com
5ab2223218
Space optimization, r=karnaze@netscape.com Cc'd hyatt@netscape.com
...
Save 4 bytes by eliminating the mCalculated data member which wasn't being used
1999-10-16 16:17:07 +00:00
slamm%netscape.com
26d787fa8c
Backout troy's last set of changes. Caused bug #15790 , 'opening bookmarks window and expanding mail folders crashes'. r=waterson.
1999-10-08 18:52:19 +00:00
troy%netscape.com
f6340feb91
Space reductions, r=karnaze@netscape.com
...
Eliminated one data member, moved one to flag frame state, and changed mBorderEdges
to be heap allocated (only for collapsing border model)
1999-10-07 20:38:50 +00:00
karnaze%netscape.com
49cb28761f
bug 14818 - made standard mode like NavQuirks when handling colspans exceeding the number of columns.
1999-10-05 04:21:00 +00:00
troy%netscape.com
1be0909b54
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
karnaze%netscape.com
498bb5f780
bug 12910 - SetPass1MaxElementSize considers nowrap on cell
1999-09-30 14:11:16 +00:00
mjudge%netscape.com
1e48363fd7
changes to selection code to stop a never ending loop
1999-09-21 22:58:14 +00:00
mjudge%netscape.com
01ca453e83
adding change for selection. modifing inside out behavior for table selection. drawing tables being seleted different.
1999-09-17 23:33:39 +00:00
kipp%netscape.com
d63ca4aef1
Squish a warning or two
1999-09-17 20:16:37 +00:00
karnaze%netscape.com
0dd9ac9049
bug 11776, stopped doing arithmetic on unconstrained sizes
1999-09-13 14:35:00 +00:00
karnaze%netscape.com
4966ef6084
better handling of empty cell widths, especially involving colspans. support for bug 7121.
1999-09-10 18:55:46 +00:00
karnaze%netscape.com
5b0679f4bf
bugs 965, 1053, 1163 - improved handling of borders; bug 10216 align, text-align on caption.
1999-09-02 00:07:14 +00:00
kipp%netscape.com
7fe2679e86
Updated SizeOf methods to not waste space when doing a non-debug build
1999-09-01 01:02:16 +00:00
kipp%netscape.com
f808fbb193
Reimplemented SizeOf methods in some of the frame classes; partial rework of first-line handling snapshot
1999-08-31 03:09:40 +00:00
karnaze%netscape.com
23e30e42c8
backed out fix for bug 6674 because it broke resizing collapsing rows
1999-08-30 22:00:12 +00:00
troy%netscape.com
20364c9f5a
Fix for bug #12592 . Optimized style change reflow commands targeted at
...
a cell frame
1999-08-29 04:18:00 +00:00
kipp%netscape.com
52db05b1bf
Fixed bug #6674 by honoring the css overflow property and only setting the clip rect when overflow is 'hidden'
1999-08-27 21:53:04 +00:00
karnaze%netscape.com
9d31e7c8a1
bug 12590 - vertical-align:middle working on cell
1999-08-27 04:29:05 +00:00
karnaze%netscape.com
b8e618df7b
replaced debug flags with class. removed compiler warnings.
1999-08-24 12:01:31 +00:00
troy%netscape.com
7dad5f9379
Removed some code that was accidentally added back in the previous revisions
1999-08-21 21:17:23 +00:00
karnaze%netscape.com
6eb1c1889b
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
brade%netscape.com
192c3f9be8
remove mac compiler warning
1999-08-20 13:32:23 +00:00
karnaze%netscape.com
7bad0d49ba
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
f901be20dc
Changed to table incremental reflow
1999-08-19 03:51:25 +00:00
karnaze%netscape.com
c3c7c48b80
For crash in bug 10296 - Removed assertion that nsTableFrame::GetColumnFrame must find a non null frame.
...
Added check for null when calling it in a situation where it can return null.
1999-08-10 18:15:46 +00:00
karnaze%netscape.com
dbce38c94b
bug 3517.
...
Always get border-collapse from nsTableFrame::GetBorderCollapseStyle.
Added several null checks for border edges.
Added check in nsTableFrame::DidComputeHorizontal to replace null edges with trival ones.
1999-08-10 00:49:10 +00:00
cmanske%netscape.com
cb1417e9fa
Added method to nsITableCellLayout. Fixed QI bug
1999-08-04 02:04:45 +00:00
troy%netscape.com
7c6dd3bfcb
Reflow command cleanup
1999-08-01 22:21:03 +00:00
cmanske%netscape.com
982414f786
Added QueryInterfaces so nsITableCellLayout and nsITableLayout can get to cell and table frames. Don't use macros because frames aren't refcounted.
1999-08-01 18:26:45 +00:00
cmanske%netscape.com
2781d6d9a2
Adding interface for editor access to table layout data
1999-07-31 22:11:50 +00:00
karnaze%netscape.com
a88b1a3f85
new nsCellMap, BasicTableLayoutStrategy, plus various fixes to table
...
frames while testing the new cell map and strategy
1999-07-28 08:09:02 +00:00
putterman%netscape.com
73ffe8e2c7
Commented out warning.
1999-07-19 21:37:04 +00:00
buster%netscape.com
481008636f
fixed warnings
1999-06-28 13:44:40 +00:00
karnaze%netscape.com
3324192cb4
empty table cells ignore their background
1999-06-08 05:04:22 +00:00
mjudge%netscape.com
864e061209
new table selection code drag inside and outside of tables with ease. added some overriding methods to nsTableCellFrame and nsTableFrame to make selection "draw" correctly for those containers.
1999-06-01 23:04:13 +00:00
peterl%netscape.com
b6ed709ae4
removed extra call to did set style context
1999-05-18 23:15:51 +00:00
karnaze%netscape.com
ebeb68d601
support for css padding in table cells
1999-05-18 05:18:16 +00:00
kipp%netscape.com
4846f41f1f
Reworked frame factory methods; fixed bug 4519
1999-05-11 22:03:29 +00:00
karnaze%netscape.com
06e90ebbf2
incremental reflow correctly targets cell's area frame - bugs 4577, 5126, 5759
1999-05-06 22:29:28 +00:00
karnaze%netscape.com
c81e762104
only print warnings on large cell width/height during pass 2 reflow
1999-04-29 17:43:41 +00:00
mscott%netscape.com
73dc5f7607
Add gsdebug boolean check before printing out IR target information. a=buster@netscape.com
1999-04-17 00:11:53 +00:00
buster%netscape.com
43c65e9468
turned off noisy debug flag.
1999-04-16 17:31:39 +00:00
buster%netscape.com
8aabdb3ca4
workaround for bug 4577
...
incremental reflows targeted at the cell frame that are not style changes
must really belong to the area frame inside the cell. So they are now retargeted.
1999-04-15 19:28:11 +00:00
karnaze%netscape.com
e2a1885056
bug 2643, zero width cells
1999-04-09 21:09:52 +00:00
kipp%netscape.com
60f52440cb
Whacked paint methods to use new constants
1999-03-26 00:39:35 +00:00
karnaze%netscape.com
90a129b50f
table cell uses its own border (instead of table's) when sizing its area frame
1999-03-14 17:36:10 +00:00
karnaze%netscape.com
191784a336
bug 2220; changed wording of some warnings.
1999-03-13 12:49:37 +00:00
buster%netscape.com
3b6ec81caa
Table cells need to call DidSetStyleContext whenever their style changes, or
...
whenever the table's style changes.
This is a partial fix for bug 3513
1999-03-13 04:38:02 +00:00
warren%netscape.com
a60a14636f
Fixed multiple mRefCnt problem.
1999-03-06 03:56:24 +00:00
kipp%netscape.com
9ddafbd9f8
use new nsHTMLReflowState ctors
1999-03-05 04:19:09 +00:00
scc%netscape.com
2ec0a397ea
rename |IID()| --> |GetIID()|
1999-03-03 19:48:57 +00:00
troy%netscape.com
3bdf672129
Removed nsIFrame::CreateContinuingFrame()
1999-02-25 05:31:15 +00:00
troy%netscape.com
da4193eab6
Changed nsIFrame::Init() to take an additional parameter
1999-02-25 03:27:57 +00:00
troy%netscape.com
47cbdb1e9d
Added frame type atoms for several table frame classes
1999-02-24 05:54:31 +00:00
kipp%netscape.com
36c243cdc0
COMized nsIPresShell and nsIPresContext
1999-02-12 17:45:58 +00:00
karnaze%netscape.com
a43b2445da
collapsing rows, row groups, cols, col groups
1999-02-11 06:22:33 +00:00
buster%netscape.com
178ad83c45
changed getters to be XP_COM-like, with out-params instead of return values.
...
this is so these getters can be bound to an XPCOM interface, nsITableCellLayout
1999-02-11 01:16:28 +00:00
troy%netscape.com
b974e26cea
Changed some nsIFrame member functions to use ** instead of *& for OUT
...
paremeters
1999-02-10 00:42:56 +00:00
harishd%netscape.com
eb58eec877
StyleContext passed onto PaintBorder()
1999-01-22 22:38:34 +00:00
kipp%netscape.com
7f96144059
Spanked away SizeOf methods and nsIListFilter
1999-01-16 00:00:50 +00:00
kipp%netscape.com
065905fa0b
Used revised version of nsContainerFrame that uses an nsFrameList instead of a raw nsIFrame*
1999-01-15 22:52:05 +00:00
troy%netscape.com
6d63084a70
Fix for bug #1998 . Now we render the background image over the padding area and not over the border area
1999-01-15 18:25:58 +00:00
troy%netscape.com
036e6852f2
Removed the content-parent frame pointer. Now we just have the one geometric
...
parent
1999-01-14 05:16:23 +00:00
troy%netscape.com
4b3e1eebad
Replaced "maxSize" member if nsReflowState with "availableWidth" and
...
"availableHeight"
1999-01-05 23:31:18 +00:00
buster%netscape.com
1b814a3efe
preliminary work for cell inheritence of valign and halign attributes from col(group) and row(group)
...
according to css 2 spec
1999-01-03 19:22:40 +00:00
buster%netscape.com
0664302426
collapsing border bug fixes
1998-12-30 23:23:45 +00:00
buster%netscape.com
46621cf846
empty cells now are sized correctly.
1998-12-30 22:41:08 +00:00
buster%netscape.com
714c427896
collapsing border computation and conflict resolution
1998-12-30 06:48:15 +00:00
troy%netscape.com
eb99e22e68
Removed debug output that was probably checked in by mistake
1998-12-29 05:37:11 +00:00
troy%netscape.com
7b5cc03059
Moved logic that deals with moving absolutely positioned frames out of the
...
flow to the frame construction code
1998-12-29 03:38:16 +00:00
buster%netscape.com
d87ab21022
WIP for collapsing borders
1998-12-23 15:47:43 +00:00
buster%netscape.com
914c880651
collapsing borders now do rounding of odd-thickness borders correctly
...
at the pixel level. The odd pixel is always given to the right and bottom
cell borders whenever possible, and to the top and left table border otherwise.
1998-12-21 18:54:23 +00:00
buster%netscape.com
d1779f0342
beginnings of collapsing borders now implemented. Doesn't work for spanning cells yet,
...
and doesn't measure borders where the width changes along a shared edge yet.
1998-12-21 06:38:18 +00:00
peterl%netscape.com
887cd5f867
sync to new attribute api
1998-12-20 01:21:23 +00:00
kipp%netscape.com
c29e5116c7
Revised frame Paint API
1998-12-18 15:54:23 +00:00
buster%netscape.com
7f8a8688c4
WIP on collapsing borders
1998-12-16 17:05:14 +00:00
buster%netscape.com
d35a765d2c
clean up, removed some obsolete methods
1998-12-16 06:33:15 +00:00
troy%netscape.com
bd67066c8a
Some improvements to the row splitting code
1998-12-16 03:46:03 +00:00
troy%netscape.com
89910f892e
Work-in-progress for splitting of table row frames
1998-12-15 16:39:09 +00:00
buster%netscape.com
b7ab7be458
support for CSS2 style property "empty-cells"
1998-12-10 19:57:42 +00:00
buster%netscape.com
8031108e1b
tables can now have independent horizontal and vertical cell spacing
...
("cellspacing" HTML attribute == "border-spacing" CSS property, go figure...)
1998-12-09 06:37:18 +00:00
buster%netscape.com
868ce29c21
fixed a minor glitch I introduced where nested tables cells were getting
...
robbed of a few pixels in width in some cases.
1998-12-08 19:18:33 +00:00
harishd%netscape.com
511b951294
Changed code that previously accessed mBorderStyle and mBorderColor with
...
new methods added in nsStyleSpacing
1998-12-07 19:06:55 +00:00
buster%netscape.com
4e927b37f3
fixed cellspacing and cellpadding handling
...
default cellspacing and cellpadding now comes from the table frame itself
other frames on longer look at the "tableStyle" struct for these values
1998-12-05 05:27:21 +00:00
troy%netscape.com
4a0f9cea8f
Moved logic that created a BODY frame that forms the cell's content from the
...
table frame code to the frame construction code
1998-12-04 02:08:51 +00:00
buster%netscape.com
23112ce100
minor optimizations and cleanup. removed constructors that did nothing.
1998-12-03 20:19:01 +00:00
troy%netscape.com
2a4b2c503f
Added Init() member function to nsIFrame
1998-12-03 06:31:43 +00:00
wtc%netscape.com
59b32f50ef
This checkin (under mozilla/layout) is all about 'const'. Digital Unix's
...
C++ compiler is strict about getting 'const' right. Most of the changes
are to add 'const' to the type casts for the second argument of the
GetStyleData method, which wants a const reference.
1998-12-02 16:45:20 +00:00
buster%netscape.com
3ddfe1c165
2 Nav4 compatibility additions:
...
1. width=0 is treated as width=auto, not width=min
2. empty cells <td></td> are assigned a width of (2*borderWidth + 2*cellspacing + 3) pixels
The "3" is a fudge factor added by Nav and IE.
1998-11-25 18:43:56 +00:00
buster%netscape.com
aab5ae636e
fixed the aweful nested table problems
1998-11-22 08:56:19 +00:00
buster%netscape.com
4c98e2689d
implemented table height algorithms. also made a slight modification to
...
the way a table finds its container's width.
1998-11-20 01:01:25 +00:00
kipp%netscape.com
a6926809f0
Added DumpRegressionData; revised ListTag; added GetFrameName
1998-11-19 17:22:29 +00:00
michaelp%netscape.com
7a9e1a4bc1
changes for pixel scaling/printing.
1998-11-14 01:52:27 +00:00
buster%netscape.com
ce19ab8f3c
support for frame and rules attribute
1998-11-11 19:56:02 +00:00
troy%netscape.com
527ee073f8
Renamed Init() to SetInitialChildList() and added an additional parameter
...
for the name of the child list
1998-11-10 06:05:32 +00:00
kipp%netscape.com
af89649a87
Improved the table warning diagnostic
1998-11-09 23:35:05 +00:00
buster%netscape.com
f2bd19c65b
various small fixes and clean up
1998-11-05 21:42:46 +00:00
peterl%netscape.com
cedec7bc27
sync to style resolution api changes
1998-11-03 20:33:43 +00:00
buster%netscape.com
03cad6390d
some extremely preliminary work for styleChanged incremental reflow
1998-10-30 07:57:44 +00:00
buster%netscape.com
e220aee18d
all containers now decend from nsHTMLContainerFrame
...
all "unknown frame" incremental reflow support methods now
replaced with nsHTMLContainerFrame::AddFrame and ::RemoveFrame
1998-10-20 17:45:07 +00:00
peterl%netscape.com
9f87e56fe7
set border style
1998-10-13 19:17:57 +00:00
kipp%netscape.com
a77548baff
Removed nsCSSLayout::GetStyleSize and converted callers to use state in the html reflow state
1998-10-12 17:00:32 +00:00
kipp%netscape.com
ea5a5735f5
Added an nsIPresContext& to html-reflow-state's ctors and used it to implement better percentage width/height handling
1998-10-12 14:48:02 +00:00
troy%netscape.com
d25a9a35a2
Removed GetContentIndex() from nsIFrame
1998-10-08 20:35:16 +00:00
buster%netscape.com
c81a22ecf1
all frames properly setting ascent and descent values for reflow
...
WIP incremental reflow in nsTableOuterFrame
1998-10-08 15:34:48 +00:00
kipp%netscape.com
186c55bec0
use new body factory method
1998-10-06 00:44:35 +00:00
troy%netscape.com
7e64653dab
Changed ReflowChild() to send the WillReflow() notification as well
1998-10-06 00:27:22 +00:00
troy%netscape.com
3393397633
Removed calls to MoveTo() BEFORE reflowing a frame. We used to do this
...
sequence: MoveTo(), Reflow(), SetRect(). Now that we have the WillReflow()/
DidReflow() code sandwhiches we no longer need to do the MoveTo()
1998-10-05 00:58:32 +00:00
buster%netscape.com
395bcf058e
minor interface cleanup
1998-10-02 20:36:35 +00:00
troy%netscape.com
7aceb4270d
Eliminated nsIRunaround interface, and folded space manager parameter into
...
nsHTMLReflowState structure
1998-10-02 04:10:00 +00:00
troy%netscape.com
ba3c7125c2
Separated reflow process out of nsIFrame and into nsIFrameReflow. Also
...
added nsIHTMLReflow, which is an HTML specific reflow interface
1998-10-01 04:46:11 +00:00
kipp%netscape.com
2caa6d7cf3
Create table-cell's body as a top-level body so that it doesn't shrink wrap around it's children during pass2 table reflow
1998-09-29 22:36:30 +00:00
kipp%netscape.com
261b8bd181
Changed factory method to parameterize the shrink wrapping behavior
1998-09-29 03:44:25 +00:00
kipp%netscape.com
fff04dae01
Use modified css rendering API
1998-09-26 17:17:20 +00:00
kipp%netscape.com
a388e31cbd
Fixed up includes to not depend on old content model classes
1998-09-24 21:37:45 +00:00
buster%netscape.com
0bec735087
removed lots of assumptions about frame ordering and containership.
...
table frames no longer assume they are n levels below the inner table frame
table frames no longer assume their child frames are always the expected type of
frame. Now they check the display type and use that as sufficient proof that the frame
is of the right type. This implies a heavy reliance on the frame construction code to do
the right thing and always stamp out the right kind of frame for a given display type.
1998-09-24 16:37:22 +00:00
troy%netscape.com
fb0251ec2e
Removed ChildIsPseudoFrame() and IsEmpty() from nsContainerFrame
1998-09-24 04:06:42 +00:00
troy%netscape.com
0f842c0152
Removed all references to m<First,Last>ContentOffset,mChildCount,mLastContentIsComplete
1998-09-21 03:40:32 +00:00
troy%netscape.com
62b1375f69
Removed farme enumeration member functions for indexed access, last child,
...
and child count
1998-09-19 03:24:26 +00:00
troy%netscape.com
29e5156e14
Removed nsIContentDelegate.h
1998-09-18 17:34:48 +00:00
troy%netscape.com
65269d3422
Frame construction changes for tables
1998-09-16 17:19:20 +00:00
buster%netscape.com
953b2efb58
nsStyleConsts.h added some HTML 4 consts for tables
...
nsHTMLAtoms.cpp,h added some HTML 4 strings for tables
nsHTMLParts.h added constructors for new table content classes
nsGenericHTMLElement.cpp,h added table frame creation, common table attribute parsing
nsHTMLTable*Element.cpp these are the new table content classes
nsHTMLContentSink.cpp enabled the new content and removed the old
nsHTMLStyleSheet.cpp fixed the table style optimizations to work with new content
nsTable*Frame.cpp these work with the new content
1998-09-15 17:58:24 +00:00
buster%netscape.com
37869e9464
integrates with new frame creation methods
1998-09-09 21:34:10 +00:00
buster%netscape.com
2e72b5b556
many fixes that effect http://www.mozilla.org and related pages.
...
these fixes are for nested tables with percent widths, for tables including both rowspan and colspan,
and for tables with only a single column.
some rounding errors were eliminated.
more debugging output, and some new assertions.
1998-09-09 20:00:40 +00:00
buster%netscape.com
89e198237d
expanded nsIFrame::List to include nsIListFilter *aFilter param, by default nsnull.
...
aFilter is useful for determining if a frame should output itself during
a List(). In any event, the children of the frame are always processed.
added nsIListFilter, an interface for any object that wants to act like a filter for frame dumps
added static NS_LAYOUT nsIListFilter * GetFilter(nsString *aFilterName);
currently, only TableListFilter implements nsIListFilter.
in response to List(...TableListFilter), the frame model is dumped in a way that is useful
for table layout regression testing. Currently this is controlled by command line switches on the viewer app.
1998-09-02 21:59:54 +00:00
buster%netscape.com
1781327873
empty rows now handled properly
1998-09-01 17:49:05 +00:00
peterl%netscape.com
12d7adf11e
remove text attribute processing
1998-08-27 00:56:17 +00:00
troy%netscape.com
a09b9a211e
Removed MoveTo() and SizeTo() member functions that were for debug
...
purposes, and are no longer needed
1998-08-07 18:17:34 +00:00
buster%netscape.com
5fb7fd0dc2
fixed this case: (an image tag with no width attribute) inside (a specified-width column) inside
...
(a nested table with specified width) inside (an auto-width column)
inside (a specified-width table). Got that?
The problem was that we we not setting state correctly during incremental reflow
when the image returned its proper metrics after giving default metrics that
were for its ALT text.
1998-08-03 20:27:59 +00:00
peterl%netscape.com
714146a525
rounding support
1998-07-31 23:34:45 +00:00
buster%netscape.com
ff35c20a64
we now paint backgrounds regardless of our content. Cell borders are
...
still conditionally painted based on whether the cell's content has
0=size or not.
1998-07-31 00:32:27 +00:00
buster%netscape.com
fb448713fb
empty cells do not render border or background color
1998-07-27 07:37:57 +00:00
peterl%netscape.com
2207f21400
factored backgound finding code to nsStyleUtil
1998-07-23 18:05:03 +00:00
troy%netscape.com
048270ffb0
Changed PaintBorder() to use the (x,y) that's passed in
1998-07-22 05:02:07 +00:00
troy%netscape.com
789a2dbe45
Changed nsCSSRendering::PaintBorder() so the entire rect is used
...
and not just the width and height
1998-07-22 02:46:00 +00:00
troy%netscape.com
109b0e1a4d
Commented out code that was forcing the border style to solid rather
...
than using whatever is in the default ua style sheet (inset)
1998-07-21 07:47:46 +00:00
buster%netscape.com
51fe86ee79
fundemental overhaul of the BasicTableLayoutStrategy
...
We now cache lots of useful info in the colframes
we now properly account for margins just as uniform cellspacing
1998-07-16 23:23:31 +00:00
kipp%netscape.com
8a146ed86e
Fix incremental reflow bug
1998-07-16 22:15:02 +00:00
troy
d660868bc2
Changed API for CreateContinuingFrame and GetReflowMetrics to take
...
a reference to a nsIPresContext
1998-07-15 03:23:23 +00:00
troy
a90fe8e1de
Changed Reflow() member function to take a reference to a nsIPresContext
...
instead of a pointer
1998-07-15 02:53:09 +00:00
buster
d00c767f83
for Nav compatibility, 0-width cells do not have insets
1998-07-13 20:41:38 +00:00
buster
2eb1eecd14
added Nav4 compatibility code for 0-width cells
1998-07-13 19:22:45 +00:00
buster
3e596fc26a
major hackage to the table data structures. slimmer, simpler, faster
...
this work exposed a few bugs and slow spots, which have been fixed
for the aol page, I added some additional backwards compatibility code
to proportionately distribute width when a fixed-width cell has colspans
1998-07-11 00:00:31 +00:00
troy
97ae834b23
Deprecated the SetFirstContentOffset/SetLastContentOffset member
...
functions that take a nsIFrame*
1998-07-10 19:04:06 +00:00
buster
72142b30f4
fixed 3 dumb bugs I introduced recently.
...
1. cellmap couldn't properly delete CellData because definition was unavailable
2. optimized table cells made taller wouldn't shrink when they should because we were not
remembering the previous desired height of the cell.
3. rows were placing cells on the left edge, and not adding in the left margin.
1998-07-07 01:06:51 +00:00
buster
5135afe659
added support for "effective column widths", the width of a column pretending that spanning cells have no effect.
...
this gets us some more Nav4 compatibility.
several minor fixes.
1998-07-06 21:00:11 +00:00
buster
b54c4bdc95
added an optimization that skips pass2 cell reflows when the new available width is unchanged
...
from the prior available width. Some real-world test cases sped up
1-2 orders of magnitude for resize reflow. Initial reflow is unchanged because
we still need to get pass1 metrics on all content.
fixed nsCSSBlockFrame.cpp to take margins into account when computing parent's available width
fixed distribution of excess space to table cells when table is bigger than the content it holds.
not quite finished yet, but better.
1998-07-02 17:40:56 +00:00
buster
1f0d9a91f1
cells no longer monkey with their available width based on attribute constraints.
...
The row does this work now. This makes table layout more properly top-down.
1998-06-29 20:38:22 +00:00
buster
705daa1418
minor tweaks for table layout
1998-06-29 03:09:14 +00:00
buster
471f5b46a8
support for Nav4 compatibility -- auto-width cells with 0-width content are 1 pixel wide
1998-06-26 23:31:33 +00:00
buster
d7cca42032
fixed some nested table bugs and made some minor adjustments to Kipp's new line layout code.
1998-06-26 00:48:44 +00:00
troy
d8ba6d4919
Changed to make sure we link the child frame into the list of frames before
...
we reflow it
1998-06-24 16:35:21 +00:00