Граф коммитов

526 Коммитов

Автор SHA1 Сообщение Дата
karnaze%netscape.com 8e4131e572 bug 43039 - allow col to get next col in different col group for border collapse calc. sr=attinasi, r=alexsavulov 2002-03-05 15:23:28 +00:00
karnaze%netscape.com cee69f0564 bug 120364 - remove framelist assertion; have table with height return correct desired height when row group splits. sr=attinasi, r=alexsavulov 2002-03-04 15:48:56 +00:00
karnaze%netscape.com eab00e2d64 bug 126742 - correct typo, setting the correct offset. sr=attinasi, r=alexsavulov, a=shaver 2002-02-26 00:43:12 +00:00
karnaze%netscape.com 2017816095 bug 127040 - paint backgrounds in correct order when there are collapsed borders. sr=kin, r=dbaron, a=shaver 2002-02-26 00:27:42 +00:00
brade%netscape.com 8e426d1ebc fix mac build bustage 2002-02-19 18:27:25 +00:00
karnaze%netscape.com 679c575202 bug 41262 - new table border collapsing code. sr=attinasi, r=alexsavulov. 2002-02-19 15:48:28 +00:00
karnaze%netscape.com 9b8fc60e6e bug 124985 - nsCSSFrameConstructor - let the form frame have its original parent. nsTableFrame - don't reflow foreign frames. sr=attinasi, r=alexsavulov 2002-02-18 15:57:19 +00:00
dcone%netscape.com f7e8a4bf6d b=96870 r=rods sr=attinasi Fixed printing so backgrounds can be turned on and off. 2002-02-15 14:48:12 +00:00
cathleen%netscape.com 740d95a0a9 eliminates 107 nsCRT::memset calls to use memset instead. removed nsCRT::memset() function. bug 118135 r=dp sr=brendan 2002-02-05 01:41:13 +00:00
brade%netscape.com ecc77c5e8b remove unused static kITableRowGroupFrameIID saving 16 bytes (bug 117927; rs=glazou) 2002-01-09 15:46:00 +00:00
dbaron%fas.harvard.edu c9c0a97163 Replace the BodyFixupRule with code in nsCSSRendering to fix all the problems with dynamic style changes and backgrounds on the root element and the BODY element. Change the way the HTMLDocumentColorRule (for the table color quirk) is initialized since it used to depend on the BodyFixupRule. b=116161 (also fixes other bugs) r=attinasi sr=hyatt 2002-01-07 23:46:07 +00:00
rjesup%wgate.com 2e680f1b17 Bug 96108: Inline ElementAt(), add SafeElementAt(), voidarray usage fixes,
assertions for bad voidarray indexes.  r=jst, sr=waterson
2001-12-21 01:10:07 +00:00
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
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 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
attinasi%netscape.com 94f3ab9a20 Elimiate calls to nsFrame::Invalidate when the dirtyRect is empty. Also, removed some invalid code from nsFrame::Invalidate and added DEBUG check to catch later offenders. b=103266 r=rbs sr=hyatt 2001-11-06 01:44:20 +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 c37faec28a bug 60816 use correct cell when rowspan and colspan overlap. Fix pixel rounding errors. sr=attiansi, r=alexsavulov 2001-10-26 02:30:38 +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 66046cb3f7 bug 82401 - remove cell from correct parent when cell spans into split row; work around bug 101264 by doing initial reflow with unconstrained height. sr=kin, r=attinasi. 2001-09-24 14:48:38 +00:00
waterson%netscape.com 7241191f29 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 2001-09-21 00:53:29 +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
attinasi%netscape.com c039da0012 Fixed a typo that was causing an assertion in one of my testcases: b=99229, r=karnaze sr=waterson 2001-09-11 21:28:38 +00:00
rjesup%wgate.com 3098b524ca bug 92573: VoidArray->AutoVoidArray changes for layout/*. r=kin, sr=attinasi 2001-09-06 21:11:44 +00:00
waterson%netscape.com 48483431d2 Bug 55086. Change nsContainerFrame::PositionFrameView() to position child views. Eliminate the |aView| parameter from that method, because the view can be retrieved from the frame and need not be done by the caller. Eliminate the NS_FRAME_NO_MOVE_CHILD_VIEWS flag, which was read-only; i.e., never set by anyone. r=dbaron, sr=attinasi 2001-09-05 20:27:19 +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 7812f3128c bug 89452 - added flag to indicate a row was inserted. Invalidate the area from that row to end of table if full reflow is not needed, sr=attinasi, r=alexsavulov. 2001-08-06 14:48:09 +00:00
karnaze%netscape.com 0a1340f34e bug 91934 - Added static UpdateCol and call it when a cell changes width even though a rebalance is not needed. Stopped storing fix width in col as max of min and fix.
bug 92647 incorrectly had this description (it should have said - correct calculate preferred table widths and cache the value). sr=attinasi, r=alexsavulov.
2001-08-06 14:18:50 +00:00
karnaze%netscape.com fdffb84507 bug 92647 - Added static UpdateCol and call it when a cell changes width even though a rebalance is not needed. Stopped storing fix width in col as max of min and fix. sr=attinasi, r=alexsavulov 2001-08-06 13:58:46 +00:00
bernd.mielke%snafu.de 6fcb747ea2 nsTableFrame code cleanup bug 89747 r =karnaze sr=attinasi 2001-07-13 05:53:09 +00:00
bernd.mielke%snafu.de f2f47a832e Paint table background also in quirks mode. bug 46268, patch by fantasai@escape.com
r=bernd sr=attinasi
2001-07-01 16:40:56 +00:00
bernd.mielke%snafu.de 8052df4516 fix table margins - remove redundancy in margin handling, bug 83786
r=karnaze sr=attinasi a=dbaron
2001-06-06 07:35:03 +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
karnaze%netscape.com 9b29d03daf bug 74731 - remove extraneous cols at end of cell map rows, keep table cols and cell map cols in synch. sr=attinasi, r=cmanske 2001-05-17 12:40:27 +00:00
karnaze%netscape.com 2f821884d3 bug 55202 - honor height of cell, sr=attinasi, r=bernd.mielke@snafu.de 2001-05-14 14:28:00 +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 fc4332dbf8 bug 66804 - return correct desired height when splitting row group. sr=waterson, r=bernd.mielke@snafu.de. 2001-04-17 14:39:54 +00:00
rods%netscape.com be33a15835 Implements Print FrameAsIs and other frame printing options
Bug 7201 r=dcone sr=attinasi
2001-04-12 13:04:29 +00:00
karnaze%netscape.com 1642ac06f0 bug 61663 - repeat headers and footers on more than 2 pages. sr=attinasi, r=bernd.mielke@snafu.de. 2001-04-09 14:21:24 +00:00
karnaze%netscape.com 036af5b01b bug 57467 - print a new row on the current page if it will waste too much space otherwise. sr=attinasi. 2001-04-02 03:21:58 +00:00
karnaze%netscape.com d1cda12bca bug 73629 - adjust mComputedWidth of a table or caption if it's nested, larger than avail width, not initial reflow. sr=attinasi 2001-03-28 21:19:31 +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 8752c7bd06 bug 72181 - treat style change reflow like initial reflow (with same optimizations). sr=attinasi 2001-03-25 20:06:29 +00:00
karnaze%netscape.com 160b0d5110 bug 72396 - fix CalcBorderBoxWidth to not use unconstrained width. Fix column balancing to be skipped when there is an unconstrained width. sr=attinasi 2001-03-24 23:15:49 +00:00
karnaze%netscape.com c04d324bf1 bug 72393 - correctly determine col min/max when cell changes size during incremental reflow and a strategy re-init is not needed. sr=attinasi, r=bernd.mielke@snafu.de 2001-03-23 15:34:14 +00:00
karnaze%netscape.com 8dbd4156be bug 72554 - fix printing assertions, account for footer space when spliting row group and reflow footer. sr=attinasi 2001-03-22 15:59:37 +00:00
timeless%mac.com e76ccfd647 fix Bug 70989 Clean up lots of "shadows" and other common warnings
r=peterv, jst, ducarroz, edburns. sr=jst, shaver
2001-03-21 05:32:22 +00:00
karnaze%netscape.com 563d0a66cb bug 71810 - don't have inline virtual methods. r=karnaze. 2001-03-13 15:21:42 +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
blakeross%telocity.com e821bffdf9 Table crash in webmail page (70072). r=karnaze sr=attinasi 2001-03-05 22:09:14 +00:00
rbs%maths.uq.edu.au da17b2181d Avoid ignorable whitespace in tables by setting the frame state-bit to this effect - bug 68411 r=karnaze sr=waterson 2001-02-23 12:35:34 +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
karnaze%netscape.com db74b1ba8a more peformance work on test case of bug 60494. Removed redundant calls to recompute colspan widths. Added more debug reflow timing code. r=peterl. 2001-02-01 02:29:14 +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 84a6a94d17 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
2001-01-12 23:07:54 +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 164543525f bugs 47163, 60807 and others, sr=buster
simplified BasicTableLayoutStrategy's CalculateTotals and CanAllocate
better calculation of proportional cols
calculation of adjusted widths due to colspans honors the fixed and pct widths of cols being spanned
2000-12-19 20:29:46 +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
karnaze%netscape.com 667b9b772d 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 2000-11-29 22:30:09 +00:00
karnaze%netscape.com b66f36dbfe bug 56563 - frame constructor creates anonymous frames when a table has a child which is not table related.
ConstructFrameByTag takes additional arg indicating that a whitespace frame was not constructed. sr=buster, r=attinasi
2000-11-27 22:47:33 +00:00
karnaze%netscape.com d44ea80115 bug 59252 - fixed regression caused by bug 53690. Don't reflow cell's in a fixed layout table unconstrained. a=buster, r=attinasi. 2000-11-15 14:59:47 +00:00
karnaze%netscape.com c355d8c8d2 bug 53690 - don't allow a split row to reflow its cells unconstrained. a=buster, r=dcone. 2000-11-03 04:25:29 +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 0f506fd568 bug 55192 (2nd part) - During a table reflow, consider row groups that may have been deleted because they were next flows and placed in the sibling chain. a=buster, r=dcone. 2000-10-09 23:57:51 +00:00
karnaze%netscape.com 4162100725 bug 53891 - strategy correctly calculates preferred width of a fixed width table. a=buster, r=dcone. 2000-10-06 01:04:13 +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 9e8ccf4889 bug 55192 - use the strategy of the first in flow when (incorrectly) getting an incremental reflow during printing. a=buster, r=peterl 2000-10-05 21:07:00 +00:00
attinasi%netscape.com 93bf8b9502 Fixed null content causing assertion in ReResolveStyleContext. b=54454 r=karnaze@netscape.com, a=buster@netscape.com 2000-10-04 22:22:46 +00:00
karnaze%netscape.com b5a6f2a36c bug 30418, 47252 - order row groups before performing most operations. r=attinasi. 2000-09-14 06:49:47 +00:00
attinasi%netscape.com b96825ada0 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 2000-09-12 22:48:35 +00:00
karnaze%netscape.com 08e46efc4c bug 39209 - don't use auto margins for max element size and maximum widths (when requested
during an incremntal reflow).
2000-09-11 00:02:04 +00:00
karnaze%netscape.com e7cf1bf7e1 bug 14929 - Reallocate colspan adjusted col widths when there is a percent col being spanned. 2000-09-09 01:46:44 +00:00
karnaze%netscape.com ca6ca2bb08 bug 27529 - round column allocations to even pixel value. bug 18955 - don't allocate a col based on desired content if there is a fixed value. r=peterl. 2000-09-01 01:29:50 +00:00
karnaze%netscape.com 6aa819edb3 bug 43732 - correctly calculate preferred width of table and cache it. r=syd. 2000-07-06 13:37:28 +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 e8ceb8ee1b r:mjudge
fix for bug# 29785, keyboard navigation of tables in editor
not completely fixed, tables with row|column span do not navigate correctly
2000-05-11 01:04:39 +00:00
karnaze%netscape.com 2005083629 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.
2000-05-10 00:54:00 +00:00
karnaze%netscape.com 56207eb311 bug 32471 - incremental reflow considers edge cellspacing when setting desired height
bug 37508 - get the row grp frame when there is a scrolling row grp
2000-05-08 21:39:35 +00:00
attinasi%netscape.com e6aca4fe1b Put checks for quirk mode before painting table background back in. Tables now inherit backgrond color and image into the cells and allow them to paint instead in quirks mode (the way it originally was). 2000-05-04 21:39:14 +00:00
karnaze%netscape.com 6e6baf6140 bug 37791 - calculate auto margins during an incremental reflow. 2000-05-04 14:49:35 +00:00
karnaze%netscape.com 65511dc8d6 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.
2000-04-28 21:05:31 +00:00
attinasi%netscape.com 5a97ca8cc7 Made table backgrounds draw in NavQuirks as well as Standard mode. r=karnaze b=34838 2000-04-28 20:40:17 +00:00
rods%netscape.com 87ca6a324b Add ifdef'ed Performance Reflow Counting code 2000-04-21 21:36:33 +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
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
troy%netscape.com 4f7d1e3f2a b=24343 r=karnaze@netscape.com Changes so we properly lay out after changing
the font using the pref UI. Block and table code changed to handle
eReflowReason_StyleChange
2000-03-15 15:16:03 +00:00