1129 Commits

Author SHA1 Message Date
bmlk%gmx.de
8cea43fadb make visibility collapse work during incr reflows bug 77019 r= bzbarsky sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@155641 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-28 16:42:59 +00:00
bmlk%gmx.de
d684511c4c remove special handling for rows with rowspans as table frames report now the overflow area. bug 240275 r/sr=roc
git-svn-id: svn://10.0.0.236/trunk@155538 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-26 17:56:48 +00:00
bzbarsky%mit.edu
7f1f8aacd3 Change mCBReflowState to mean the containing block of _this_ reflow state
instead of the containing block of kids.  Fix the containing block calculations
for various cases of absolutely positioned descendants of relatively positioned
inlines (eg make "right" and "bottom" work in those situations).  Bug 135082,
r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@155456 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-24 17:56:23 +00:00
tor%cs.brown.edu
fba58fbb27 Bug 240274 - remove unused argument of SetClip{Rect,Region}.
r=blizzard, sr=bryner


git-svn-id: svn://10.0.0.236/trunk@155393 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-23 15:21:24 +00:00
bmlk%gmx.de
69d5739253 fix bustage
git-svn-id: svn://10.0.0.236/trunk@155290 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-21 16:45:42 +00:00
bmlk%gmx.de
3d248b601b Remove unused functions bug 240559 r/sr =bzbarsky
git-svn-id: svn://10.0.0.236/trunk@155289 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-21 15:49:29 +00:00
bmlk%gmx.de
e4d6615e12 remove table background quirk use standards painting instead bug 237078 patch by fantasai@escape.com r=bernd sr=dbaron
crash prevention when colframes return bogus colindices bug 240854 r/sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@155080 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 18:17:00 +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
tor%cs.brown.edu
996688b00b Bug 240274 - remove PopState() argument. r=blizzard, sr=bryner
git-svn-id: svn://10.0.0.236/trunk@155061 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 13:13:35 +00:00
bmlk%gmx.de
48995421dc use the desiredsize and not the previous mrect size for the overflow area, bug 233438, r/sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@154914 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-15 04:28:28 +00:00
bmlk%gmx.de
e988c1fecd make table pixel rounding IE compatible, bug 188377 patch by croo@nm.ru, r=me sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@154912 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-15 04:13:11 +00:00
bmlk%gmx.de
0d1c2f46fe row view needs to synced after we resized the cells bug 239101 r/sr=roc
git-svn-id: svn://10.0.0.236/trunk@154860 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-14 06:22:52 +00:00
dbaron%dbaron.org
05856970f1 Fix logic error causing certain patterns of table rows to spread themselves over many pages when printing. b=231823,212984 r=bernd sr=roc
git-svn-id: svn://10.0.0.236/trunk@154824 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-13 20:47:52 +00:00
bmlk%gmx.de
50ee50ad30 move HasMoreThanOneCell from nsTableRowGroupFrame.cpp into nsCellMap.cpp where it belongs. Don't try to repair the cellmap on every reflow, this might help with with large table rendering performance, bug 240318 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@154778 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-13 06:21:16 +00:00
jim_nance%yahoo.com
d0e0a7f7dd Fix Bug 236703 - Make the table layout code faster and smaller.
r=bernd sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@154731 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-12 23:51:33 +00:00
kyle.yuan%sun.com
22c4c82052 Bug 239962 Incorrect table layout caused by Sun compiler with -xO5
r=roland.mainz, sr=roc, a=mkaply
a workaround for the Sun Forte compiler's bug.


git-svn-id: svn://10.0.0.236/trunk@154624 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-08 13:46:57 +00:00
bmlk%gmx.de
4ab8cd3e7f synchronize the view of a table cell if we dont realign the cell content vertically, bug 237734, r/sr=roc a=chofmann
git-svn-id: svn://10.0.0.236/trunk@154345 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-28 15:13:31 +00:00
bmlk%gmx.de
31e840fa5c snychronize the view of a table cell once we have vertically aligned the cell content and know the correct overflow area, bug 230730, r/sr=roc a=chofmann
git-svn-id: svn://10.0.0.236/trunk@154343 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-28 06:31:03 +00:00
bmlk%gmx.de
a5eddc3a94 Protect during border collapse computations against zero child frames. This is another fallout from the checkin 3.556 for bug 4510, bug 238537, patch by fantasai@escape.com sr=dbaron r=bernd a=chofmann
git-svn-id: svn://10.0.0.236/trunk@154333 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-27 06:02:09 +00:00
bmlk%gmx.de
97b33f1cad bring col frames and cellmap in sync when due to row removal the number of column rises, as rowspans will then span in the rows below, bug 237421, r/sr=dbaron a=chofmann
git-svn-id: svn://10.0.0.236/trunk@154227 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-24 17:22:12 +00:00
bmlk%gmx.de
553532d79b wallpaper over a zero pointer deref rev2, bug 237421, r/sr=dbaron a=asa
git-svn-id: svn://10.0.0.236/trunk@154111 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-19 17:25:16 +00:00
bmlk%gmx.de
7eba618f24 wallpaper over a zero pointer deref, bug 237421, r/sr=dbaron a=chofmann
git-svn-id: svn://10.0.0.236/trunk@153981 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-15 16:09:40 +00:00
dbaron%dbaron.org
1a94650e48 DeCOMify nsIFrame::IsPercentageBase and rename to IsContainingBlock. b=237169 r+sr=bzbarsky a=brendan
git-svn-id: svn://10.0.0.236/trunk@153898 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-12 04:40:17 +00:00
kyle.yuan%sun.com
c768be9121 Bug 237067 Solaris (forte) build is broken since nsTablePainter.h landing
r/sr/a=dbaron
Fix the bustage on Solaris.


git-svn-id: svn://10.0.0.236/trunk@153859 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-11 02:41:34 +00:00
roc+%cs.cmu.edu
44185c6657 Bug 235264. Clean up invalidation to go through a single nsIFrame::Invalidate function and take account of 'outline' where necessary. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@153808 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-10 03:09:05 +00:00
bmlk%gmx.de
bc6dd3a017 implement standards compliant (CSS2.1) table background rendering patch by fantasai@escape.com r=bernd sr=bz, dbaron
git-svn-id: svn://10.0.0.236/trunk@153736 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-09 06:48:35 +00:00
bryner%brianryner.com
4b70febae6 inline IsPaginated, SetPaginatedScrolling, and GetPaginatedScrolling. Bug 229371, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@153488 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-03 18:24:20 +00:00
bmlk%gmx.de
018f4cb8aa when dead cells are replaced in the cellmap, the corresponding column should be informed that it now contains one more cell bug 235535 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@153486 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-03 17:45:50 +00:00
dbaron%dbaron.org
798ec8156a Table rows/cols and groups don't paint their backgrounds, so CanPaintBackground must return false. b=236053 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@153397 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-01 08:17:59 +00:00
bryner%brianryner.com
d956db112f Get rid of nsIFrameManager abstract interface to the frame manager. Bug 233972, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@153111 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-23 21:29:06 +00:00
bryner%brianryner.com
7ace3321e6 Inline TwipsToPixels and PixelsToTwips on nsIPresContext. Bug 229371, r+sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@152647 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-11 04:57:07 +00:00
sicking%bigfoot.com
26c9ab7b2b Bug 232706: Remove unneccesary datatypes from nsHTMLValue and cleanup AttributeToString.
r=caillon sr=jst


git-svn-id: svn://10.0.0.236/trunk@152623 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-11 00:38:12 +00:00
bmlk%gmx.de
9631b46bd0 recover overflow area during incr. reflows in table frames, bug 219220 r/sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@151959 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-28 18:44:41 +00:00
bryner%brianryner.com
e46f7c8143 More nsIPresContext deCOMtamination (bug 229371). Removed GetBaseURL, rename GetMedium to Medium and inline it, remove virtual style resolution methods that forward to style set (callers will call style set methods directly). Removed PresContext parameter to StyleSet style resolution functions. r+sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@151927 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-28 00:18:22 +00:00
bryner%brianryner.com
2dce372072 DeCOMtaminate nsCSSFrameConstructor (bug 231157). This gets rid of the nsIStyleFrameConstruction and nsICSSFrameConstructor interfaces. The frame constructor now has the same lifetime as the pres shell. r+sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@151662 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-21 23:05:10 +00:00
bryner%brianryner.com
70bf134ff4 Continuing nsIPresContext deCOMtamination (bug 229371). Remove GetImageLoadFlags (unused). Make failure to fetch the LookAndFeel service cause Init() to fail, don't null check it after that, and inlined the getter. Move IOService caching to nsImageFrame, the only user of it. r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@151636 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-21 09:35:59 +00:00
peterv%propagandism.org
94b69cb574 Miscellaneous cleanup. r/sr=jst.
git-svn-id: svn://10.0.0.236/trunk@151493 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-18 10:45:26 +00:00
bmlk%gmx.de
a316af5457 remove unneccesary prescontext arguments bug 230923 r/sr=roc
git-svn-id: svn://10.0.0.236/trunk@151492 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-18 10:28:40 +00:00
roc+%cs.cmu.edu
35c266025d Bug 190735. deCOMtaminate nsIFrame::FirstChild and nsIFrame::GetAdditionalChildListName. r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@151077 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-09 14:20:53 +00:00
bryner%brianryner.com
468d3e2e8d Eliminate nsIStyleSet as an XPCOM interface, making the implementation internal to layout. Frame constructor ownership moves to the pres shell, and the style set methods that forward to the frame constructor are gone. Rewrote style set sheet add/remove to reduce code size. For more details, see bug 64116. r+sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@150998 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-07 22:30:53 +00:00
bmlk%gmx.de
d2095e6eef dont paint border collapse borders if the damage area is not covered by the borders, bug 225266 r/sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@150832 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-02 08:26:36 +00:00
bmlk%gmx.de
6cc6a341d2 prescontext removal part 2 bug 229631 r/sr=roc
git-svn-id: svn://10.0.0.236/trunk@150768 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-29 16:58:20 +00:00
bmlk%gmx.de
8fbde33dad function name change to be more compliant with naming conventions, bug 229620 r/sr=brendan
git-svn-id: svn://10.0.0.236/trunk@150763 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-29 07:32:32 +00:00
bmlk%gmx.de
7eb545bb4e reduce prescontext usage in basic layout strategy bug 229457 r/sr=roc
git-svn-id: svn://10.0.0.236/trunk@150759 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-28 17:02:40 +00:00
bryner%brianryner.com
4cca78120d deCOMtaminate nsIPresContext::GetCompatibilityMode / SetCompatibilityMode (bug 229081). r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@150720 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-24 21:51:50 +00:00
bmlk%gmx.de
f091805f25 make code more readable bug 226619, patch by mats.palmgreen@bredband.net r=bzbarsky sr= dbaron
git-svn-id: svn://10.0.0.236/trunk@150663 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-23 08:49:48 +00:00
bmlk%gmx.de
123c9b5a85 tables can be used as rectangular items without content, bug 227123 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@150662 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-23 07:22:16 +00:00
bryner%brianryner.com
b5347dd60c Change all callers of nsIPresContext::GetShell() to use the non-refcounting versions. Most callers now use PresShell(), a few that were checking for null conditions are using GetPresShell() -- this will be remedied once we can ensure that a prescontext never has a null pres shell. Bug 227690, r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@150598 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-21 05:36:36 +00:00
bmlk%gmx.de
01ce2c23bd remove bogus array handling code bug 226757 r/sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@150560 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-20 11:15:27 +00:00
dbaron%dbaron.org
8f6d91f175 Don't mess with overflow area during first pass reflow. b=222336 Patch from Bernd Mielke <bernd_mozilla@gmx.de>. r+sr=dbaron a=brendan
git-svn-id: svn://10.0.0.236/trunk@150385 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-17 01:33:57 +00:00