Commit Graph

692 Commits

Author SHA1 Message Date
ian@hixie.ch
4286fbd7f7 Make the canvas background use the root element's frame's origin instead of the canvas frame's origin. Bug 46446; r=dcone, sr=attinasi 2001-08-17 23:26:29 +00:00
pavlov@netscape.com
b026bf845e fixing 94933 r=jst sr=hyatt 2001-08-15 05:24:29 +00:00
pavlov@netscape.com
3a5d625d26 fixing bug 78690. removing old imagelib. r=jst sr=waterson 2001-08-09 20:22:39 +00:00
dbaron@fas.harvard.edu
20d7bc6052 Fix bad getters on nsIDocument and nsIScriptContext to use out params rather than return |AddRef|ed pointers. b=81289 r=jaggernaut sr=jst a=asa 2001-06-20 03:27:48 +00:00
hyatt@netscape.com
dfdfa14592 Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson 2001-05-31 22:19:43 +00:00
dcone@netscape.com
8b784d6e98 bug 79477 r=kmmclusk sr=attinasi 2001-05-10 14:19:58 +00:00
dcone@netscape.com
ed012fb203 r=kmmclusk sr=attinasi b=62245. clamp the border size. 2001-04-16 13:14:40 +00:00
pinkerton@netscape.com
d866a3798a don't re-create 1000 element array's of nsPoints every time the routine is called. r=dcone/sr=sfraser. bug 69101. 2001-02-20 01:14:03 +00:00
disttsc@bart.nl
d0b6e204d4 ``background-position not relative to padding edge when background-repeat is not 'no-repeat' [BG]''. bug=7039, author=Hixie,jag, r=jag,Hixie,dcone, moa=dcone, sr=buster 2001-02-15 03:25:22 +00:00
pierre@netscape.com
5f165d8dc9 Reinstate my changes that were backed out 10 days ago. #43457 split nsStyleSpacing into 4 smaller structures: nsStyleBorder, nsStylePadding, nsStyleMargin, nsStyleOutline. r=attinasi,sr=buster. 2001-02-07 09:57:26 +00:00
mcafee@netscape.com
99b5642905 Backing out pierre's change from 1/20 for performance reasons (66263). r=attinasi, a=granrose, phil 2001-01-25 02:58:12 +00:00
pierre@netscape.com
37a4efae45 #43457 split nsStyleSpacing into 4 smaller structures: nsStyleBorder, nsStylePadding, nsStyleMargin, nsStyleOutline. Review=attinasi. Pending Approval: buster. 2001-01-20 22:46:54 +00:00
rods@netscape.com
c0ed0d0271 removing most all NS_DEFINE_IID and replacing them with NS_GET_IID macros
Bug 61274, r=buster sr=waterson
2001-01-04 20:44:42 +00:00
koehler@mythrium.com
4a18189042 Bug 59528 - BeOS: images are drawn outside of its bounding box - r=cls 2000-12-22 23:19:04 +00:00
warren@netscape.com
0462ea4ce8 Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc. 2000-10-28 22:17:53 +00:00
warren@netscape.com
7730ce0cd3 Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson 2000-10-27 22:43:51 +00:00
rods@netscape.com
4c1910389e adding comments to the fix that already got checked in.
a=waterson r=attinasi
2000-09-20 14:47:18 +00:00
bienvenu@netscape.com
2319d54639 fix crash replying to outlook message with dashed frame 52130 r=buster,waterson 2000-09-20 04:02:20 +00:00
sfraser@netscape.com
172b370a50 Part of the fix for 20743, add flag to tell us if a drawing surface is short-lived, so we can allocate in temp mem (on Mac). r=pavlov 2000-09-13 07:02:30 +00:00
jst@netscape.com
1bab647721 Fixing nsbeta3+ bug 28277. Add a callback to nsHTMLImageElement so that we know when a image created in JavaScript has loaded (or fails to load), this is needed to support onload and onerror event fireing and also to support the '.complete' property on images create in JavaScript. r=nisheeth@netscape.com 2000-09-01 07:05:08 +00:00
rods@netscape.com
187457d951 Temporarily changed outline to be mozoutline, this will enable us to get links
to show a focus rect. When we get outlines really working, then mozoutline will go away.
b=48973 r=attinasi
2000-08-24 13:45:48 +00:00
pierre@netscape.com
251979b674 49550: uninitialized variable. Thanks to bruce@cubik.org (Bruce Mitchener) 2000-08-23 03:57:13 +00:00
pierre@netscape.com
c7e37981d2 49154: uninitialized variable. Thanks to bruce@cubik.org (Bruce Mitchener) 2000-08-17 08:26:53 +00:00
attinasi@netscape.com
edbb00d118 Part of fix to allow background on BODY element to be inherited. b=47127 r=pierre 2000-08-04 20:44:08 +00:00
pierre@netscape.com
7d1c5eacd5 #42139 "background-position misinterpreted with fixed backgrounds". Fixed a regression introduced during the last checkin. r=attinasi. 2000-06-16 00:50:56 +00:00
dbaron@fas.harvard.edu
9dc90a138d Fix leak of nsImageGTK (or equivalent on other platforms). r=waterson@netscape.com 2000-06-15 02:15:36 +00:00
attinasi@netscape.com
f2c3ab65ca Fixed crash when a textarea control has fixed-backgrounfd attachment. b=40118 r=kmcclusk 2000-06-07 23:06:41 +00:00
dcone@netscape.com
9332a2dc08 Fixed background color under border. b=13934. R=Attinasi 2000-06-05 13:58:05 +00:00
dcone@netscape.com
c4f5c97635 Fixed double drawing lines for buttons 2000-05-15 04:55:49 +00:00
bryner@uiuc.edu
1743f1ac81 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.
2000-05-12 06:29:37 +00:00
dcone@netscape.com
b18aa23764 Fixed the curve drawing to use floating point.. corrects rounding problems 2000-05-11 03:59:43 +00:00
attinasi@netscape.com
fd1a9a6265 Fixed problem where continuation frames were repeating the background image even when no-repeat was set. b=38764 r=buster 2000-05-10 23:24:08 +00:00
attinasi@netscape.com
df4be068cb 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 2000-05-09 00:53:51 +00:00
dcone@netscape.com
c942872326 Put in the Tiling call from the RenderingContextImpl. 2000-04-24 04:36:05 +00:00
jst@netscape.com
64e60a3206 Backing out dcones last changes since they made linux tinderbox go orange, and the toolbar wasn't properly drawn with the changes. 2000-04-20 16:22:10 +00:00
dcone@netscape.com
748ef384ad Turned on the Fast Background Rendering. 2000-04-20 14:00:22 +00:00
pnunn@netscape.com
ec01f14197 bug#34444: blocker bug. Backing out changes for dcone. pnunn. 2000-04-04 20:04:40 +00:00
dcone@netscape.com
e64815639b 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.
2000-04-04 13:38:36 +00:00
attinasi@netscape.com
79ac44581a Fixed warning from Mac compiler: no prototype for local static function. 2000-03-30 07:20:16 +00:00
attinasi@netscape.com
40fb0bfcc1 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 2000-03-30 06:27:32 +00:00
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