mcafee@netscape.com
99b5642905
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
37a4efae45
#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
8e5eadcbdf
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
c0ed0d0271
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
9b5b8f9a1b
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
c88090d762
bug 9848 - check for out of memory when calling new. r=dcone.
2000-11-30 15:53:55 +00:00
karnaze@netscape.com
1e68eca7b0
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
e14aef2c24
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
b7605711d9
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
d8506a775d
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
0462ea4ce8
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
7730ce0cd3
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
abba919fe9
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
27b7ca0531
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
ddf9bac577
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
ed29830588
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
78c290d42e
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
5bfec9ce78
bug 30418, 47252 - order row groups before performing most operations. r=attinasi.
2000-09-14 06:49:47 +00:00
attinasi@netscape.com
a0252400b9
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
08751b6b5a
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
a32f82f8dc
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
59d6a99d6d
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
c1a67bf11e
bug 43732 - correctly calculate preferred width of table and cache it. r=syd.
2000-07-06 13:37:28 +00:00
karnaze@netscape.com
238eedfff2
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
71ccee07a0
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
d5977cf08e
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
26c9977a20
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
65ca26a12f
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
8bcd073393
bug 37791 - calculate auto margins during an incremental reflow.
2000-05-04 14:49:35 +00:00
karnaze@netscape.com
92f336c9ea
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
d1164813c1
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
c468a68fcc
Add ifdef'ed Performance Reflow Counting code
2000-04-21 21:36:33 +00:00
jim_nance@yahoo.com
112be9f648
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
e6b31901b6
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
0db3c15533
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
ee71ad262f
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
eeaae96b5e
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
karnaze@netscape.com
b19c52b1d8
PDT+ bug 30559 - incorrect inclusion of table margin when placing row group. r=buster, a=rickg.
2000-03-14 14:42:25 +00:00
karnaze@netscape.com
aa6a03b2da
PDT+ bug 29429 - incremental reflow and nested tables, r=troy, a=rickg
2000-03-09 08:45:26 +00:00
karnaze@netscape.com
9abc7f28bc
PDT+ bug 27124 - correctly handle child frames that are not row groups. r=troy, a=rickg
2000-02-27 22:36:42 +00:00
jdunn@netscape.com
d30b76c7fe
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
ee63354f10
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
d22f8603be
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
troy@netscape.com
b25c08bdd4
r=karnaze@netscape.com Performance improvement for tables. During the initial
...
reflow we skip the pass2 reflow if it's an unconstrained reflow
2000-02-11 03:55:33 +00:00
pp@ludusdesign.com
baf799923b
Converting ::GetIID() into NS_GET_IID(). Bug #20232 . r=scc, r=mozbot
2000-02-02 22:24:56 +00:00
cmanske@netscape.com
06526a3316
Part of composer table edit work (bug 20973): Return NS_TABLELAYOUT_CELL_NOT_FOUND instead of error when a cell isn't found at a cellmap location. r=mjudge.
2000-02-01 23:39:37 +00:00
troy@netscape.com
113eee88d9
b=25834 r=karnaze@netscape.com Changed to ignore the reflow status when
...
reflowing an unknown frame (i.e., a frame that isn't a row group)
2000-02-01 04:30:04 +00:00
karnaze@netscape.com
ae130de1c4
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
17ac04c796
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
troy@netscape.com
78b0d681d6
r=nisheeth@netscape.com Added asserts to help catch the case of poorly
...
targeted reflow commands
2000-01-26 22:11:47 +00:00