Граф коммитов

211 Коммитов

Автор SHA1 Сообщение Дата
dbaron%fas.harvard.edu 8c29d1138a Fix crash on certain pages. b=118829 r=jag sr=waterson 2002-01-09 02:36:49 +00:00
dbaron%fas.harvard.edu 568a104e66 Remove unused and incorrect code, clean up some other similar code. b=116301 r=jag sr=jst 2002-01-08 15:13:02 +00:00
dbaron%fas.harvard.edu 887e35d7b3 Remove bogus/noisy assertion. b=118676 / 116161 2002-01-08 04:11:25 +00:00
dbaron%fas.harvard.edu c9c0a97163 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 2002-01-07 23:46:07 +00:00
pinkerton%netscape.com 4c5dccf906 Fix infinite loop when |shrinkage| goes below zero. Blocker for mach-o
build. r=dbaron/sr=blake. bug#116240
2001-12-20 18:02:43 +00:00
hyatt%netscape.com 0ec3f045d8 Fix for 112980, nsITheme API and dynamic skin switching re-enabling. r=ben, sr=waterson 2001-12-17 22:51:39 +00:00
hewitt%netscape.com c580303351 113789 - -moz-border-colors doesn't recognize transparent, r=ben, sr=hyatt 2001-12-11 11:13:16 +00:00
dcone%netscape.com 6c7808bbc0 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
2001-12-11 05:57:37 +00:00
dbaron%fas.harvard.edu 2541b83e4f Tweaking XP_MACOSX ifdefs in a few more places, including a fix for background image clipping. b=111795 r=pinkerton sr=sfraser 2001-12-06 00:09:21 +00:00
hyatt%netscape.com 91bc6c4a6e 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 2001-12-05 08:35:05 +00:00
roc+%cs.cmu.edu c88233916b Bug 73382. Clean up view manager interfaces, 2nd attempt. r=kmcclusk,rs=attinasi 2001-12-01 14:31:45 +00:00
dcone%netscape.com 30419dc2d1 Put in a check so backgrounds are not printed. This is temporary until 96870 is fixed. r=rods sr=attinasi 2001-11-27 14:50:35 +00:00
roc+%cs.cmu.edu c26c9711f3 My cleanup checkin for bug 73382 caused 5% increase in page load times. Backing out. 2001-11-24 05:37:25 +00:00
roc+%cs.cmu.edu 04ab1d58c5 View manage interface cleanup. Bug 73382. r=kmcclusk, sr=attinasi 2001-11-22 05:26:32 +00:00
hyatt%netscape.com 0c8c1348b3 Fix for 104336, deCOMtaminate rulenode, rulewalker, frames, r=dbaron, sr=waterson 2001-10-24 00:01:09 +00:00
attinasi%netscape.com 2046bd1c34 Improvements for invert outline colors (Mac and Linux work now). b=73884 r=kmcclusk sr=kin 2001-10-03 00:08:25 +00:00
gerv%gerv.net 4e12e44b2f Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
dbaron%fas.harvard.edu 917fff3b3e Null check to fix topcrash bug 97226. r=hixie sr=waterson 2001-09-10 19:36:59 +00:00
dcone%netscape.com 61c42e0de0 b=73884 r=peterl sr=attinasi invert mode support added 2001-08-21 22:37:17 +00:00
ian%hixie.ch 0da971e40c 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 880bac0d69 fixing 94933 r=jst sr=hyatt 2001-08-15 05:24:29 +00:00
pavlov%netscape.com 1e20984ef0 fixing bug 78690. removing old imagelib. r=jst sr=waterson 2001-08-09 20:22:39 +00:00
dbaron%fas.harvard.edu 9d35ed31a4 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 b135c5b55a Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson 2001-05-31 22:19:43 +00:00
dcone%netscape.com a81e76f9b1 bug 79477 r=kmmclusk sr=attinasi 2001-05-10 14:19:58 +00:00
dcone%netscape.com 858044937b r=kmmclusk sr=attinasi b=62245. clamp the border size. 2001-04-16 13:14:40 +00:00
pinkerton%netscape.com e4150a604d 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 6e984b2b28 ``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 9af01acf22 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 7ecf530933 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 62bf433a35 #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 edb0c6270c 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 37ea41723f Bug 59528 - BeOS: images are drawn outside of its bounding box - r=cls 2000-12-22 23:19:04 +00:00
warren%netscape.com cd56c0575b 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 9a6d92a433 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 58af58b21e 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 d5e488cde1 fix crash replying to outlook message with dashed frame 52130 r=buster,waterson 2000-09-20 04:02:20 +00:00
sfraser%netscape.com 4af1765061 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 7aa7ed7f6d 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 7f0dcda2ea 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 c41ffd137d 49550: uninitialized variable. Thanks to bruce@cubik.org (Bruce Mitchener) 2000-08-23 03:57:13 +00:00
pierre%netscape.com fc4ab5d947 49154: uninitialized variable. Thanks to bruce@cubik.org (Bruce Mitchener) 2000-08-17 08:26:53 +00:00
attinasi%netscape.com 7701e70031 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 e2194f4f34 #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 f0115afa13 Fix leak of nsImageGTK (or equivalent on other platforms). r=waterson@netscape.com 2000-06-15 02:15:36 +00:00
attinasi%netscape.com 235a64963f 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 50de329936 Fixed background color under border. b=13934. R=Attinasi 2000-06-05 13:58:05 +00:00
dcone%netscape.com 999da07458 Fixed double drawing lines for buttons 2000-05-15 04:55:49 +00:00
bryner%uiuc.edu e5c3adbd79 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 8365299e18 Fixed the curve drawing to use floating point.. corrects rounding problems 2000-05-11 03:59:43 +00:00
attinasi%netscape.com bade3fb598 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 16403a2e19 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 da4105b736 Put in the Tiling call from the RenderingContextImpl. 2000-04-24 04:36:05 +00:00
jst%netscape.com 75c2e94a05 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 630efa09d1 Turned on the Fast Background Rendering. 2000-04-20 14:00:22 +00:00
pnunn%netscape.com d7030dd86b bug#34444: blocker bug. Backing out changes for dcone. pnunn. 2000-04-04 20:04:40 +00:00
dcone%netscape.com 77701e6a5b 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 431a24ae53 Fixed warning from Mac compiler: no prototype for local static function. 2000-03-30 07:20:16 +00:00
attinasi%netscape.com d012c2b572 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 3e11ee0c01 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 c046415a7a Fix a leak of a device context. r=dcone@netscape.com 2000-03-16 01:21:58 +00:00
troy%netscape.com 9eb066a4eb 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 5622a49a33 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 1ddf942ed0 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 22e7312184 backout of accidental checkin... 2000-02-10 20:21:29 +00:00
attinasi%netscape.com b57e81919a 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 f3d78aee1d 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 360be95564 fixed backgrounds. r=rods 2000-02-01 16:03:13 +00:00
dcone%netscape.com 8fba6004e9 Fixed some problems with rounded borders. r=rods 2000-01-14 14:43:05 +00:00
dcone%netscape.com e4e814a923 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 fbd97e9856 fix warnings. 1999-12-28 19:37:29 +00:00
dcone%netscape.com f7bfb1a5f7 Added support for selected rounded corners...can now round individual corners. r=rods 1999-12-23 20:48:07 +00:00
pierre%netscape.com 74c0693bb2 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 4df6cffe8e 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 e980952da4 Took out the clip for backgrounds.. not needed r=rods. bug=16685 1999-12-01 14:45:59 +00:00
tbogard%aol.net af1ce8d410 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 1b778eadc9 Thickness of side is now checked. Fixed bug 14944. r=rods 1999-11-18 16:03:45 +00:00
dcone%netscape.com 3c24d927ea 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 dee8f4a5a5 DrawDashedSides now used the correct height and width for the right and bottom 1999-11-15 15:33:25 +00:00
dmose%mozilla.org 5312eacf8c 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 13525c0af2 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 d871f3d1eb Fixed a divide by zero crasher, and cleaned up borders. r=buster 1999-11-03 05:46:01 +00:00
dcone%netscape.com eb5d6cfd19 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 87afecabc0 Changed SetView/GetView to take an additional argument which is the
pres context
1999-10-26 04:44:41 +00:00
dcone%netscape.com c1a0029188 Fixed warning. 1999-10-22 13:29:06 +00:00
dcone%netscape.com 8c53e876bb 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 317cd9edf5 Fixed some warnings 1999-10-07 20:40:00 +00:00
dcone%netscape.com edf1bb0675 Turned on the background tiling optimization.. Reviewed By rods 1999-10-07 14:57:32 +00:00
dcone%netscape.com de58b40e53 added background fix.. commented out for now until other platforms are tested 1999-10-01 14:35:20 +00:00
rods%netscape.com a4d98e6a57 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 c4d6cf70d3 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 918bc1fe7d removed a debug printf 1999-08-27 20:58:37 +00:00
dcone%netscape.com 4abe0ca7d3 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 461e2800c5 removed some unused variables to get rid of some warnings 1999-08-25 13:39:41 +00:00
troy%netscape.com 7404d57f49 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 ee1c505730 #ifdef out annoying printf. 1999-08-25 04:01:57 +00:00
troy%netscape.com df668a079e 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 4503dca5fe Fixed some warnings, and some roundoff for the curves 1999-08-24 14:51:16 +00:00
rods%netscape.com 300c700e00 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 9db5447de6 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