Commit Graph

1265 Commits

Author SHA1 Message Date
bmlk%gmx.de
bc7e872edd at the table bottom use this row as it is the only place where we dont paint above the row, bug 254538 r/sr=bzbarsky 2004-09-19 18:15:37 +00:00
bmlk%gmx.de
ddf4e18bb2 ensure a correct overflow area, even if the overflow is clipped, it should be the frame size under these conditions bug = 260241 r/sr=dbaron 2004-09-19 09:50:41 +00:00
bmlk%gmx.de
8a2853a92c valign content that overflows the table cell from the celltop bug=114430 r/sr=bzbarsky 2004-09-18 19:04:13 +00:00
roc+%cs.cmu.edu
44a2fd5b52 Bug 259032. DeCOMtaminate nsIFrame::GetNext/PrevInFlow. r+sr=roc, patch by Will Levine 2004-09-14 02:28:03 +00:00
bmlk%gmx.de
939c392649 CalcDesiredHeight might change the overflow area, so it needs to be included in the reflowmetrics bug=231275 r/sr=dbaron 2004-09-13 18:21:03 +00:00
bmlk%gmx.de
02de8104c7 don't cause twice a initial reflow on a caption bug 258379 r/sr=bzbarsky 2004-09-11 06:08:53 +00:00
roc+%cs.cmu.edu
6255acffd9 Bug 254039. deCOMtaminate nsIScrollableFrame. r+sr=roc, patch by Will Levine 2004-09-06 02:44:43 +00:00
bmlk%gmx.de
a6249cf9b7 1. enhancement of the debug code so that coltypes become visible
2. remove the isanonymous flag which is unused
3. make the col dump routine #ifdef DEBUG
4. stop to defer the appending of the colgroup frame. bug 248474 r/sr=bzbarsky
2004-09-04 16:02:50 +00:00
dbaron%dbaron.org
01f5e54ff0 Land bug 72747 in pieces: use new functions for common overflow tests. b=72747 r+sr=roc 2004-09-02 23:27:23 +00:00
bmlk%gmx.de
eb2e3f075e tables without cells should not add vertical cellspacing bug 246534 r/sr=bzbarsky 2004-09-02 06:36:56 +00:00
roc+%cs.cmu.edu
9fe7e8650d Bug 257430. nsImageFrame and nsTableRowFrame need to always include their frame bounds in their overflow area. r+sr=dbaron 2004-09-01 13:33:17 +00:00
bmlk%gmx.de
879d8114ba bring condition and action in better sync when oversized nested pct based table frames are reduced in size bug 254344 r/sr=bzbarsky 2004-08-31 18:57:06 +00:00
bryner%brianryner.com
d082d2bf5e More nsIPresShell deCOMtamination:
- Made Get/SetAuthorStyleDisabled and ReconstructStyleData non-virtual when called internally.
- Inlined GetFrameSelection and renamed it to FrameSelection.
- Removed non-inline version of GetViewManager.
- Removed unused EnablePrefStyleRules and ArePrefStyleRulesEnabled.

Bug 253889, r+sr=roc.
2004-08-29 03:08:44 +00:00
dbaron%dbaron.org
c200b49750 Back out the rest of bug 72747 due to Tp regression. 2004-08-27 01:26:55 +00:00
dbaron%dbaron.org
5948a3cb75 Implement 'overflow-x' and 'overflow-y' CSS properties, long implemented by IE for Windows and proposed for CSS3. Implement scrolling='yes' and equivalents on frame and iframe. Various pieces of related cleanup (see comment 22 in bug). b=72747 r+sr=roc 2004-08-26 17:11:20 +00:00
roc+%cs.cmu.edu
dba4f07f62 Bug 133165. Draw the outline outside the frame's normal overflow area. r+sr=dbaron. Also, correct some trivial misuses of nsChangeHint, r+sr=mozbot 2004-08-26 00:07:56 +00:00
bryner%brianryner.com
b88692c5a1 Trying again to land support for content node properties (bug 253888). r=jst, sr=dbaron. 2004-08-24 18:50:29 +00:00
bryner%brianryner.com
0c08074b27 Backing out 253888 again due to Tp regression plus another problem I noticed (frame properties not getting destroyed on frame destruction) 2004-08-22 07:10:50 +00:00
bryner%brianryner.com
d86c91ac3a Second try at landing support for content node properties (bug 253888). r=jst, sr=dbaron. 2004-08-22 04:58:44 +00:00
bryner%brianryner.com
8c24cc7e63 Backing out bug 253888 until I can figure out how to fix the crash 2004-08-21 06:27:54 +00:00
bryner%brianryner.com
11d98b36e5 Refactor the frame property code and use it for supporting properties on dom elements. Bug 253888, r=jst, sr=dbaron. 2004-08-21 05:09:50 +00:00
dbaron%dbaron.org
94bc9d26c8 Fix names of constants to correspond to the new definitions of the values of the 'overflow' property. b=69355 r+sr=roc 2004-08-10 01:32:10 +00:00
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
kin%netscape.com
0cfd50ccf4 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
2003-06-05 17:44:28 +00:00
bmlk%gmx.de
6193ec703e border collapse - lookup the correct border owner style, bug 196133, r=jkeiser sr=roc+moz 2003-05-31 14:49:18 +00:00
bmlk%gmx.de
cbc7dbaa0d avoid marking columns that only have a desired width empty, what would exclude them from space redistribution, bug 194024, r=jkeiser sr=bzbarsky 2003-05-31 14:15:56 +00:00
dougt%meer.net
c116b571ee Fixing memory leaks. b=206655, r=bernd, sr=dbaron, a=asa 2003-05-22 22:12:09 +00:00
dbaron%dbaron.org
75ff60c62f 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 2003-05-15 03:42:21 +00:00
dbaron%dbaron.org
10222fc8e5 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 2003-04-09 21:14:51 +00:00
bmlk%gmx.de
00f2ea1ad8 build warning fix bug 198738 r/sr=bzbarsky 2003-04-05 15:36:31 +00:00
bzbarsky%mit.edu
7b4226bec8 fixing typo in error message. Bug 196449, patch by anedah-9@student.luth.se
(Andre Dahlqvist), r=bernd, sr=bzbarsky
2003-04-03 05:35:51 +00:00
bmlk%gmx.de
c9d8064022 fix build warnings from my previous checkin 2003-03-22 12:21:22 +00:00
bmlk%gmx.de
ebf5835d15 change table cell width to content width, bug 119100 r=jkeiser sr=bzbarsky 2003-03-21 19:35:36 +00:00
bmlk%gmx.de
5fe83d7fe4 compute margin based overflow area for innertable and caption frame bug 198009 r/sr=bzbarsky 2003-03-21 19:32:09 +00:00
bzbarsky%mit.edu
83e46b1a49 Fix some spelling errors in comments. Bug 106386, patch by Nicholas Bebout
<nb@ipnode.info>, r=doron, sr=dmose
2003-03-19 04:35:08 +00:00
bmlk%gmx.de
9359dc9771 require the presence of the inner table frame for reflow bug 189751 r=jkeiser sr=roc+moz 2003-03-14 10:31:55 +00:00
bmlk%gmx.de
da94756a04 compiler warning fix, bug 167659, orig. patch by caillon, r=jkeiser, sr=dbaron 2003-03-11 13:33:19 +00:00
bernd.mielke%snafu.de
4beab5f987 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 2003-02-28 06:35:12 +00:00
roc+%cs.cmu.edu
67a197918a 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 2003-02-23 02:49:22 +00:00
bernd.mielke%snafu.de
74c2f5d34d improve rowspan border collapse handling, bug 157047 r=jkeiser, sr=roc+moz 2003-02-22 19:24:49 +00:00
dbaron%dbaron.org
6dd68f3c64 Remove nsISizeOfHandler and associated SizeOf methods. b=106792 r=bzbarsky sr=jst 2003-02-22 15:34:38 +00:00
bryner%netscape.com
e43f5a49fd 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. 2003-02-22 00:32:13 +00:00
bernd.mielke%snafu.de
918c00dbae the cursor should move at positions where the cellmap has holes, bug 193405 r=jkeiser sr/a=dbaron 2003-02-17 06:17:09 +00:00
bernd.mielke%snafu.de
7d20b41954 limit the number of rowspans to value that can be handled by the cellmap bug 141818 r=karnaze sr=roc+moz 2003-01-19 15:15:22 +00:00
bernd.mielke%snafu.de
e8ee31f282 improved carret navigation in tables containing rowspans, bug 187060 r=karnaze sr=sfraser 2003-01-18 14:05:50 +00:00
bernd.mielke%snafu.de
1d5c6eb40e fix for a O2(n) dependency when adding a row to a table, bug 85755 r=karnaze sr=brendan 2003-01-18 14:02:52 +00:00
dbaron%dbaron.org
57124d8115 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 2003-01-09 14:26:32 +00:00
bryner%netscape.com
7f0488eb18 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. 2003-01-09 06:49:07 +00:00
bernd.mielke%snafu.de
b2dc2fa3b5 fix bustage 2003-01-07 06:08:23 +00:00
bernd.mielke%snafu.de
88a3ae90de fix border draw glitchin border collapse mode caused by an uninitialized variable bug 128930, patch karnaze@netscape.com r=bernd sr=bzbarsky 2003-01-07 05:14:54 +00:00
bernd.mielke%snafu.de
d25b02bef7 split further fixed and percent row height calculation, bug 153995 patch by Rick.Ju@sun.com r=karnaze sr=bzbarsky 2003-01-05 14:16:58 +00:00