dbaron@fas.harvard.edu
771618df2c
Fix 2 cases where ReResolveStyleContext was broken, causing serious problems with dynamic style reresolution. Change nsIFrame::GetStyleContextProvider to GetParentStyleContextFrame, always use its result rather than using the parent frame in some cases, and move a bit of the complexity into the GetParentStyleContextFrame implementations. Fix block-within-inline case (bug 129350) using a special-previous-sibling frame property and ensuring that NS_FRAME_IS_SPECIAL is copied when frames are split. Fix out-of-flow frame case (bug 88154) by going to the placeholder map and by parenting the placeholder frame style contexts to the style context from their frame parent rather than the out-of-flow frame. b=129350 r=attinasi sr=hyatt a=asa
2002-03-27 02:38:13 +00:00
karnaze@netscape.com
cc52ab720f
bug 132130 - Get correct starting row on collapsing border iterator. a=scc, sr=attinasi, r=alexsavulov
2002-03-25 15:03:14 +00:00
karnaze@netscape.com
9a3780e93f
bug 24000 - implement page-break-before/after:always using new nsPageBreakFrame. Tables handle page breaks internally. a=asa, sr=attinasi, r=alexsavulov
2002-03-17 21:35:08 +00:00
karnaze@netscape.com
1ca2aeac53
bug 92868 - Simplified the style context provider mechanism, changed frame manager to re-resolve the provider first and to use correct style context in a few other places. a=roc, sr=attinasi, r=dbaron.
2002-03-12 15:21:35 +00:00
shaver@mozilla.org
f496748aa7
reversion of patch for 92868, to repair severe regression (129827, a=drivers
2002-03-10 06:16:01 +00:00
karnaze@netscape.com
3c53ca4de3
bug 92868 (also bugs 51037, 90960, 91443) - Simplified the style context provider mechanism, changed frame manager to re-resolve the provider first and to use correct style context in a few other places, sr=roc, r= bernd, a=asa.
2002-03-08 15:34:33 +00:00
karnaze@netscape.com
2d6ca07d1d
bug 128876 - expanded border collapse damage area to include spanners. sr=roc, r=bernd, a=asa
2002-03-07 15:33:49 +00:00
bernd.mielke@snafu.de
7f4f6e8d03
bug 122899 encapsulate debug code r=karnaze sr=attinasi a=roc+moz
...
bug 128229 pass stylechange reflow to table childrens r=karnaze sr=roc+moz a=asa
2002-03-06 15:56:32 +00:00
karnaze@netscape.com
d1486c2b21
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
39bfc652a8
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
32de2fff71
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
2004955618
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
de46039898
fix mac build bustage
2002-02-19 18:27:25 +00:00
karnaze@netscape.com
9a13af360b
bug 41262 - new table border collapsing code. sr=attinasi, r=alexsavulov.
2002-02-19 15:48:28 +00:00
karnaze@netscape.com
f96467ba92
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
9938bc4eee
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
5139dae37b
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
7ce39a9fce
remove unused static kITableRowGroupFrameIID saving 16 bytes (bug 117927; rs=glazou)
2002-01-09 15:46:00 +00:00
dbaron@fas.harvard.edu
edc54e6926
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
33e3e06f9e
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
d05e65aea2
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
637428f552
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
3c367a5d13
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
4867cbd756
bug 51023 - reduce the size of table related frame classes. sr=kin.
2001-11-30 15:05:51 +00:00
karnaze@netscape.com
39fb4725ee
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
347c514d3f
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
a3ac20fe84
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
aa00eb2f47
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
977bfb19d7
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
b1f36968fa
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
0c19e014cb
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
63f46f0ed2
bug 103925 - general reflow debugging capability. sr=attinasi, r=alexsavulov
2001-10-29 01:43:59 +00:00
karnaze@netscape.com
f23661affc
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
58d409fba9
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
0efe7a6753
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
60f3d8f316
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
5b7e018561
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
741138288f
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
a14a4473cf
bug 92573: VoidArray->AutoVoidArray changes for layout/*. r=kin, sr=attinasi
2001-09-06 21:11:44 +00:00
waterson@netscape.com
e8403a2f92
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
22e2fdee40
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
d752f5a1fc
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
c73a17c59b
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
d52f666021
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
d860799650
nsTableFrame code cleanup bug 89747 r =karnaze sr=attinasi
2001-07-13 05:53:09 +00:00
bernd.mielke@snafu.de
078cae1310
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
44e75b83b7
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
dfdfa14592
Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson
2001-05-31 22:19:43 +00:00
karnaze@netscape.com
ba5961b377
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
3858759be8
bug 55202 - honor height of cell, sr=attinasi, r=bernd.mielke@snafu.de
2001-05-14 14:28:00 +00:00