Commit Graph

466 Commits

Author SHA1 Message Date
dbaron@dbaron.org
a9012d687a Temporary fix for 'overflow: hidden' on table cells. b=221140 r=bernd sr=bzbarsky 2003-10-13 21:58:12 +00:00
bmlk@gmx.de
474757012f overflow area implementation for table frames, bug 173277 r=jkeiser sr=dbaron 2003-09-13 16:26:30 +00:00
dbaron@dbaron.org
9bca465c9d Remove unused and incorrect functions. b=212601 r+sr=jag 2003-07-13 23:25:41 +00:00
jaggernaut@netscape.com
9d1c71ac09 Bug 212601: Remove unused variable from nsTableCellFrame.cpp. r+sr=bzbarsky 2003-07-13 22:55:03 +00:00
dbaron@dbaron.org
660339f971 Remove hint parameter from AttributeChanged methods and simplify style hint mechanism. b=211308 r+sr=bzbarsky 2003-07-11 21:16:12 +00:00
roc+@cs.cmu.edu
8586019741 Ongoing deCOMtamination. r+sr=dbaron 2003-07-07 02:01:29 +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
bmlk@gmx.de
27bbab1bb0 change table cell width to content width, bug 119100 r=jkeiser sr=bzbarsky 2003-03-21 19:35:36 +00:00
roc+@cs.cmu.edu
76bc22515a Bug 191938. 'Dont print backgrounds' by setting background to white. also clean up unused params and make background-attachment:fixed work in printing/printpreview. r+sr=bzbarsky 2003-02-23 02:49:22 +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
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
7366113d2f dont paint borders for hidden table frames, callqueryinterface cleanup bug 32199 r=karnaze sr=dbaron 2002-12-14 17:52:27 +00:00
bernd.mielke@snafu.de
a250b82c93 change default height of empty table cells to 1px in quirks mode and 0px in standards mode + some CallQueryInterface cleanup, bug 16012 r=karnaze sr=bzbarsky 2002-11-13 15:38:48 +00:00
caillon@returnzero.com
0d9875f0a1 Correcting our background painting code per the latest CSS specs. By default, backgrounds should be painted to the border
area, and not the padding area as per the CSS 2 Errata, CSS2.1 and CSS3.  Also, implementing the CSS3 'background-clip'
and 'background-origin' properties (currently with -moz- prefixes) to control this behavior.
Bug 162252, r=dbaron sr=roc+moz
2002-10-08 10:24:53 +00:00
dbaron@fas.harvard.edu
6ccb4ee1ec Clean up unneeded includes of nsStyleUtil.h, and some other include cleanup in MathML. r=rbs b=71257 (|#include| changes only) 2002-08-16 11:52:20 +00:00
dbaron@fas.harvard.edu
d7ebbb7e37 Split strict mode into almost-standards and full-standards mode, where the only quirk in almost standards mode is the quirky inline box model. Remove previous fix for bug 151620. Tweak mode detection to use almost-standards for XHTML Transitional, HTML 4.01 transitional with system ID, and for IBM system DOCTYPE. b=153032 r=karnaze, bzbarsky, harishd sr=waterson 2002-06-25 21:16:17 +00:00
karnaze@netscape.com
1b6c1384ec bug 127022 - make sure the desired width is at least as big as the max element width. sr=kin, r=alexsavulov 2002-06-19 23:16:33 +00:00
karnaze@netscape.com
07db5cdb29 bug 114706 - only use last height as desired size if a special reflow occurred during an incremental reflow. sr=kin 2002-06-19 22:42:41 +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
karnaze@netscape.com
107a3d3eb6 bug 141021 - skip row reflow optimization of cell when the cell hasn't had a pass2 reflow. sr=waterson, r=bernd. 2002-05-09 14:44:02 +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
c7f8b18323 bug 133948 - don't reset HadSpecialReflow bit so that subsequent resize reflows will occur whenever a special height reflow has ever occured. a=asa, adt=jaimejr, sr=attinasi, r=bernd 2002-04-06 22:42:39 +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
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
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
333e12f843 bug 127471 - construct the correct nsStyleBorder for border collapse cells, . sr=roc, r=alexsavulov, a=asa 2002-03-07 15:23:08 +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
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
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
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
karnaze@netscape.com
aa82006475 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
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
105616ada7 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
25dcd61e32 bug 103925 (3rd patch) - display changes in reflow parameters. sr=attinasi. 2001-11-27 01:45:46 +00:00
bernd.mielke@snafu.de
6b76d7935f 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
ec449b04e1 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
e84b24f505 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
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
karnaze@netscape.com
a7cf214107 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
5f73eaff77 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