1059 Commits

Author SHA1 Message Date
bmlk%gmx.de
40d3d97310 build fix take 2
git-svn-id: svn://10.0.0.236/trunk@146843 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-13 17:34:10 +00:00
bmlk%gmx.de
c8215214df fix for broken build on mac
git-svn-id: svn://10.0.0.236/trunk@146842 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-13 17:14:15 +00:00
bmlk%gmx.de
deb5f49052 overflow area implementation for table frames, bug 173277 r=jkeiser sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@146838 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-13 16:26:30 +00:00
dbaron%dbaron.org
80cf7ecc33 Reflow the children with style changed reason when a style changed reflow is targeted at a table. Patch from Bernd Mielke <bernd_mozilla@gmx.de>. b=198506 r+sr=dbaron a=brendan
git-svn-id: svn://10.0.0.236/trunk@145992 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-14 06:15:10 +00:00
dbaron%dbaron.org
a17e8c0bfb Make margins between tables and captions collapse correctly when negative margins are involved. b=213465 r=bernd sr=roc
git-svn-id: svn://10.0.0.236/trunk@145128 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-23 23:04:37 +00:00
dbaron%dbaron.org
5d93a3b860 Remove unused and incorrect functions. b=212601 r+sr=jag
git-svn-id: svn://10.0.0.236/trunk@144808 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-13 23:25:41 +00:00
jaggernaut%netscape.com
b9532c30c4 Bug 212601: Remove unused variable from nsTableCellFrame.cpp. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@144805 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-13 22:55:03 +00:00
dbaron%dbaron.org
593f58592d Remove hint parameter from AttributeChanged methods and simplify style hint mechanism. b=211308 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@144735 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-11 21:16:12 +00:00
bzbarsky%mit.edu
4f63a75a74 Move to the double-'::' notation for various pseudo-elements.
Bug 211657, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@144534 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-07 21:57:01 +00:00
bzbarsky%mit.edu
8ceac615ed Make sure the for loop terminates. Also caught by bryner, r+sr=me
git-svn-id: svn://10.0.0.236/trunk@144512 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-07 05:15:41 +00:00
bzbarsky%mit.edu
f61d27d7cd Fixing orange (casting a nsTableColFrame* to nsTableColGroupFrame* doesn't
really work...).  Patch suggested by bryner, r=me.


git-svn-id: svn://10.0.0.236/trunk@144511 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-07 04:57:56 +00:00
roc+%cs.cmu.edu
b4657fef30 Ongoing deCOMtamination. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@144510 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-07 02:01:29 +00:00
dbaron%dbaron.org
519cf3b3d3 DeCOMtaminate nsIFrame::GetView and SetView, and add HasView, GetClosestView, and AreAncestorViewsVisible to consolidate common patterns. b=208004 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@143960 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-19 23:44:01 +00:00
bmlk%gmx.de
941c8a1041 the mew of colspan cell needs to be redistributed this can only be done during the strategy init. bug 207208 r=jkeiser sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@143461 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-09 17:51:25 +00:00
bmlk%gmx.de
2765854b63 Initialize only table related frames, that should be more safe, bug 207145 r=jkeiser sr=kin
git-svn-id: svn://10.0.0.236/trunk@143417 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-07 08:48:24 +00:00
jkeiser%netscape.com
e8d440a119 Fix crash on split colspan frames (Bug 194330), r=karnaze@netscape.com, sr=kin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@143380 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-06 03:22:01 +00:00
kin%netscape.com
327eaaa511 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


git-svn-id: svn://10.0.0.236/trunk@143339 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-05 17:44:28 +00:00
bmlk%gmx.de
fed872aa02 border collapse - lookup the correct border owner style, bug 196133, r=jkeiser sr=roc+moz
git-svn-id: svn://10.0.0.236/trunk@143142 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-31 14:49:18 +00:00
bmlk%gmx.de
05fac045c1 avoid marking columns that only have a desired width empty, what would exclude them from space redistribution, bug 194024, r=jkeiser sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@143140 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-31 14:15:56 +00:00
dougt%meer.net
c1d4a123b6 Fixing memory leaks. b=206655, r=bernd, sr=dbaron, a=asa
git-svn-id: svn://10.0.0.236/trunk@142769 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-22 22:12:09 +00:00
dbaron%dbaron.org
69da9d4a19 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
git-svn-id: svn://10.0.0.236/trunk@142488 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-15 03:42:21 +00:00
dbaron%dbaron.org
67703ac4f8 The table outer frame should not get events for any coordinates, since it includes the margins of the table and caption. b=200966 r=bernd sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@140924 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-09 21:14:51 +00:00
bmlk%gmx.de
463e729d9d build warning fix bug 198738 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@140748 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-05 15:36:31 +00:00
bzbarsky%mit.edu
7961c32e38 fixing typo in error message. Bug 196449, patch by anedah-9@student.luth.se
(Andre Dahlqvist), r=bernd, sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@140631 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-03 05:35:51 +00:00
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