bmlk@gmx.de
a6e978654d
Initialize only table related frames, that should be more safe, bug 207145 r=jkeiser sr=kin
2003-06-07 08:48:24 +00:00
jkeiser@netscape.com
f890e154c9
Fix crash on split colspan frames (Bug 194330), r=karnaze@netscape.com, sr=kin@netscape.com
2003-06-06 03:22:01 +00:00
kin@netscape.com
34f098195a
Fix for bug 193257 (AIM Today page renders incorrectly)
...
Modified AppendFrames() and InsertFrames() to call SetNeedStrategyBalance(PR_TRUE) when the table isn't auto height. This forces any previously reflowed rows, who were adjusted to take up all of the table's height, to recalculate their height during the dirty reflow that gets generated, so all rows get resized properly.
r=bernd_mozilla@gmx.de sr=dbaron@dbaron.org
2003-06-05 17:44:28 +00:00
dbaron@dbaron.org
f98e358469
Clean up API (and its callers) for getting style data: remove unneeded null checks and switch to new inline member functions (one for each struct) that return values. b=197205 r+sr=roc a=brendan
2003-05-15 03:42:21 +00:00
bmlk@gmx.de
3f7cab2c23
build warning fix bug 198738 r/sr=bzbarsky
2003-04-05 15:36:31 +00:00
dbaron@dbaron.org
834096485c
Remove nsISizeOfHandler and associated SizeOf methods. b=106792 r=bzbarsky sr=jst
2003-02-22 15:34:38 +00:00
bryner@netscape.com
ba58162e96
Remove nsIStyleContext (bug 114713), r/sr=dbaron. Changed lots of methods to use nsStyleContext* or already_AddRefed<nsStyleContext> as return values, depending on whether a reference is returned. Turn on nsRefPtr (bug 104346), and change nsDerivedSafe to not declare AddRef and Release explicitly virtual, r=jag, sr=dbaron.
2003-02-22 00:32:13 +00:00
bernd.mielke@snafu.de
948bca6a43
the cursor should move at positions where the cellmap has holes, bug 193405 r=jkeiser sr/a=dbaron
2003-02-17 06:17:09 +00:00
bernd.mielke@snafu.de
5d0bea95db
improved carret navigation in tables containing rowspans, bug 187060 r=karnaze sr=sfraser
2003-01-18 14:05:50 +00:00
dbaron@dbaron.org
1c37d177d4
Replace computation of max-element-size (height and width) with max-element-width alone, since the max-element-height is practically unused and not meaningful for layout. b=186953 r+sr=bzbarsky
2003-01-09 14:26:32 +00:00
bernd.mielke@snafu.de
1f967c0385
cleanup of unsigned int arithmethic + callqueryinterface, initial patch by tenthumbs@cybernex.net bug 157153 r=karnaze sr=roc+moz
2002-12-13 15:21:38 +00:00
karnaze@netscape.com
587f0cc185
bug 176030 - Make Destroy fix up prev/next-in-flow pointers. a=roc, sr=bzbarsky, r=bernd.
2002-10-30 15:33:36 +00:00
karnaze@netscape.com
816162680d
bug 165772 - rewrite of SplitSpanningCells and most of SplitRowGroup to better handle splitting of rowspan cells. sr=kin, r=alexsavulov
2002-10-03 14:33:23 +00:00
karnaze@netscape.com
ccd6869865
bug 151956 - make sure child of row group is a row in CalcRowHeights. sr=kin, r=bernd.
2002-06-19 13:37:18 +00:00
karnaze@netscape.com
64914f1fcf
bug 148338 - fixed optimization in nsTableRowGroupFrame::CalculateRowHeights to only process the newly added rows. sr=waterson, r=bernd
2002-06-14 14:17:01 +00:00
karnaze@netscape.com
7ce5d8ded3
bug 145305 - split floaters during printing. sr=attinasi, r=alexsavulov.
2002-05-28 22:50:43 +00:00
jst@netscape.com
78ccba6821
Fixing bug 146034. Getting rid of nsHTMLIIDs.{h,cpp}. r=jfrancis@netscape.com, sr=rpotts@netscape.com
2002-05-23 00:00:34 +00:00
waterson@netscape.com
a7380946d3
Bug 129115. Change the reflow path from a list structure to a tree structure to amortize state recovery and damage propagation costs. Eliminate table timeout reflows. r=kin,karnaze,rods,rbs; sr=attinasi
2002-05-10 18:22:41 +00:00
joki@netscape.com
7cda2343bd
Fix for 93111, Make table row and col frame invalid as direct targets of mouseevents. Mouseevents on table should hit cells or the table itself instead. r:dbaron, sr:jst
2002-04-14 21:52:52 +00:00
karnaze@netscape.com
335ac62023
bug 125543 - Prevent row groups from splitting in the reflow preceeding a special height reflow. Cells are only notified that they should observe a percent height element if the element is inside the table's cell. Percent height elements inside the body will have a height based on the page height when printing. sr=kin, r=alexsavulov.
2002-04-10 21:32:41 +00:00
karnaze@netscape.com
91f16036cf
bug 131020 - process special height reflow when initiator is the containing table. a=roc+moz, sr=attinasi, r=bernd.
2002-04-01 06:46:17 +00:00
karnaze@netscape.com
3b0f491c52
bug 133756 - always return last height during special height reflow. a=roc+moz, sr=attinasi, r=alexsavulov
2002-03-31 17:44:57 +00:00
karnaze@netscape.com
38c1ab328b
bug 123983 - set mIsTopOfPage in the reflow state, fix desired height in rows and row groups, clean up nsTableRowGroupFrame::SplitRowGroups and handle more cases of splitting/moving rows. a=roc+moz, sr=attinasi, r=alexsavulov
2002-03-27 05:50:24 +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
c11438a333
bug 126118 - remove code which tries to honor height of cell after it splits, get correct height on 3rd pass reflow. a=asa, sr=attinasi, r=alexsavulov.
2002-03-16 21:46:29 +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
bernd.mielke@snafu.de
5c20aa2b51
patch by fantasai - removing standard table background painting as our old quirks mode background
...
painting is now more CSS2 compliant (the w3c published a errata) bug 4510
r=karnaze sr=attinasi a=roc+moz
2002-02-21 05:36:16 +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
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
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
bernd.mielke@snafu.de
d0c5e5b0a8
bug 112010 fix build warnings r=karnaze sr=attinasi
2002-01-04 10:52:48 +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
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
466090a6fe
bug 102784 - only start a row on another page if it doesn't fit on the current one if there is less than 5% of the current page space left. sr=attinasi, r=bernd
2001-11-21 14:42:00 +00:00
karnaze@netscape.com
a816e1604c
bug 110566 - get correct cell spacing value when calculating pct height basis on table. sr=attinasi, r=alexsavulov.
2001-11-20 01:21:18 +00:00
karnaze@netscape.com
f134147d68
bug 110523 - Get the correct starting row index when inserting a new row in a tbody that is not the first one. sr=atinasi, r=alexsavulov
2001-11-20 00:58:53 +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
bernd.mielke@snafu.de
b7f36303d3
style change reflows should be send down to the childrens, bug 108340, r=karnaze
...
sr=attinasi
2001-11-14 11: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
ac22113ed2
additional patch for bug 97138 to cache pct height info on row and constrain sum of row height pcts <= 100.
2001-11-05 15:15:24 +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
c9949990a2
bug 96343 - skip cellspacing logic when child is not a row. sr=attinasi, r=alexsavulov
2001-10-22 14:37:03 +00:00
bernd.mielke@snafu.de
ddaa570810
bug 103443 replace the return rv?rv:NS_ERROR_FAILURE; with a more correct version
...
r=dbaron sr=attinasi
2001-10-13 09:27:46 +00:00