Commit Graph

692 Commits

Author SHA1 Message Date
caillon@returnzero.com
335bf15f44 186752 - Need one more null check, this time before CallQueryInterface. r+sr=dbaron 2002-12-28 00:03:33 +00:00
caillon@returnzero.com
ff126d3d84 Bug 186752 - Crash during background painting when there is no scrollable frame. Add a null check.
r+sr=dbaron
2002-12-27 07:32:17 +00:00
caillon@returnzero.com
8ab6207e49 Bug 46814 - Fixed attachment background images should not be positioned underneath scrollbars, when positioning on a side which has scrollbars.
r=dbaron sr=bzbarsky
2002-12-23 22:08:04 +00:00
cbiesinger@web.de
9a64ab0a71 186158 r+sr=dbaron unused function TileImage in nsCSSRendering.cpp 2002-12-21 10:33:38 +00:00
bzbarsky@mit.edu
04b64ac192 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
2002-10-09 04:51:59 +00:00
bzbarsky@mit.edu
39f7aebfb1 Make GetParent on nsStyleContext return an
already_AddRefed<nsIStyleContext>.  Bug 171808, r=jkeiser, sr=dbaron
2002-10-09 01:46:15 +00:00
caillon@returnzero.com
0d9875f0a1 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
2002-10-08 10:24:53 +00:00
hyatt@netscape.com
bcb6aea72a Fix for 169373, make HTML form controls fully support native look on Windows XP. r/sr=hewitt/blake 2002-09-21 01:03:38 +00:00
alecf@netscape.com
1bd2f2fd4d 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
2002-09-12 04:43:31 +00:00
caillon@returnzero.com
8ca6bfa788 Bug 45557 - Rounded transparent borders are not transparent.
r=bzbarsky sr=jag
2002-08-30 06:39:34 +00:00
dcone@netscape.com
c78e7e7845 b=148598 r=mcclusky,sr=kin Speed up scrolling 2002-08-18 00:46:00 +00:00
dbaron@fas.harvard.edu
1fdfddcd42 Move FindNonTransparentBackground from nsStyleUtil to nsCSSRendering so that nsStyleUtil doesn't need to be in content/shared. b=71257 r=heikki sr=bzbarsky 2002-08-11 17:56:15 +00:00
dcone@netscape.com
d8ed4aa2b6 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.
2002-08-02 18:21:33 +00:00
dcone@netscape.com
e5f4f7c44d b=148598 r=peterl sr=kin a=asa. This speeds up scrolling with very large backgrounds. 2002-07-31 17:13:25 +00:00
dcone@netscape.com
b063d053c8 Backing out changes. Something is interacting wrong with scroll bars.. so I will investigate. 2002-07-29 17:48:22 +00:00
dcone@netscape.com
9566846bb8 b=148598 Very Slow scrolling. r=rods sr=kin a=asa. Fixed the update area for the background images. Improves scrolling 100% 2002-07-29 13:28:32 +00:00
dbaron@fas.harvard.edu
9d081110f3 Replace assertion with a comment explaining why we need to null-check the result of |nsIDOMHTMLDocument::GetBody|. b=119351 r=kin sr=waterson 2002-05-08 19:27:40 +00:00
pinkerton@netscape.com
3f9ae484b0 fix build bustage 2002-04-12 15:26:05 +00:00
dcone@netscape.com
8140d2428c b=135208 r=kmcclusk@netscape.com sr=attinasi a=asa Fixed printing of color text when we dont
have a background.
2002-04-12 14:30:00 +00:00
karnaze@netscape.com
8b1f82c1a7 bug 134845 - avoid dividing by zero during pixel rounding. a=asa, adt=jamiejr, sr=attinasi, r=kin 2002-04-06 22:28:39 +00:00
kmcclusk@netscape.com
17048408c7 suppress the painting of partially decoded background images bug 129908; r=pavlov sr=attinasi a=asa 2002-03-23 04:33:37 +00:00
bzbarsky@mit.edu
e418006610 Make FindBackground not QI to nsIHTMLBodyElement -- this makes it much
faster.  Bug 129079, r=rjesup@wgate.com, sr=jst, a=asa
2002-03-05 23:17:32 +00:00
bzbarsky@mit.edu
2d2bd62608 Make <body> backgrounds draw in XHTML as XML. Bug 127374, r=dbaron,
sr=attinasi, a=shaver
2002-02-25 22:18:26 +00:00
pinkerton@netscape.com
46c68dcccf 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 2002-02-20 21:51:25 +00:00
pinkerton@netscape.com
f981ed1160 don't bail on bg drawing when moz-appearance is set on a root. r=bryner/sr=hyatt. bug#119736 2002-02-20 02:14:18 +00:00
roc+@cs.cmu.edu
e8c4e091dc 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 2002-02-19 21:33:26 +00:00
karnaze@netscape.com
9a13af360b bug 41262 - new table border collapsing code. sr=attinasi, r=alexsavulov. 2002-02-19 15:48:28 +00:00
dcone@netscape.com
9938bc4eee b=96870 r=rods sr=attinasi Fixed printing so backgrounds can be turned on and off. 2002-02-15 14:48:12 +00:00
dcone@netscape.com
ea77c55a9b Fix print preview. r=rods sr = attinasi bug =117072. Only control backgrounds painting for printing. 2002-01-15 22:37:15 +00:00
dbaron@fas.harvard.edu
2757494bd9 Make sure backgrounds are painted correctly by using the correct background to set up information on the view. b=119462 r=pierre sr=hyatt 2002-01-14 15:00:30 +00:00
dbaron@fas.harvard.edu
3d8ab694d0 Fix background painting as the default color while leaving a page. b=118867 r=sfraser sr=jst 2002-01-11 19:38:21 +00:00
dbaron@fas.harvard.edu
ba1a614b83 Fix crash on certain pages. b=118829 r=jag sr=waterson 2002-01-09 02:36:49 +00:00
dbaron@fas.harvard.edu
78a3938713 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
6e27ede813 Remove bogus/noisy assertion. b=118676 / 116161 2002-01-08 04:11:25 +00:00
dbaron@fas.harvard.edu
edc54e6926 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
d1f65db455 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
389657361a 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
8eed8d366a 113789 - -moz-border-colors doesn't recognize transparent, r=ben, sr=hyatt 2001-12-11 11:13:16 +00:00
dcone@netscape.com
3ec37dec00 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
21186c71f8 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
0852b452f0 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
5b7457dc0e Bug 73382. Clean up view manager interfaces, 2nd attempt. r=kmcclusk,rs=attinasi 2001-12-01 14:31:45 +00:00
dcone@netscape.com
91c1ca3467 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
2196e347f9 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
644b8cfc16 View manage interface cleanup. Bug 73382. r=kmcclusk, sr=attinasi 2001-11-22 05:26:32 +00:00
hyatt@netscape.com
f89422ce49 Fix for 104336, deCOMtaminate rulenode, rulewalker, frames, r=dbaron, sr=waterson 2001-10-24 00:01:09 +00:00
attinasi@netscape.com
dca2526f76 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
58d409fba9 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
9d40cc8387 Null check to fix topcrash bug 97226. r=hixie sr=waterson 2001-09-10 19:36:59 +00:00
dcone@netscape.com
1e95086105 b=73884 r=peterl sr=attinasi invert mode support added 2001-08-21 22:37:17 +00:00