Граф коммитов

1193 Коммитов

Автор SHA1 Сообщение Дата
bryner%brianryner.com 5c02a6978c Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc 2004-07-31 23:15:21 +00:00
bryner%brianryner.com 0fd21c3872 Consolidate PresContext classes into a single nsIPresContext implementation, and finish deCOMtaminating it. Bug 253470, r+sr=roc. 2004-07-29 19:41:39 +00:00
roc+%cs.cmu.edu b751c53c83 Bug 251501. Refactor handling where frames get inserted on content insertion. r+sr=dbaron 2004-07-18 12:02:53 +00:00
aaronleventhal%moonset.net 910e44a7d5 Bug 151375. Implement css2 outline (still called -moz-outline for now). Makes -moz-outline draw outside of the current frame. Improves appearance of focus outline. Lots of help from roc. r+sr=dbaron 2004-07-16 16:56:21 +00:00
jim_nance%yahoo.com f158d730dc Fix bug 241599 - Speed up table layotu code by reducing GetCellInfoAt() calls. r=bernd sr=dbaron 2004-07-16 01:49:18 +00:00
aaronleventhal%moonset.net 692a414811 Backing out bug 151375 for now, because of scrolling regressions in HTML and XUL listboxes and comboboxes 2004-07-15 18:57:47 +00:00
aaronleventhal%moonset.net be1b821056 Bug 151375. Implement css2 outline (still called -moz-outline for now). Makes -moz-outline draw outside of the current frame. Improves appearance of focus outline. Lots of help from roc. r+sr=dbaron 2004-07-14 21:58:34 +00:00
bmlk%gmx.de aa063dc0db empty tables should not have a size in quirks mode. bug 241161 r/sr=bzbarsky 2004-06-09 04:13:53 +00:00
roc+%cs.cmu.edu 790167bd82 Bug 241454. Enforce the rule that if a frame ever reflows its child asking for MEW, then it *always* reflows the child asking for MEW. r=bernd,sr=dbaron 2004-06-06 20:45:23 +00:00
bmlk%gmx.de 890df88cf5 during incr. reflow table cells have a unconstrained computed size, they need to ensure that a second constrained reflow is issued on the children, bug 237366, initial idea by saito@densan.co.jp r/sr=dbaron 2004-06-05 16:59:46 +00:00
bmlk%gmx.de 307143cf2a reset the cell offset when a row becomes again visible, order the rowgroups before collapsing the rows bug 242253 r/sr=dbaron 2004-05-08 05:11:29 +00:00
bmlk%gmx.de 1b62f506e5 remove unused code that causes crashes, bug 242368, p=fantasai r=bernd sr=rbs a=asa 2004-05-05 16:03:55 +00:00
bmlk%gmx.de 5a1e4899be add colframe documentation, fix a colframe renumbering problem, bug 238999 r/sr=bzbarsky 2004-05-03 18:31:34 +00:00
bmlk%gmx.de 3b5407ab45 remove bogus conversions bug 241997 r/sr=bzbarsky 2004-05-02 09:51:57 +00:00
bmlk%gmx.de f857105001 make visibility collapse work during incr reflows bug 77019 r= bzbarsky sr=dbaron 2004-04-28 16:42:59 +00:00
bmlk%gmx.de f5904c3c32 remove special handling for rows with rowspans as table frames report now the overflow area. bug 240275 r/sr=roc 2004-04-26 17:56:48 +00:00
bzbarsky%mit.edu d44c8e2932 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
2004-04-24 17:56:23 +00:00
tor%cs.brown.edu 868dd94ecb Bug 240274 - remove unused argument of SetClip{Rect,Region}.
r=blizzard, sr=bryner
2004-04-23 15:21:24 +00:00
bmlk%gmx.de 775215ff0d fix bustage 2004-04-21 16:45:42 +00:00
bmlk%gmx.de de5b842be2 Remove unused functions bug 240559 r/sr =bzbarsky 2004-04-21 15:49:29 +00:00
bmlk%gmx.de 05b675f299 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
2004-04-18 18:17:00 +00:00
gerv%gerv.net 708b56cff4 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:30:37 +00:00
tor%cs.brown.edu 83eb215db9 Bug 240274 - remove PopState() argument. r=blizzard, sr=bryner 2004-04-18 13:13:35 +00:00
bmlk%gmx.de fcfa993e38 use the desiredsize and not the previous mrect size for the overflow area, bug 233438, r/sr=dbaron 2004-04-15 04:28:28 +00:00
bmlk%gmx.de ad43c63bf3 make table pixel rounding IE compatible, bug 188377 patch by croo@nm.ru, r=me sr=dbaron 2004-04-15 04:13:11 +00:00
bmlk%gmx.de 5171d71d60 row view needs to synced after we resized the cells bug 239101 r/sr=roc 2004-04-14 06:22:52 +00:00
dbaron%dbaron.org edff141de5 Fix logic error causing certain patterns of table rows to spread themselves over many pages when printing. b=231823,212984 r=bernd sr=roc 2004-04-13 20:47:52 +00:00
bmlk%gmx.de 8c2f50790a 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 2004-04-13 06:21:16 +00:00
jim_nance%yahoo.com cd708d9afb Fix Bug 236703 - Make the table layout code faster and smaller.
r=bernd sr=bzbarsky
2004-04-12 23:51:33 +00:00
kyle.yuan%sun.com b30731f177 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.
2004-04-08 13:46:57 +00:00
bmlk%gmx.de 1a0dd341a6 synchronize the view of a table cell if we dont realign the cell content vertically, bug 237734, r/sr=roc a=chofmann 2004-03-28 15:13:31 +00:00
bmlk%gmx.de 26b1761add 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 2004-03-28 06:31:03 +00:00
bmlk%gmx.de 83d28ac5d6 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 2004-03-27 06:02:09 +00:00
bmlk%gmx.de 77c174ed49 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 2004-03-24 17:22:12 +00:00
bmlk%gmx.de 95b610d0ce wallpaper over a zero pointer deref rev2, bug 237421, r/sr=dbaron a=asa 2004-03-19 17:25:16 +00:00
bmlk%gmx.de d35090f0e2 wallpaper over a zero pointer deref, bug 237421, r/sr=dbaron a=chofmann 2004-03-15 16:09:40 +00:00
dbaron%dbaron.org 41c16857c2 DeCOMify nsIFrame::IsPercentageBase and rename to IsContainingBlock. b=237169 r+sr=bzbarsky a=brendan 2004-03-12 04:40:17 +00:00
kyle.yuan%sun.com 79fc69cf20 Bug 237067 Solaris (forte) build is broken since nsTablePainter.h landing
r/sr/a=dbaron
Fix the bustage on Solaris.
2004-03-11 02:41:34 +00:00
roc+%cs.cmu.edu 8397ac8d8f Bug 235264. Clean up invalidation to go through a single nsIFrame::Invalidate function and take account of 'outline' where necessary. r+sr=dbaron 2004-03-10 03:09:05 +00:00
bmlk%gmx.de ea9e726b8b implement standards compliant (CSS2.1) table background rendering patch by fantasai@escape.com r=bernd sr=bz, dbaron 2004-03-09 06:48:35 +00:00
bryner%brianryner.com ab4ac54b6f inline IsPaginated, SetPaginatedScrolling, and GetPaginatedScrolling. Bug 229371, r+sr=roc. 2004-03-03 18:24:20 +00:00
bmlk%gmx.de 2e4b1165aa 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 2004-03-03 17:45:50 +00:00
dbaron%dbaron.org 26521d3245 Table rows/cols and groups don't paint their backgrounds, so CanPaintBackground must return false. b=236053 r+sr=roc 2004-03-01 08:17:59 +00:00
bryner%brianryner.com 225298a99e Get rid of nsIFrameManager abstract interface to the frame manager. Bug 233972, r+sr=roc. 2004-02-23 21:29:06 +00:00
bryner%brianryner.com 92499cbd13 Inline TwipsToPixels and PixelsToTwips on nsIPresContext. Bug 229371, r+sr=dbaron. 2004-02-11 04:57:07 +00:00
sicking%bigfoot.com d5a23a72e6 Bug 232706: Remove unneccesary datatypes from nsHTMLValue and cleanup AttributeToString.
r=caillon sr=jst
2004-02-11 00:38:12 +00:00
bmlk%gmx.de 871c57c63b recover overflow area during incr. reflows in table frames, bug 219220 r/sr=dbaron 2004-01-28 18:44:41 +00:00
bryner%brianryner.com bc74f0b352 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. 2004-01-28 00:18:22 +00:00
bryner%brianryner.com 23ecb8ff4e 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. 2004-01-21 23:05:10 +00:00
bryner%brianryner.com ef5c330583 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. 2004-01-21 09:35:59 +00:00
peterv%propagandism.org 379d6c8a41 Miscellaneous cleanup. r/sr=jst. 2004-01-18 10:45:26 +00:00
bmlk%gmx.de a217311c27 remove unneccesary prescontext arguments bug 230923 r/sr=roc 2004-01-18 10:28:40 +00:00
roc+%cs.cmu.edu e7f165c614 Bug 190735. deCOMtaminate nsIFrame::FirstChild and nsIFrame::GetAdditionalChildListName. r+sr=bz 2004-01-09 14:20:53 +00:00
bryner%brianryner.com e65d2d2fe5 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. 2004-01-07 22:30:53 +00:00
bmlk%gmx.de 688ce265b9 dont paint border collapse borders if the damage area is not covered by the borders, bug 225266 r/sr=dbaron 2004-01-02 08:26:36 +00:00
bmlk%gmx.de e763429e44 prescontext removal part 2 bug 229631 r/sr=roc 2003-12-29 16:58:20 +00:00
bmlk%gmx.de 09f24b47f1 function name change to be more compliant with naming conventions, bug 229620 r/sr=brendan 2003-12-29 07:32:32 +00:00
bmlk%gmx.de d481d3e19e reduce prescontext usage in basic layout strategy bug 229457 r/sr=roc 2003-12-28 17:02:40 +00:00
bryner%brianryner.com d572bc76cf deCOMtaminate nsIPresContext::GetCompatibilityMode / SetCompatibilityMode (bug 229081). r+sr=bzbarsky. 2003-12-24 21:51:50 +00:00
bmlk%gmx.de 6312f04201 make code more readable bug 226619, patch by mats.palmgreen@bredband.net r=bzbarsky sr= dbaron 2003-12-23 08:49:48 +00:00
bmlk%gmx.de 76cf6abfab tables can be used as rectangular items without content, bug 227123 r/sr=bzbarsky 2003-12-23 07:22:16 +00:00
bryner%brianryner.com dfe3513814 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. 2003-12-21 05:36:36 +00:00
bmlk%gmx.de ba4cab3073 remove bogus array handling code bug 226757 r/sr=dbaron 2003-12-20 11:15:27 +00:00
dbaron%dbaron.org 75c5c882b1 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 2003-12-17 01:33:57 +00:00
dbaron%dbaron.org f594793ce5 Remove missed line from previous checkin. b=221140 2003-12-15 03:35:50 +00:00
dbaron%dbaron.org f9aa023719 Fix regressions of 'overflow: hidden' on various table display types. b=221140 r=bernd sr=roc a=asa 2003-12-12 23:00:54 +00:00
dbaron%dbaron.org 162f96a58c Restore overflow area in the reflow state when no reflow is done, so views are sized correctly. b=227496 r=bernd sr=roc a=tor 2003-12-12 22:58:25 +00:00
bmlk%gmx.de fa801de1c9 avoid pointer to old overflow area as this may change underneath (FMR), bug 226870, r/sr=dbaron a=tor 2003-12-04 20:13:09 +00:00
dbaron%dbaron.org a012b34247 Do inheritance without layout-dependent computations, per CSS2.1. Remove eStyleUnit_Inherit and nsStyleCoord::SetInheritValue. b=205790 r+sr=bzbarsky a=asa 2003-11-24 19:46:25 +00:00
bzbarsky%mit.edu 6148370ad0 Use SafeElementAt for accesses that may be out of bounds. Bug 226163, r=bernd,
sr=dbaron
2003-11-19 06:20:14 +00:00
bmlk%gmx.de f715a7b7ff OS/2 crash prevention, make sure that a division by zero can not occure, bug 221975, r/sr=bzbarsky 2003-11-13 17:34:46 +00:00
bmlk%gmx.de 6f183845ad issue style change reflow also at the table caption when there is a style change reflow
that is targeted at the inner table frame. This is currently necessary due to bizarre
style contetxt relationsship between inner and outer table frame, bug 222846 r/sr=bzbarsky
2003-11-09 11:35:52 +00:00
bmlk%gmx.de 79578e623e dont shrink mRowCount when inserting cells in a row, bug 220536, r/sr=bzbarsky 2003-11-09 08:47:05 +00:00
uid502 d81619b4fa Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky 2003-10-31 20:19:18 +00:00
bmlk%gmx.de bbed1b51f3 fixed table layout add cellspacing only for columns where cells originate. bug 220653 r/sr=bzbarsky 2003-10-21 19:29:14 +00:00
bzbarsky%mit.edu bce5582c9d Last checkin was actually for bug 222846 2003-10-21 04:32:57 +00:00
bzbarsky%mit.edu d98065a9a8 Make style-change reflows on the table correctly reflow the caption. Bug
222864, r=bernd, sr=dbaron
2003-10-21 04:30:10 +00:00
bmlk%gmx.de 5c48e554d5 reinitialize layout strategy in response to a style incr. reflow targeted at a table frame bug 222467 r/sr=bzbarsky
make debug statement more compact bug 220448 r/sr=jst
2003-10-19 19:23:11 +00:00
dbaron%dbaron.org 9504ee5b9e Temporary fix for 'overflow: hidden' on table cells. b=221140 r=bernd sr=bzbarsky 2003-10-13 21:58:12 +00:00
dbaron%dbaron.org 3de4dc91e0 Use the correct term "float" instead of "floater". b=218654 r+sr=bzbarsky 2003-10-13 21:51:02 +00:00
bmlk%gmx.de f54aa64c5a allow empty row groups in the border collapse access to the cellmap. bug 217769 r/sr=bzbarsky 2003-09-27 12:00:56 +00:00
jst%mozilla.jstenback.com 5037b2a4a2 Fixing bug 215981. DeCOMtaminating nsIContent and nsIDocument some, and also some minor changes to other related interfaces. r=caillon@aillon.org, sr=peterv@propagandism.org. 2003-09-27 04:18:26 +00:00
bmlk%gmx.de f597144140 include previously removed borderpadding and cellspacing, bug 215629, r=jkeiser sr=dbaron 2003-09-24 16:04:54 +00:00
uid502 1cfabd35d3 Bug 190735. Final patch for deCOMtamination of core nsIFrame methods! rs=dbaron 2003-09-23 17:05:29 +00:00
bmlk%gmx.de e8658a232f build fix take 2 2003-09-13 17:34:10 +00:00
bmlk%gmx.de 98d631d0c8 fix for broken build on mac 2003-09-13 17:14:15 +00:00
bmlk%gmx.de 9c62c67b67 overflow area implementation for table frames, bug 173277 r=jkeiser sr=dbaron 2003-09-13 16:26:30 +00:00
dbaron%dbaron.org 8b0aa84272 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 2003-08-14 06:15:10 +00:00
dbaron%dbaron.org cea9489581 Make margins between tables and captions collapse correctly when negative margins are involved. b=213465 r=bernd sr=roc 2003-07-23 23:04:37 +00:00
dbaron%dbaron.org fb9a18f75a Remove unused and incorrect functions. b=212601 r+sr=jag 2003-07-13 23:25:41 +00:00
jaggernaut%netscape.com 6a8430d75d Bug 212601: Remove unused variable from nsTableCellFrame.cpp. r+sr=bzbarsky 2003-07-13 22:55:03 +00:00
dbaron%dbaron.org d85698fd40 Remove hint parameter from AttributeChanged methods and simplify style hint mechanism. b=211308 r+sr=bzbarsky 2003-07-11 21:16:12 +00:00
bzbarsky%mit.edu b2ba25b6fd Move to the double-'::' notation for various pseudo-elements.
Bug 211657, r+sr=dbaron
2003-07-07 21:57:01 +00:00
bzbarsky%mit.edu 3af3a33052 Make sure the for loop terminates. Also caught by bryner, r+sr=me 2003-07-07 05:15:41 +00:00
bzbarsky%mit.edu 862a100ea0 Fixing orange (casting a nsTableColFrame* to nsTableColGroupFrame* doesn't
really work...).  Patch suggested by bryner, r=me.
2003-07-07 04:57:56 +00:00
roc+%cs.cmu.edu 08a4a0dd2a Ongoing deCOMtamination. r+sr=dbaron 2003-07-07 02:01:29 +00:00
dbaron%dbaron.org 4afcaa0e69 DeCOMtaminate nsIFrame::GetView and SetView, and add HasView, GetClosestView, and AreAncestorViewsVisible to consolidate common patterns. b=208004 r+sr=roc 2003-06-19 23:44:01 +00:00
bmlk%gmx.de d8653592e5 the mew of colspan cell needs to be redistributed this can only be done during the strategy init. bug 207208 r=jkeiser sr=dbaron 2003-06-09 17:51:25 +00:00
bmlk%gmx.de d9ced339df Initialize only table related frames, that should be more safe, bug 207145 r=jkeiser sr=kin 2003-06-07 08:48:24 +00:00
jkeiser%netscape.com b7edff8612 Fix crash on split colspan frames (Bug 194330), r=karnaze@netscape.com, sr=kin@netscape.com 2003-06-06 03:22:01 +00:00