24 Commits

Author SHA1 Message Date
dbaron%dbaron.org
b258ce85ca Single line comments to describe files (helpful in LXR)
git-svn-id: svn://10.0.0.236/trunk@193203 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-29 18:29:03 +00:00
roc+%cs.cmu.edu
0d1ac7f10f Bug 288560. Set mIsTopOfPage for each column in a column set. Also, make it possible to force floats to fit by relaxing the space manager's height constraint if necessary. r+sr=dbaron,a=chofmann
git-svn-id: svn://10.0.0.236/trunk@172829 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-28 21:25:11 +00:00
bryner%brianryner.com
865734bf2f Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
git-svn-id: svn://10.0.0.236/trunk@160184 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-31 23:15:21 +00:00
dbaron%dbaron.org
2c97c45164 Move clearing from nsBlockBandData to nsSpaceManager so that 'clear' works even when the floats to be cleared don't overlap the block's border-box. b=148994 Patch by Blake Kaplan <mrbkap@rice.edu>. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@157603 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-08 19:18:30 +00:00
gerv%gerv.net
2ac510b678 Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155068 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 14:30:37 +00:00
dbaron%dbaron.org
33601224e0 Use the correct term "float" instead of "floater". b=218654 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@147924 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-13 21:51:02 +00:00
dbaron%dbaron.org
897a1a273b Change the way we calculate max-element-width for blocks with floaters: stop trying (and sometimes failing) to ensure that there can always be text next to the floater. b=186593 r+sr=roc+moz
git-svn-id: svn://10.0.0.236/trunk@138197 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 16:19:31 +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
dbaron%fas.harvard.edu
7ddeb79974 Remove unnecessary XPCOM interface around nsSpaceManager. b=102453 r=jag sr=waterson
git-svn-id: svn://10.0.0.236/trunk@106331 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 05:06:07 +00:00
gerv%gerv.net
13afb6d0f9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
buster%netscape.com
2fa9ad90e8 bug 588 (text justification) for Robert O'Callahan <roc+moz@cs.cmu.edu>
r=buster

bug 18545 ([FLOAT] Problem Centering <TABLE> with <DIV> tag)
r=troy

bugs 18827, 19579, 22327 24782, 26512, 30124, 31849, 32846 (floater behavior wrong)
The primary change here is to determine if a block is impacted by a floater, and if so
mark the block's lines dirty when appropriate.
r=troy

no bug number.  performance work.  reduced the size of some reflow data structures by
collapsing multiple fields into a single bit field.
r=troy


git-svn-id: svn://10.0.0.236/trunk@66201 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-17 14:40:46 +00:00
buster%netscape.com
6dda03d9d8 fixed bug 19494
r=troy

The problem was the space mgr was computing mCount to be > 2* mSize, which this code couldn't handle correctly. So now if the space mgr computes mCount to be more than twice the size of the current count, we immediately bump up the size to that count.  If more are needed later, the next call will give us twice this number anyway.


git-svn-id: svn://10.0.0.236/trunk@56504 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-23 20:49:07 +00:00
dmose%mozilla.org
92d791b7b0 updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52908 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:40:37 +00:00
kipp%netscape.com
57dac66f2e r=troy; bugs: 13196; fixed floating table reflow issues found in 13196 by storing floater max-element-size for later retrieval
git-svn-id: svn://10.0.0.236/trunk@51397 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-21 20:44:22 +00:00
kipp%netscape.com
268f88d813 Expose left vs. right floaters (again)
git-svn-id: svn://10.0.0.236/trunk@47815 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-16 19:56:15 +00:00
kipp%netscape.com
d313b06d4d Reduced the default number of nsBandTrapezoids to reduce stack space used (bug #10310)
git-svn-id: svn://10.0.0.236/trunk@44918 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 21:44:10 +00:00
troy%netscape.com
ed06c35f34 Added 'm' prefix to structs defined in nsISpaceManager
git-svn-id: svn://10.0.0.236/trunk@41059 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-25 19:01:13 +00:00
kipp%netscape.com
28d76e7068 Fixed bug #5192 by growing the trapezoid buffer as needed
git-svn-id: svn://10.0.0.236/trunk@28352 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 23:08:03 +00:00
kipp%netscape.com
5185e0d192 Expose trapezoids
git-svn-id: svn://10.0.0.236/trunk@27025 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 17:30:57 +00:00
kipp%netscape.com
32e9a9f145 Use raw trapezoid data to solve issues of floaters with margins (bug #2024)
git-svn-id: svn://10.0.0.236/trunk@25180 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 01:59:13 +00:00
kipp%netscape.com
66a375fa18 Simply floater counters
git-svn-id: svn://10.0.0.236/trunk@24761 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 01:32:36 +00:00
kipp%netscape.com
c60c176227 Removed a duplicated method; moved by debug asserts into a central spot
git-svn-id: svn://10.0.0.236/trunk@23179 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 19:22:55 +00:00
kipp%netscape.com
0dcc919b64 Added methods for get floater info in the band and a method to compute the impact on the max-element-size of the floaters
git-svn-id: svn://10.0.0.236/trunk@16581 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 18:50:45 +00:00
kipp%netscape.com
5f8a1a12d4 new
git-svn-id: svn://10.0.0.236/trunk@15993 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 21:44:22 +00:00