1502 Commits

Author SHA1 Message Date
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
dbaron%dbaron.org
fcc42d022e Remove missed line from previous checkin. b=221140
git-svn-id: svn://10.0.0.236/trunk@150312 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-15 03:35:50 +00:00
dbaron%dbaron.org
a040cc3995 Fix regressions of 'overflow: hidden' on various table display types. b=221140 r=bernd sr=roc a=asa
git-svn-id: svn://10.0.0.236/trunk@150259 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-12 23:00:54 +00:00
dbaron%dbaron.org
766cb27835 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
git-svn-id: svn://10.0.0.236/trunk@150257 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-12 22:58:25 +00:00
bmlk%gmx.de
156e36eb9b avoid pointer to old overflow area as this may change underneath (FMR), bug 226870, r/sr=dbaron a=tor
git-svn-id: svn://10.0.0.236/trunk@150051 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-04 20:13:09 +00:00
dbaron%dbaron.org
a8191642ef Do inheritance without layout-dependent computations, per CSS2.1. Remove eStyleUnit_Inherit and nsStyleCoord::SetInheritValue. b=205790 r+sr=bzbarsky a=asa
git-svn-id: svn://10.0.0.236/trunk@149687 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-24 19:46:25 +00:00
bzbarsky%mit.edu
8cc0bfcd8e Use SafeElementAt for accesses that may be out of bounds. Bug 226163, r=bernd,
sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@149541 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-19 06:20:14 +00:00
bmlk%gmx.de
557ab433ca OS/2 crash prevention, make sure that a division by zero can not occure, bug 221975, r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@149254 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-13 17:34:46 +00:00
bmlk%gmx.de
02d64302fc 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


git-svn-id: svn://10.0.0.236/trunk@149063 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-09 11:35:52 +00:00
bmlk%gmx.de
c10d3984b9 dont shrink mRowCount when inserting cells in a row, bug 220536, r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@149062 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-09 08:47:05 +00:00
uid502
e56ed2443c Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@148665 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-31 20:19:18 +00:00
bmlk%gmx.de
20c61ed232 fixed table layout add cellspacing only for columns where cells originate. bug 220653 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@148216 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-21 19:29:14 +00:00
bzbarsky%mit.edu
a8d0053450 Last checkin was actually for bug 222846
git-svn-id: svn://10.0.0.236/trunk@148193 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-21 04:32:57 +00:00
bzbarsky%mit.edu
aca03413bf Make style-change reflows on the table correctly reflow the caption. Bug
222864, r=bernd, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@148192 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-21 04:30:10 +00:00
bmlk%gmx.de
94f16f07a5 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


git-svn-id: svn://10.0.0.236/trunk@148135 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-19 19:23:11 +00:00
dbaron%dbaron.org
1f886d0f11 Temporary fix for 'overflow: hidden' on table cells. b=221140 r=bernd sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@147926 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-13 21:58:12 +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
bmlk%gmx.de
205e630bce allow empty row groups in the border collapse access to the cellmap. bug 217769 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@147360 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-27 12:00:56 +00:00
jst%mozilla.jstenback.com
ef67a47aab 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.
git-svn-id: svn://10.0.0.236/trunk@147354 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-27 04:18:26 +00:00
bmlk%gmx.de
52c5a559e1 include previously removed borderpadding and cellspacing, bug 215629, r=jkeiser sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@147248 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-24 16:04:54 +00:00
uid502
e9d6a45b46 Bug 190735. Final patch for deCOMtamination of core nsIFrame methods! rs=dbaron
git-svn-id: svn://10.0.0.236/trunk@147169 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-23 17:05:29 +00:00
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