roc+%cs.cmu.edu
ad79d0e7da
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
...
git-svn-id: svn://10.0.0.236/trunk@138258 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-23 02:49:22 +00:00
roc+%cs.cmu.edu
4a676c1821
Bug 189723. Fix valgrind warning on uninitialized value when GetPenMode isn't implemented. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@138238 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 22:27:45 +00:00
bryner%netscape.com
c44337949a
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.
...
git-svn-id: svn://10.0.0.236/trunk@138129 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 00:32:13 +00:00
caillon%returnzero.com
b9398c95d8
189533, background-position has low accuracy. Specifically, it was not allowing fractional percentages.
...
r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@136615 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-19 02:36:04 +00:00
caillon%returnzero.com
9eac0ede5b
Fix build bustage. OS/2 and Sun Workshop won't do implicit type conversions (like .get() on an nsCOMPtr) while trying to match a template.
...
See also revision 3.188 of this file.
git-svn-id: svn://10.0.0.236/trunk@136508 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-17 12:16:36 +00:00
caillon%returnzero.com
4e9b13ef00
Bug 14777 - Give inline background image painting a rhyme and reason to how it works. Implement CSS3 proposal (-moz-)background-inline-policy.
...
r+sr=roc+moz
git-svn-id: svn://10.0.0.236/trunk@136499 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-17 09:33:52 +00:00
bzbarsky%mit.edu
ddf6bf65b0
Change the algorithm used to darken text when printing a tad to produce better
...
results. Bug 141232, r/sr=roc+moz
git-svn-id: svn://10.0.0.236/trunk@135851 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-05 04:52:27 +00:00
caillon%returnzero.com
6fa69e00be
186752 - Need one more null check, this time before CallQueryInterface. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@135660 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-28 00:03:33 +00:00
caillon%returnzero.com
0aaf7ffe86
Bug 186752 - Crash during background painting when there is no scrollable frame. Add a null check.
...
r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@135650 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-27 07:32:17 +00:00
caillon%returnzero.com
bd02488338
Bug 46814 - Fixed attachment background images should not be positioned underneath scrollbars, when positioning on a side which has scrollbars.
...
r=dbaron sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@135597 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-23 22:08:04 +00:00
cbiesinger%web.de
54ceae4528
186158 r+sr=dbaron unused function TileImage in nsCSSRendering.cpp
...
git-svn-id: svn://10.0.0.236/trunk@135544 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-21 10:33:38 +00:00
bzbarsky%mit.edu
6a7cda2ae1
Fix build bustage. OS/2 and Sun Workshop won't do implicit type
...
conversions (like .get() on an nsCOMPtr) while trying to match a
template, apparently... r=cls
git-svn-id: svn://10.0.0.236/trunk@131573 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-09 04:51:59 +00:00
bzbarsky%mit.edu
a70a392a2c
Make GetParent on nsStyleContext return an
...
already_AddRefed<nsIStyleContext>. Bug 171808, r=jkeiser, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@131531 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-09 01:46:15 +00:00
caillon%returnzero.com
0f7366d6d0
Correcting our background painting code per the latest CSS specs. By default, backgrounds should be painted to the border
...
area, and not the padding area as per the CSS 2 Errata, CSS2.1 and CSS3. Also, implementing the CSS3 'background-clip'
and 'background-origin' properties (currently with -moz- prefixes) to control this behavior.
Bug 162252, r=dbaron sr=roc+moz
git-svn-id: svn://10.0.0.236/trunk@131419 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 10:24:53 +00:00
hyatt%netscape.com
231ada71e5
Fix for 169373, make HTML form controls fully support native look on Windows XP. r/sr=hewitt/blake
...
git-svn-id: svn://10.0.0.236/trunk@130192 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-21 01:03:38 +00:00
alecf%netscape.com
35855739dd
fix for bug 163736 - consolidate gfx2 into gfx, and remove the gfx2 DLL from the build.
...
r=pavlov, sr=rbs
includes creating a new "Shared" library which shares gfx code between all platforms
git-svn-id: svn://10.0.0.236/trunk@129305 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-12 04:43:31 +00:00
caillon%returnzero.com
a9ec620790
Bug 45557 - Rounded transparent borders are not transparent.
...
r=bzbarsky sr=jag
git-svn-id: svn://10.0.0.236/trunk@128529 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-30 06:39:34 +00:00
dcone%netscape.com
99d5eac239
b=148598 r=mcclusky,sr=kin Speed up scrolling
...
git-svn-id: svn://10.0.0.236/trunk@127550 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-18 00:46:00 +00:00
dbaron%fas.harvard.edu
1be537f3c0
Move FindNonTransparentBackground from nsStyleUtil to nsCSSRendering so that nsStyleUtil doesn't need to be in content/shared. b=71257 r=heikki sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@127035 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-11 17:56:15 +00:00
dcone%netscape.com
8919c7ccdd
Backing out changes for the background speedup.. it broke some hoovering code.. on a web page.
...
I want to investigate this before I leave the patch in.
git-svn-id: svn://10.0.0.236/trunk@126240 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-02 18:21:33 +00:00
dcone%netscape.com
769ea6c8fa
b=148598 r=peterl sr=kin a=asa. This speeds up scrolling with very large backgrounds.
...
git-svn-id: svn://10.0.0.236/trunk@126115 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-31 17:13:25 +00:00
dcone%netscape.com
463438b1e1
Backing out changes. Something is interacting wrong with scroll bars.. so I will investigate.
...
git-svn-id: svn://10.0.0.236/trunk@125996 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-29 17:48:22 +00:00
dcone%netscape.com
c3907f8985
b=148598 Very Slow scrolling. r=rods sr=kin a=asa. Fixed the update area for the background images. Improves scrolling 100%
...
git-svn-id: svn://10.0.0.236/trunk@125987 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-29 13:28:32 +00:00
dbaron%fas.harvard.edu
fb8751252d
Replace assertion with a comment explaining why we need to null-check the result of |nsIDOMHTMLDocument::GetBody|. b=119351 r=kin sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@121082 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 19:27:40 +00:00
pinkerton%netscape.com
ffdf250be4
fix build bustage
...
git-svn-id: svn://10.0.0.236/trunk@118858 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 15:26:05 +00:00
dcone%netscape.com
ad2aee4f0c
b=135208 r=kmcclusk@netscape.com sr=attinasi a=asa Fixed printing of color text when we dont
...
have a background.
git-svn-id: svn://10.0.0.236/trunk@118855 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 14:30:00 +00:00
karnaze%netscape.com
b5480ba60f
bug 134845 - avoid dividing by zero during pixel rounding. a=asa, adt=jamiejr, sr=attinasi, r=kin
...
git-svn-id: svn://10.0.0.236/trunk@118406 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-06 22:28:39 +00:00
kmcclusk%netscape.com
87dc98ac69
suppress the painting of partially decoded background images bug 129908; r=pavlov sr=attinasi a=asa
...
git-svn-id: svn://10.0.0.236/trunk@117288 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 04:33:37 +00:00
bzbarsky%mit.edu
970eee3834
Make FindBackground not QI to nsIHTMLBodyElement -- this makes it much
...
faster. Bug 129079, r=rjesup@wgate.com , sr=jst, a=asa
git-svn-id: svn://10.0.0.236/trunk@115871 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 23:17:32 +00:00
bzbarsky%mit.edu
da76abe8f6
Make <body> backgrounds draw in XHTML as XML. Bug 127374, r=dbaron,
...
sr=attinasi, a=shaver
git-svn-id: svn://10.0.0.236/trunk@115323 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-25 22:18:26 +00:00
pinkerton%netscape.com
3e6b411297
fix crash where we could dereference a null reference. shuffle some code around to ensure that can't happen anymore. r=ben/sr=blake/a=thesteve for smoketest blocker bug 126770
...
git-svn-id: svn://10.0.0.236/trunk@115116 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 21:51:25 +00:00
pinkerton%netscape.com
1bdf0dd8ca
don't bail on bg drawing when moz-appearance is set on a root. r=bryner/sr=hyatt. bug#119736
...
git-svn-id: svn://10.0.0.236/trunk@114995 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 02:14:18 +00:00
roc+%cs.cmu.edu
d392c57939
Bug 91516. Organize view managers into a tree so that IFRAMEs can be rendered and event-processed coherently with their containing documents. r=kmcclusk,rods,sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@114952 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 21:33:26 +00:00
karnaze%netscape.com
430941b018
bug 41262 - new table border collapsing code. sr=attinasi, r=alexsavulov.
...
git-svn-id: svn://10.0.0.236/trunk@114937 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 15:48:28 +00:00
dcone%netscape.com
8944f478a1
b=96870 r=rods sr=attinasi Fixed printing so backgrounds can be turned on and off.
...
git-svn-id: svn://10.0.0.236/trunk@114597 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 14:48:12 +00:00
dcone%netscape.com
a7aea2a7d6
Fix print preview. r=rods sr = attinasi bug =117072. Only control backgrounds painting for printing.
...
git-svn-id: svn://10.0.0.236/trunk@112201 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-15 22:37:15 +00:00
dbaron%fas.harvard.edu
45b310844b
Make sure backgrounds are painted correctly by using the correct background to set up information on the view. b=119462 r=pierre sr=hyatt
...
git-svn-id: svn://10.0.0.236/trunk@112071 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-14 15:00:30 +00:00
dbaron%fas.harvard.edu
f071fe9f2c
Fix background painting as the default color while leaving a page. b=118867 r=sfraser sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@111952 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-11 19:38:21 +00:00
dbaron%fas.harvard.edu
b152ba9386
Fix crash on certain pages. b=118829 r=jag sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@111634 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 02:36:49 +00:00
dbaron%fas.harvard.edu
7a38a8af9d
Remove unused and incorrect code, clean up some other similar code. b=116301 r=jag sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@111572 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-08 15:13:02 +00:00
dbaron%fas.harvard.edu
12b1cb7058
Remove bogus/noisy assertion. b=118676 / 116161
...
git-svn-id: svn://10.0.0.236/trunk@111549 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-08 04:11:25 +00:00
dbaron%fas.harvard.edu
b7194a0ea8
Replace the BodyFixupRule with code in nsCSSRendering to fix all the problems with dynamic style changes and backgrounds on the root element and the BODY element. Change the way the HTMLDocumentColorRule (for the table color quirk) is initialized since it used to depend on the BodyFixupRule. b=116161 (also fixes other bugs) r=attinasi sr=hyatt
...
git-svn-id: svn://10.0.0.236/trunk@111511 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-07 23:46:07 +00:00
pinkerton%netscape.com
a6c41bf09f
Fix infinite loop when |shrinkage| goes below zero. Blocker for mach-o
...
build. r=dbaron/sr=blake. bug#116240
git-svn-id: svn://10.0.0.236/trunk@110904 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-20 18:02:43 +00:00
hyatt%netscape.com
f9a19ba7cd
Fix for 112980, nsITheme API and dynamic skin switching re-enabling. r=ben, sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@110648 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-17 22:51:39 +00:00
hewitt%netscape.com
e950ac1c5c
113789 - -moz-border-colors doesn't recognize transparent, r=ben, sr=hyatt
...
git-svn-id: svn://10.0.0.236/trunk@110251 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-11 11:13:16 +00:00
dcone%netscape.com
ba0c0cbbea
bug=96870 Add methods onto the nsIPresContext for setting and getting the background painting
...
boolean so printing can turn on and off backgrounds. r=peterl sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@110236 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-11 05:57:37 +00:00
dbaron%fas.harvard.edu
f346096920
Tweaking XP_MACOSX ifdefs in a few more places, including a fix for background image clipping. b=111795 r=pinkerton sr=sfraser
...
git-svn-id: svn://10.0.0.236/trunk@109766 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 00:09:21 +00:00
hyatt%netscape.com
6c6f01e32e
Enhancements to CSS to enable multi-colored borders and painting of image subregions. 112988 and 112990. r=dbaron,hewitt for 112990, r=ben,hewitt for 112988
...
git-svn-id: svn://10.0.0.236/trunk@109734 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-05 08:35:05 +00:00
roc+%cs.cmu.edu
35e1d479ea
Bug 73382. Clean up view manager interfaces, 2nd attempt. r=kmcclusk,rs=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@109458 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-01 14:31:45 +00:00
dcone%netscape.com
2b974aef37
Put in a check so backgrounds are not printed. This is temporary until 96870 is fixed. r=rods sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@109000 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-27 14:50:35 +00:00