Commit Graph

516 Commits

Author SHA1 Message Date
dbaron%dbaron.org
57124d8115 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
b2dc2fa3b5 fix bustage 2003-01-07 06:08:23 +00:00
bernd.mielke%snafu.de
88a3ae90de fix border draw glitchin border collapse mode caused by an uninitialized variable bug 128930, patch karnaze@netscape.com r=bernd sr=bzbarsky 2003-01-07 05:14:54 +00:00
jkeiser%netscape.com
3e9a5f3d4c Make empty tables with fixes layout show up (bug 128873), r=karnaze@netscape.com, sr=bzbarsky@mit.edu 2002-12-16 07:58:39 +00:00
bernd.mielke%snafu.de
8cb0c90ab3 dont paint borders for hidden table frames, callqueryinterface cleanup bug 32199 r=karnaze sr=dbaron 2002-12-14 17:52:27 +00:00
karnaze%netscape.com
0f0042a430 bug 127286 (part II due to cvs problems) - Handle splitting of floaters when lines impacting them are outside the block containing the floaters. sr=kin, r=alexsavulov 2002-12-04 00:58:52 +00:00
karnaze%netscape.com
371ffa7c11 bug 183274 - bernd's patch to fix some typos and wrong max value. sr=bzbarsky, r=karnaze 2002-12-03 20:20:53 +00:00
sicking%bigfoot.com
8d87d5e285 Bug 8929: Kill NS_COMFALSE
r=peterv sr=bz
2002-11-25 11:21:22 +00:00
karnaze%netscape.com
00660edeab bug 91491 - Invalidate the correct area when there is a caption. Invalidate max of area before reflow and area after. sr=kin, r=bernd. 2002-11-21 15:28:02 +00:00
dbaron%fas.harvard.edu
f6b1702067 Consolidate all CSS pseudos and split them into three atom lists to distinguish between pseudo-classes, pseudo-elements, and fake-pseudo-elements used for anonymous boxes. b=147887 r,sr=roc,bz 2002-11-17 15:37:56 +00:00
caillon%returnzero.com
5ba9439c07 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
karnaze%netscape.com
9bdca7c014 bug 162691 - don't include siblings which will be next in flows when ordering row groups. sr=kin, r=bernd. 2002-08-30 16:30:04 +00:00
bernd.mielke%snafu.de
669b85879f improved lookup of cellmap for the repeated thead and tfoot sections during printing bug 159358 patch by karnaze r=bernd sr=dbaron 2002-08-12 04:55:29 +00:00
dbaron%fas.harvard.edu
839c83ca5d Move FindNonTransparentBackground from nsStyleUtil to nsCSSRendering so that nsStyleUtil doesn't need to be in content/shared. b=71257 r=heikki sr=bzbarsky 2002-08-11 17:56:15 +00:00
bernd.mielke%snafu.de
4655d242cc bug 155652 build warning fix r=karnaze sr=bz 2002-08-09 09:30:41 +00:00
dbaron%fas.harvard.edu
e63a11c0e8 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
4e2ffcaab4 bug 127544 - fixed asserts when there are no cells in a row group and there is a column. sr=kin, r=alexsavulov. 2002-06-19 22:35:59 +00:00
karnaze%netscape.com
4a91b4198d bug 149436 - shanmu's patch to fix crash on OSF/1, sr=kin, r=karnaze 2002-06-19 13:43:19 +00:00
karnaze%netscape.com
db9173f46c bug 144024 - Don't store first in flow row groups and rows in map border iterator. Use row group of first in flow row group when accessing offset for borders. sr=attinasi, r=alexsavulov 2002-05-31 14:40:51 +00:00
bernd.mielke%snafu.de
605e1e230b removal of debug cruft bug 146474 r=karnaze sr=attinasi 2002-05-29 18:55:34 +00:00
karnaze%netscape.com
1faf4c0592 bug 145305 - split floaters during printing. sr=attinasi, r=alexsavulov. 2002-05-28 22:50:43 +00:00
jst%netscape.com
1075a3f80d 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
e3554c37cc 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
4dca55521f bug 120107 - calc max/max-elem sizes when requested during an unconstrained incremental reflow. sr=waterson, r=bernd. 2002-05-09 14:28:28 +00:00
bernd.mielke%snafu.de
8911328db0 hide also collapsed borders when the table is hidden, bug 135782 r=karnaze sr=attinasi 2002-05-01 05:33:11 +00:00
karnaze%netscape.com
7e0c444abb bug 138436 - remove redundant style change reflows on auto-layout table. sr=attinasi, r=alexsavulov 2002-04-27 15:54:37 +00:00
karnaze%netscape.com
253add7dbb 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
739509e13e bug 135112 - correctly set border collapse damage area and fix it if incorrect when borders are calculated. a=asa, adt=jaimejr, sr=attinasi, r=bernd 2002-04-06 22:56:45 +00:00
karnaze%netscape.com
ef8486e013 bug 134845 - avoid dividing by zero during pixel rounding. a=asa, adt=jamiejr, sr=attinasi, r=kin 2002-04-06 22:28:39 +00:00
karnaze%netscape.com
9acf51392f 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
dbaron%fas.harvard.edu
b350a0fd0f Remove |aForceUnique| parameter from style context resolving methods, and corresponding flag from nsStyleContext, since the only caller was ReResolveStyleContext (on the assumption that other callers used it). Allow ReResolveStyleContext to benefit from FindChildWithRules and allow it to re-resolve to the same tree even when called on the root style context. b=133821 r=attinasi sr=hyatt a=asa 2002-03-31 16:59:00 +00:00
karnaze%netscape.com
5fd3b234da 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
dbaron%fas.harvard.edu
8e8fb14ea0 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
121df3998f 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
773d422073 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
303ce25eb2 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
146f2a192d reversion of patch for 92868, to repair severe regression (129827, a=drivers 2002-03-10 06:16:01 +00:00
karnaze%netscape.com
789e7e3040 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
74a917c925 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
71fc2ecfc9 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
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