rods@netscape.com
f89a4a7fe0
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
2000-03-18 14:41:00 +00:00
dbaron@fas.harvard.edu
128f6788ac
Fix a leak of a device context. r=dcone@netscape.com
2000-03-16 01:21:58 +00:00
troy@netscape.com
65e97af664
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
2000-03-14 04:55:42 +00:00
pollmann@netscape.com
40be09d12a
Bug 30317: Crash fix for scrolling=no, background-attachment: fixed pages r=evaughan, a=rickg
2000-03-09 05:54:58 +00:00
attinasi@netscape.com
bed12fe262
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
2000-02-11 01:23:04 +00:00
attinasi@netscape.com
d5ea5f1d38
backout of accidental checkin...
2000-02-10 20:21:29 +00:00
attinasi@netscape.com
9e1df0174d
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
2000-02-10 19:22:00 +00:00
pavlov@netscape.com
918d92aaf3
aww, I fixed my favorite bug. The "interesting" toolbar contest is now over. (bug 20496) r=mcafee,large_penguin
2000-02-04 23:14:38 +00:00
dcone@netscape.com
a81af9b202
fixed backgrounds. r=rods
2000-02-01 16:03:13 +00:00
dcone@netscape.com
bc62ad6d92
Fixed some problems with rounded borders. r=rods
2000-01-14 14:43:05 +00:00
dcone@netscape.com
8cf29337f5
Small error in background rendering that index is 0 instead if i. r=rods. b=23704
2000-01-12 15:36:24 +00:00
sspitzer@netscape.com
1f1ca61aac
fix warnings.
1999-12-28 19:37:29 +00:00
dcone@netscape.com
c939f24de0
Added support for selected rounded corners...can now round individual corners. r=rods
1999-12-23 20:48:07 +00:00
pierre@netscape.com
83ae2d3149
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.
1999-12-22 11:30:22 +00:00
kmcclusk@netscape.com
642a715a41
Added NS_RELEASE's to fix leaking of nsIImage's. bug=19114; r=karnaze@netscape.com
1999-12-03 00:06:32 +00:00
dcone@netscape.com
40a4506a06
Took out the clip for backgrounds.. not needed r=rods. bug=16685
1999-12-01 14:45:59 +00:00
tbogard@aol.net
617bb737a6
Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc
1999-11-24 06:03:41 +00:00
dcone@netscape.com
28f34c3c9b
Thickness of side is now checked. Fixed bug 14944. r=rods
1999-11-18 16:03:45 +00:00
dcone@netscape.com
b64da6d1c3
Move the dotted and dashed rouned corner code to fall into solid until it is supported by code
...
r=rods. Bug fixed 13944
1999-11-18 15:09:02 +00:00
dcone@netscape.com
65e9f9eb73
DrawDashedSides now used the correct height and width for the right and bottom
1999-11-15 15:33:25 +00:00
dmose@mozilla.org
796280940b
updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
1999-11-06 03:40:37 +00:00
sfraser@netscape.com
a9f23f9978
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.
1999-11-04 22:26:57 +00:00
dcone@netscape.com
2b16f7783b
Fixed a divide by zero crasher, and cleaned up borders. r=buster
1999-11-03 05:46:01 +00:00
dcone@netscape.com
8aef5d863c
Added a clip for the borders and fixed how they are rendered. r=karnaze
...
bugs:10311,8737,14566
1999-10-26 14:34:17 +00:00
troy@netscape.com
b8ef6465be
Changed SetView/GetView to take an additional argument which is the
...
pres context
1999-10-26 04:44:41 +00:00
dcone@netscape.com
85eca94317
Fixed warning.
1999-10-22 13:29:06 +00:00
dcone@netscape.com
315f2954a9
Fixed the rounded border rendering code to obey solid, and none style types.
...
Also bumped all the rounded rects onto pixel boundaries before rendering.
1999-10-20 14:46:27 +00:00
dcone@netscape.com
a9fe13ac07
Fixed some warnings
1999-10-07 20:40:00 +00:00
dcone@netscape.com
9dc7231ec5
Turned on the background tiling optimization.. Reviewed By rods
1999-10-07 14:57:32 +00:00
dcone@netscape.com
77b0be43e2
added background fix.. commented out for now until other platforms are tested
1999-10-01 14:35:20 +00:00
rods@netscape.com
cbe06e0b20
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.
1999-09-03 14:12:09 +00:00
troy@netscape.com
4bd26cea33
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
1999-08-29 03:25:56 +00:00
dcone@netscape.com
f8d689183b
removed a debug printf
1999-08-27 20:58:37 +00:00
dcone@netscape.com
53ebb15b83
Added a rounding parameter so rounded rects can be used as cirles if the radius is large enough
1999-08-27 14:37:47 +00:00
rods@netscape.com
325fa6e9b8
removed some unused variables to get rid of some warnings
1999-08-25 13:39:41 +00:00
troy@netscape.com
17a060ab89
Changed PaintBackground() so it doesn't always render the background color when
...
there's a background image that doesn't tile the entire bounds
1999-08-25 05:05:04 +00:00
ramiro@netscape.com
0a967756ad
#ifdef out annoying printf.
1999-08-25 04:01:57 +00:00
troy@netscape.com
8f1fde9cec
Added case selectors for NS_STYLE_BORDER_STYLE_HIDDEN. Treated just like
...
NS_STYLE_BORDER_STYLE_NONE
1999-08-24 21:47:55 +00:00
dcone@netscape.com
dea62f3345
Fixed some warnings, and some roundoff for the curves
1999-08-24 14:51:16 +00:00
rods@netscape.com
b1827fd5ee
Added a new method PaintOutline, and added a new parameter to PaintBorder to tell whether to get the style and color information from the border info or the outline info
1999-08-19 14:22:47 +00:00
harishd@netscape.com
7da01e88b0
Changing the order in which borders are painted for compatibility.
...
Used to be TOP,LEFT,BOTTOM,RIGHT, and now it's
BOTTOM,LEFT,TOP,RIGHT. Fix for bug#11022
1999-08-10 18:13:50 +00:00
troy@netscape.com
99ae5771db
Added failure check for call to nsStyleData::GetBorder()
1999-07-28 04:48:34 +00:00
kmcclusk@netscape.com
003825881c
bug #7032 Changed nsIWidget::Resize(...), nsIWidget::Move(...) to
...
use PRInt32 instead of PRUInt32. Modified Mac, and Linux to match.
bug #2010 Applied David Barrons patch for MakeSide ins CSSRendering.
nsIWidget - removed GetAbsoluteBounds - Not needed. Can use WidgetToScreen instead.
1999-07-27 23:26:36 +00:00
troy@netscape.com
590a66f112
Fix for bug #10563 where we were triggering a post condition assertion. Changed
...
ComputeBackgroundAnchorPoint() to correctly calculate tile offset that is a
multiple of the tile
1999-07-27 14:13:09 +00:00
dcone@netscape.com
c3a812ef59
Fixed background rendering
1999-07-27 06:41:34 +00:00
dcone@netscape.com
b5ae889ded
fixed background tile clipping bug.
1999-07-19 14:37:36 +00:00
dcone@netscape.com
10fe138110
Fixed printing to make sure all URL's are loaded before print.
...
Fixed the background tile render'er to save and restore clip.
1999-07-15 14:23:40 +00:00
troy@netscape.com
3542b1543b
Fixed some compiler warnings
1999-07-02 22:39:32 +00:00
dcone@netscape.com
ea1271902d
background Image speed up
...
Commented out the box around the printout until Troy returns
1999-06-11 14:43:14 +00:00
troy@netscape.com
8b0bff229c
Fix for bug #5680 . Re-arranged some assertion checking code
1999-04-29 18:29:56 +00:00