1035 Commits

Author SHA1 Message Date
bmlk%gmx.de
c94f337ec7 fix build warnings from my previous checkin
git-svn-id: svn://10.0.0.236/trunk@140052 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-22 12:21:22 +00:00
bmlk%gmx.de
46c75680d5 change table cell width to content width, bug 119100 r=jkeiser sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@139957 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-21 19:35:36 +00:00
bmlk%gmx.de
7a86de8e77 compute margin based overflow area for innertable and caption frame bug 198009 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@139956 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-21 19:32:09 +00:00
bzbarsky%mit.edu
cb5f836162 Fix some spelling errors in comments. Bug 106386, patch by Nicholas Bebout
<nb@ipnode.info>, r=doron, sr=dmose


git-svn-id: svn://10.0.0.236/trunk@139745 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-19 04:35:08 +00:00
bmlk%gmx.de
e951e7cc70 require the presence of the inner table frame for reflow bug 189751 r=jkeiser sr=roc+moz
git-svn-id: svn://10.0.0.236/trunk@139445 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-14 10:31:55 +00:00
bmlk%gmx.de
1274fb2bbb compiler warning fix, bug 167659, orig. patch by caillon, r=jkeiser, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@139277 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-11 13:33:19 +00:00
bernd.mielke%snafu.de
939e18317a mBits must be an unsigned long because it must match the size of mOrigCell on both 32- and 64-bit platforms. bug 194726 r/sr=roc+moz
git-svn-id: svn://10.0.0.236/trunk@138695 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-28 06:35:12 +00:00
roc+%cs.cmu.edu
ad79d0e7da 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
git-svn-id: svn://10.0.0.236/trunk@138258 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-23 02:49:22 +00:00
bernd.mielke%snafu.de
83bcdd3b07 improve rowspan border collapse handling, bug 157047 r=jkeiser, sr=roc+moz
git-svn-id: svn://10.0.0.236/trunk@138217 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 19:24:49 +00:00
dbaron%dbaron.org
e6a2b29ebf Remove nsISizeOfHandler and associated SizeOf methods. b=106792 r=bzbarsky sr=jst
git-svn-id: svn://10.0.0.236/trunk@138193 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 15:34:38 +00:00
bryner%netscape.com
c44337949a 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.
git-svn-id: svn://10.0.0.236/trunk@138129 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 00:32:13 +00:00
bernd.mielke%snafu.de
a93c74cc23 the cursor should move at positions where the cellmap has holes, bug 193405 r=jkeiser sr/a=dbaron
git-svn-id: svn://10.0.0.236/trunk@137891 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-17 06:17:09 +00:00
bernd.mielke%snafu.de
34d7f03d82 limit the number of rowspans to value that can be handled by the cellmap bug 141818 r=karnaze sr=roc+moz
git-svn-id: svn://10.0.0.236/trunk@136626 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-19 15:15:22 +00:00
bernd.mielke%snafu.de
65f1c9b07d improved carret navigation in tables containing rowspans, bug 187060 r=karnaze sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@136595 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-18 14:05:50 +00:00
bernd.mielke%snafu.de
2cf71c064f fix for a O2(n) dependency when adding a row to a table, bug 85755 r=karnaze sr=brendan
git-svn-id: svn://10.0.0.236/trunk@136591 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-18 14:02:52 +00:00
dbaron%dbaron.org
a569c670f5 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
git-svn-id: svn://10.0.0.236/trunk@136064 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-09 14:26:32 +00:00
bryner%netscape.com
6278746fdf Phase 1 of style context deCOMtamination (bug 114713). Remove all dependencies on nsIStyleContext from outside of content and layout. Make nsIFrame::GetStyleData be a non-inline virtual function when called from outside of layout, since the nsStyleContext implementation won't be available to those callers. r=dbaron, sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@136056 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-09 06:49:07 +00:00
bernd.mielke%snafu.de
6a5e37a38b fix bustage
git-svn-id: svn://10.0.0.236/trunk@135933 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-07 06:08:23 +00:00
bernd.mielke%snafu.de
cdc88ff9b8 fix border draw glitchin border collapse mode caused by an uninitialized variable bug 128930, patch karnaze@netscape.com r=bernd sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@135930 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-07 05:14:54 +00:00
bernd.mielke%snafu.de
c5c4b69893 split further fixed and percent row height calculation, bug 153995 patch by Rick.Ju@sun.com r=karnaze sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@135858 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-05 14:16:58 +00:00
bernd.mielke%snafu.de
80b690ea77 documentation fix, bug 187257 r=karnaze sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@135764 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-02 10:23:08 +00:00
dbaron%fas.harvard.edu
a7efa8275b Replace NS_BLOCK_WRAP_SIZE with making unconstrained-width reflow of frames with NS_BLOCK_SPACE_MGR consider the floats. This means we no longer use the overflow area for layout (other than the overflow property). Handle right floaters in unconstrained width reflow by just treating them as left floaters. b=172896 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@135476 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-19 00:12:08 +00:00
jkeiser%netscape.com
d5d000ed33 Make empty tables with fixes layout show up (bug 128873), r=karnaze@netscape.com, sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@135340 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-16 07:58:39 +00:00
bernd.mielke%snafu.de
9b8af87292 dont paint borders for hidden table frames, callqueryinterface cleanup bug 32199 r=karnaze sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@135304 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-14 17:52:27 +00:00
bernd.mielke%snafu.de
fbc508401a cleanup of unsigned int arithmethic + callqueryinterface, initial patch by tenthumbs@cybernex.net bug 157153 r=karnaze sr=roc+moz
git-svn-id: svn://10.0.0.236/trunk@135250 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-13 15:21:38 +00:00
karnaze%netscape.com
15faa7640c 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
git-svn-id: svn://10.0.0.236/trunk@134740 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-04 00:58:52 +00:00
karnaze%netscape.com
971e0c5824 bug 183274 - bernd's patch to fix some typos and wrong max value. sr=bzbarsky, r=karnaze
git-svn-id: svn://10.0.0.236/trunk@134713 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-03 20:20:53 +00:00
bernd.mielke%snafu.de
41c72d5fee dont consider the outer table frame twice for a selection, bug 182449, r=karnaze sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@134666 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-03 05:22:32 +00:00
sicking%bigfoot.com
6f8753e832 Bug 8929: Kill NS_COMFALSE
r=peterv sr=bz


git-svn-id: svn://10.0.0.236/trunk@134398 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-25 11:21:22 +00:00
karnaze%netscape.com
1432927ab9 bug 91491 - Invalidate the correct area when there is a caption. Invalidate max of area before reflow and area after. sr=kin, r=bernd.
git-svn-id: svn://10.0.0.236/trunk@134267 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-21 15:28:02 +00:00
dbaron%fas.harvard.edu
307f43b5a1 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
git-svn-id: svn://10.0.0.236/trunk@134006 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-17 15:37:56 +00:00
bernd.mielke%snafu.de
5c14c1baea 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
git-svn-id: svn://10.0.0.236/trunk@133752 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-13 15:38:48 +00:00
bernd.mielke%snafu.de
015107030e fix OS2 bustage sorry
git-svn-id: svn://10.0.0.236/trunk@133392 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-08 10:42:48 +00:00
bernd.mielke%snafu.de
63c27e6db9 Implement for table captions caption-side: left and right, also <caption align="left"> and right, further vertical-align:top, middle and bottom for table captions bug 3166 r=karnaze sr=kin
git-svn-id: svn://10.0.0.236/trunk@133384 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-08 05:29:34 +00:00
karnaze%netscape.com
3d58e9c1e1 bug 176030 - Make Destroy fix up prev/next-in-flow pointers. a=roc, sr=bzbarsky, r=bernd.
git-svn-id: svn://10.0.0.236/trunk@132710 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-30 15:33:36 +00:00
bernd.mielke%snafu.de
c43119a53d pass selection correctly to the children of a caption, bug 164313, r=dbaron sr=bzbarsky a=dbaron
git-svn-id: svn://10.0.0.236/trunk@132507 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-25 04:53:41 +00:00
caillon%returnzero.com
0f7366d6d0 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


git-svn-id: svn://10.0.0.236/trunk@131419 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 10:24:53 +00:00
karnaze%netscape.com
cc81dbe612 bug 165772 - rewrite of SplitSpanningCells and most of SplitRowGroup to better handle splitting of rowspan cells. sr=kin, r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@131076 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-03 14:33:23 +00:00
rbs%maths.uq.edu.au
22f904d76a fix typo, b=40721, r=karnaze, sr=kin
git-svn-id: svn://10.0.0.236/trunk@130907 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-01 19:40:28 +00:00
karnaze%netscape.com
50553919ea bug 160014 - recalc cellspacing total when balancing. sr=kin, r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@129631 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-15 01:59:21 +00:00
karnaze%netscape.com
5327a7f9d3 bug 154780 - make the computed width for a cell unconstrained when the table will re-initialize or re-balance. a=rjesup, sr=kin, r=alexsavulov.
git-svn-id: svn://10.0.0.236/trunk@129098 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-09 18:46:06 +00:00
karnaze%netscape.com
f7e67af4b3 bug 154780 - Revised bernd's patch. treat null unit margins as auto. leave the cell avail width at 0 if a strategy init will occur. sr=kin, r=alexsavulov.
git-svn-id: svn://10.0.0.236/trunk@128780 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-04 00:10:43 +00:00
karnaze%netscape.com
2ad50a9fa3 bug 162691 - don't include siblings which will be next in flows when ordering row groups. sr=kin, r=bernd.
git-svn-id: svn://10.0.0.236/trunk@128566 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-30 16:30:04 +00:00
dbaron%fas.harvard.edu
e8821b1085 Clean up unneeded includes of nsStyleUtil.h, and some other include cleanup in MathML. r=rbs b=71257 (|#include| changes only)
git-svn-id: svn://10.0.0.236/trunk@127461 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-16 11:52:20 +00:00
bernd.mielke%snafu.de
18ce09091c improved lookup of cellmap for the repeated thead and tfoot sections during printing bug 159358 patch by karnaze r=bernd sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@127055 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-12 04:55:29 +00:00
dbaron%fas.harvard.edu
1be537f3c0 Move FindNonTransparentBackground from nsStyleUtil to nsCSSRendering so that nsStyleUtil doesn't need to be in content/shared. b=71257 r=heikki sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@127035 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-11 17:56:15 +00:00
bernd.mielke%snafu.de
89d147429a bug 155652 build warning fix r=karnaze sr=bz
git-svn-id: svn://10.0.0.236/trunk@126890 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-09 09:30:41 +00:00
bzbarsky%mit.edu
7a8ba23608 Fix allocation of whitespace in table-layout:fixed to handle rounding
errors better.  Bug 157890, r=karnaze, sr=dbaron, a=asa


git-svn-id: svn://10.0.0.236/trunk@126040 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-30 02:29:03 +00:00
bernd.mielke%snafu.de
38f87f8a57 bug 131687 Take into acount MIN_adj width as it has been included in totals before r=karnaze sr=waterson
git-svn-id: svn://10.0.0.236/trunk@124473 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-02 04:39:16 +00:00
dbaron%fas.harvard.edu
7e821aaa94 Convert handwritten GetIID methods to use NS_DEFINE_STATIC_IID_ACCESSOR and add |const| to GetCID methods so that static |nsID|s are declared as |const|. b=153525 sr=jag r=bryner
git-svn-id: svn://10.0.0.236/trunk@124073 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-26 03:38:55 +00:00