dbaron%fas.harvard.edu
b71cd6c86c
Fix leak of nsImageGTK (or equivalent on other platforms). r=waterson@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@72273 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 02:15:36 +00:00
attinasi%netscape.com
ddd4ea4cf9
Fixed crash when a textarea control has fixed-backgrounfd attachment. b=40118 r=kmcclusk
...
git-svn-id: svn://10.0.0.236/trunk@71736 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 23:06:41 +00:00
dcone%netscape.com
cc2df5ac70
Fixed background color under border. b=13934. R=Attinasi
...
git-svn-id: svn://10.0.0.236/trunk@71519 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 13:58:05 +00:00
dcone%netscape.com
2cdb288556
Fixed double drawing lines for buttons
...
git-svn-id: svn://10.0.0.236/trunk@69743 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 04:55:49 +00:00
bryner%uiuc.edu
a626fea704
New and improved background tiling code for GTK. We take an offset into
...
the image as a parameter so we avoid drawing the whole tile if it's not
all needed. Also, we can avoid setting any clip regions at all this
way, and avoid trips to the X server. Fixes several background rendering
problems. Also fix a signedness problem in the compositing code
(r=tor). r=pavlov.
git-svn-id: svn://10.0.0.236/trunk@69388 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 06:29:37 +00:00
dcone%netscape.com
7a169e33e0
Fixed the curve drawing to use floating point.. corrects rounding problems
...
git-svn-id: svn://10.0.0.236/trunk@69163 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 03:59:43 +00:00
attinasi%netscape.com
d41a6d8cd5
Fixed problem where continuation frames were repeating the background image even when no-repeat was set. b=38764 r=buster
...
git-svn-id: svn://10.0.0.236/trunk@69093 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 23:24:08 +00:00
attinasi%netscape.com
fed40883d0
Fixed a problem where background images on the BODY were not getting painted properly the first time they were loaded. b=36811 r=kmcklusk@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@68768 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 00:53:51 +00:00
dcone%netscape.com
738deb408a
Put in the Tiling call from the RenderingContextImpl.
...
git-svn-id: svn://10.0.0.236/trunk@66956 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 04:36:05 +00:00
jst%netscape.com
c0dbb2190f
Backing out dcones last changes since they made linux tinderbox go orange, and the toolbar wasn't properly drawn with the changes.
...
git-svn-id: svn://10.0.0.236/trunk@66560 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 16:22:10 +00:00
dcone%netscape.com
058887ab74
Turned on the Fast Background Rendering.
...
git-svn-id: svn://10.0.0.236/trunk@66558 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 14:00:22 +00:00
pnunn%netscape.com
3d3ffd7622
bug#34444: blocker bug. Backing out changes for dcone. pnunn.
...
git-svn-id: svn://10.0.0.236/trunk@65200 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 20:04:40 +00:00
dcone%netscape.com
9ca97fe70e
Took out the code to do the Tiling.. a method in nsRenderingContext will now do this. This gives each platform
...
the option of tiling.. and optimizing for speed. Windows will now be very fast for small tiles that are transparent.
git-svn-id: svn://10.0.0.236/trunk@65189 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 13:38:36 +00:00
attinasi%netscape.com
094bb4201d
Fixed warning from Mac compiler: no prototype for local static function.
...
git-svn-id: svn://10.0.0.236/trunk@64582 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 07:20:16 +00:00
attinasi%netscape.com
fcb3f69499
Background color for border style -moz-bg-inset and -moz-bg-outset is now obtained from the HTML element instead of nearest ancestor with non-transparent bgcolor (only in Quirks Mode). r=rods b=8524
...
git-svn-id: svn://10.0.0.236/trunk@64577 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 06:27:32 +00:00
rods%netscape.com
e9d2e2d814
Added aIsOutline to arg to RenderSize so it can do the right thing when
...
drawing outlines. Also got rounded outlines to work (not dashed)
Added #if for PaintOuline to control whether it paints on the inside or outside
of the frame.
b=18579 r=dcone
git-svn-id: svn://10.0.0.236/trunk@63397 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 14:41:00 +00:00
dbaron%fas.harvard.edu
a915f864a2
Fix a leak of a device context. r=dcone@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@63114 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 01:21:58 +00:00
troy%netscape.com
c6677cbff9
b=29893. Pollmann had added code to keep us from crashing. I made sure
...
that the correct tiling behavior happened in the case where the viewport
isn't scrollable
git-svn-id: svn://10.0.0.236/trunk@62861 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 04:55:42 +00:00
pollmann%netscape.com
4230c172e4
Bug 30317: Crash fix for scrolling=no, background-attachment: fixed pages r=evaughan, a=rickg
...
git-svn-id: svn://10.0.0.236/trunk@62458 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 05:54:58 +00:00
attinasi%netscape.com
008eaa38ab
PaintBorder and RenderSide now tell the StyleUtil function FindNonTransparentBackground to use the parent of the context to find the bgcolor in Quirks mode. r=karnaze b=8524
...
git-svn-id: svn://10.0.0.236/trunk@60393 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 01:23:04 +00:00
attinasi%netscape.com
7444a69463
backout of accidental checkin...
...
git-svn-id: svn://10.0.0.236/trunk@60331 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-10 20:21:29 +00:00
attinasi%netscape.com
e10cb148c5
PaintBorder and RenderSide now tell the StyleUtil function FindNonTransparentBackground to use the parent of the context to find the bgcolor in Quirks mode. r=karnaze b=8524
...
git-svn-id: svn://10.0.0.236/trunk@60329 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-10 19:22:00 +00:00
pavlov%netscape.com
4cb8ea7533
aww, I fixed my favorite bug. The "interesting" toolbar contest is now over. (bug 20496) r=mcafee,large_penguin
...
git-svn-id: svn://10.0.0.236/trunk@59806 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-04 23:14:38 +00:00
dcone%netscape.com
0c5aa54a72
fixed backgrounds. r=rods
...
git-svn-id: svn://10.0.0.236/trunk@59399 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-01 16:03:13 +00:00
dcone%netscape.com
accd3d74de
Fixed some problems with rounded borders. r=rods
...
git-svn-id: svn://10.0.0.236/trunk@57830 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-14 14:43:05 +00:00
dcone%netscape.com
8185600b2d
Small error in background rendering that index is 0 instead if i. r=rods. b=23704
...
git-svn-id: svn://10.0.0.236/trunk@57549 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-12 15:36:24 +00:00
sspitzer%netscape.com
f7440a0d0d
fix warnings.
...
git-svn-id: svn://10.0.0.236/trunk@56570 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-28 19:37:29 +00:00
dcone%netscape.com
fa48e1dbb5
Added support for selected rounded corners...can now round individual corners. r=rods
...
git-svn-id: svn://10.0.0.236/trunk@56503 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-23 20:48:07 +00:00
pierre%netscape.com
cc4c33320d
16381 "Need to be able to specify -moz-border-radius for each corner". Made changes in the following files in order to store the radius as a nsCSSRect and support 4 new -moz-border-radius properties (topLeft, topRight, bottomRight, bottomLeft):
...
nsCSSDeclaration.cpp
nsCSSParser.cpp
nsCSSPropList.h
nsCSSStyleRule.cpp
nsICSSDeclaration.h
nsIStyleContext.h
nsStyleContext.cpp
nsCSSRendering.cpp
The (small) changes in nsCSSRendering.cpp are temporary. It's just to reflect the changes made elsewhere in the style context. The code that actually draws the RoundRect with a different radius for each corner will be implemented later today.
git-svn-id: svn://10.0.0.236/trunk@56388 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 11:30:22 +00:00
kmcclusk%netscape.com
d3a24645a8
Added NS_RELEASE's to fix leaking of nsIImage's. bug=19114; r=karnaze@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@55120 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 00:06:32 +00:00
dcone%netscape.com
02ccab744b
Took out the clip for backgrounds.. not needed r=rods. bug=16685
...
git-svn-id: svn://10.0.0.236/trunk@54908 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 14:45:59 +00:00
tbogard%aol.net
ae5a81e394
Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc
...
git-svn-id: svn://10.0.0.236/trunk@54392 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 06:03:41 +00:00
dcone%netscape.com
8246fb0177
Thickness of side is now checked. Fixed bug 14944. r=rods
...
git-svn-id: svn://10.0.0.236/trunk@53885 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-18 16:03:45 +00:00
dcone%netscape.com
cc7ba3518e
Move the dotted and dashed rouned corner code to fall into solid until it is supported by code
...
r=rods. Bug fixed 13944
git-svn-id: svn://10.0.0.236/trunk@53882 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-18 15:09:02 +00:00
dcone%netscape.com
d93bf4b996
DrawDashedSides now used the correct height and width for the right and bottom
...
git-svn-id: svn://10.0.0.236/trunk@53512 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-15 15:33:25 +00:00
dmose%mozilla.org
92d791b7b0
updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@52908 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:40:37 +00:00
sfraser%netscape.com
1cf929984f
Fixes for 18029 and 16723 -- fix image drawing on Mac to use GWorlds, and put in api to lock and unlock pixels. r=pnunn, a=chofmann.
...
git-svn-id: svn://10.0.0.236/trunk@52811 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-04 22:26:57 +00:00
dcone%netscape.com
6d4e070e6b
Fixed a divide by zero crasher, and cleaned up borders. r=buster
...
git-svn-id: svn://10.0.0.236/trunk@52684 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-03 05:46:01 +00:00
dcone%netscape.com
73c37400ce
Added a clip for the borders and fixed how they are rendered. r=karnaze
...
bugs:10311,8737,14566
git-svn-id: svn://10.0.0.236/trunk@51847 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-26 14:34:17 +00:00
troy%netscape.com
bd46e7911f
Changed SetView/GetView to take an additional argument which is the
...
pres context
git-svn-id: svn://10.0.0.236/trunk@51822 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-26 04:44:41 +00:00
dcone%netscape.com
fd397214fb
Fixed warning.
...
git-svn-id: svn://10.0.0.236/trunk@51529 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-22 13:29:06 +00:00
dcone%netscape.com
9abd146c48
Fixed the rounded border rendering code to obey solid, and none style types.
...
Also bumped all the rounded rects onto pixel boundaries before rendering.
git-svn-id: svn://10.0.0.236/trunk@51258 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-20 14:46:27 +00:00
dcone%netscape.com
09be733a85
Fixed some warnings
...
git-svn-id: svn://10.0.0.236/trunk@50119 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 20:40:00 +00:00
dcone%netscape.com
75b915c855
Turned on the background tiling optimization.. Reviewed By rods
...
git-svn-id: svn://10.0.0.236/trunk@50110 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 14:57:32 +00:00
dcone%netscape.com
1cfea69ffd
added background fix.. commented out for now until other platforms are tested
...
git-svn-id: svn://10.0.0.236/trunk@49581 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-01 14:35:20 +00:00
rods%netscape.com
b3d49bd415
Added extra parameters so PaintBorder can be used to draw borders with a size that
...
is passed in instead of get the size from style.
git-svn-id: svn://10.0.0.236/trunk@45887 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 14:12:09 +00:00
troy%netscape.com
cfa7416254
Fix for bug #12751 . Optimized PaintBorder() so if the dirty rect is completely
...
inside of the border rect, then we don't paint anything. This speed up
incremental painting
git-svn-id: svn://10.0.0.236/trunk@45026 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-29 03:25:56 +00:00
dcone%netscape.com
32e80cb389
removed a debug printf
...
git-svn-id: svn://10.0.0.236/trunk@44872 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 20:58:37 +00:00
dcone%netscape.com
af7642739a
Added a rounding parameter so rounded rects can be used as cirles if the radius is large enough
...
git-svn-id: svn://10.0.0.236/trunk@44839 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 14:37:47 +00:00
rods%netscape.com
426ee931d2
removed some unused variables to get rid of some warnings
...
git-svn-id: svn://10.0.0.236/trunk@44494 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 13:39:41 +00:00