bmlk%gmx.de
73b91d2be3
change ref to pointer to catch spurious crash bug=264733 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@164607 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-29 17:44:29 +00:00
bmlk%gmx.de
b11f6f0e87
reorganize CalCDominantBorder, reduce the number of arguments, change the border structure. make the rules handling more evident, bug 229883, With more than a little help from my friends (fantasai, boris) r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@163467 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-09 12:04:52 +00:00
bmlk%gmx.de
e6f5bc2c94
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
...
git-svn-id: svn://10.0.0.236/trunk@162531 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-19 18:15:37 +00:00
bmlk%gmx.de
6d3feed3dd
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
...
git-svn-id: svn://10.0.0.236/trunk@162529 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-19 09:50:41 +00:00
roc+%cs.cmu.edu
ab88d1e1ac
Bug 259032. DeCOMtaminate nsIFrame::GetNext/PrevInFlow. r+sr=roc, patch by Will Levine
...
git-svn-id: svn://10.0.0.236/trunk@162269 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-14 02:28:03 +00:00
bmlk%gmx.de
35e33e2e07
CalcDesiredHeight might change the overflow area, so it needs to be included in the reflowmetrics bug=231275 r/sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@162220 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-13 18:21:03 +00:00
roc+%cs.cmu.edu
25c92b6a90
Bug 254039. deCOMtaminate nsIScrollableFrame. r+sr=roc, patch by Will Levine
...
git-svn-id: svn://10.0.0.236/trunk@161806 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-06 02:44:43 +00:00
bmlk%gmx.de
beb1e800a5
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
git-svn-id: svn://10.0.0.236/trunk@161755 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-04 16:02:50 +00:00
dbaron%dbaron.org
e8aae32dd7
Land bug 72747 in pieces: use new functions for common overflow tests. b=72747 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@161682 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-02 23:27:23 +00:00
bmlk%gmx.de
30843172bf
tables without cells should not add vertical cellspacing bug 246534 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@161644 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-02 06:36:56 +00:00
dbaron%dbaron.org
dcf4bae71a
Back out the rest of bug 72747 due to Tp regression.
...
git-svn-id: svn://10.0.0.236/trunk@161373 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-27 01:26:55 +00:00
dbaron%dbaron.org
ed6372cf2f
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
...
git-svn-id: svn://10.0.0.236/trunk@161333 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-26 17:11:20 +00:00
bryner%brianryner.com
ff2bc0b69e
Trying again to land support for content node properties (bug 253888). r=jst, sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@161182 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-24 18:50:29 +00:00
bryner%brianryner.com
2ac3245dec
Backing out 253888 again due to Tp regression plus another problem I noticed (frame properties not getting destroyed on frame destruction)
...
git-svn-id: svn://10.0.0.236/trunk@161116 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-22 07:10:50 +00:00
bryner%brianryner.com
0501b2872a
Second try at landing support for content node properties (bug 253888). r=jst, sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@161115 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-22 04:58:44 +00:00
bryner%brianryner.com
03c6a8279c
Backing out bug 253888 until I can figure out how to fix the crash
...
git-svn-id: svn://10.0.0.236/trunk@161097 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-21 06:27:54 +00:00
bryner%brianryner.com
e49f4fa38e
Refactor the frame property code and use it for supporting properties on dom elements. Bug 253888, r=jst, sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@161096 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-21 05:09:50 +00:00
dbaron%dbaron.org
dda1e6cda9
Fix names of constants to correspond to the new definitions of the values of the 'overflow' property. b=69355 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@160586 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-10 01:32:10 +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
aaronleventhal%moonset.net
68db552d54
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
...
git-svn-id: svn://10.0.0.236/trunk@159341 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-16 16:56:21 +00:00
aaronleventhal%moonset.net
aac51e9f0b
Backing out bug 151375 for now, because of scrolling regressions in HTML and XUL listboxes and comboboxes
...
git-svn-id: svn://10.0.0.236/trunk@159268 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-15 18:57:47 +00:00
aaronleventhal%moonset.net
c361ea9f16
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
...
git-svn-id: svn://10.0.0.236/trunk@159196 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-14 21:58:34 +00:00
bmlk%gmx.de
0ec7533f3e
empty tables should not have a size in quirks mode. bug 241161 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@157634 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-09 04:13:53 +00:00
bmlk%gmx.de
22419ff22a
reset the cell offset when a row becomes again visible, order the rowgroups before collapsing the rows bug 242253 r/sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@156121 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-08 05:11:29 +00:00
bmlk%gmx.de
b3d3fb986a
add colframe documentation, fix a colframe renumbering problem, bug 238999 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@155857 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-03 18:31:34 +00:00
bmlk%gmx.de
7f0b859644
remove bogus conversions bug 241997 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@155819 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-02 09:51:57 +00:00
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
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
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
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
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
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
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
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