Commit Graph
900 Commits
Author SHA1 Message Date
[email protected] b74296febf Bug 194108 Don't PaintBackgroundColor when tiled image is opaque and fully covering. r=caillon sr=roc+moz 2003-03-05 23:34:48 +00:00
[email protected] 76bc22515a Bug 191938. 'Dont print backgrounds' by setting background to white. also clean up unused params and make background-attachment:fixed work in printing/printpreview. r+sr=bzbarsky 2003-02-23 02:49:22 +00:00
[email protected] 5a57d2f42b Bug 189723. Fix valgrind warning on uninitialized value when GetPenMode isn't implemented. r+sr=bzbarsky 2003-02-22 22:27:45 +00:00
[email protected] ba58162e96 Remove nsIStyleContext (bug 114713), r/sr=dbaron. Changed lots of methods to use nsStyleContext* or already_AddRefed<nsStyleContext> as return values, depending on whether a reference is returned. Turn on nsRefPtr (bug 104346), and change nsDerivedSafe to not declare AddRef and Release explicitly virtual, r=jag, sr=dbaron. 2003-02-22 00:32:13 +00:00
[email protected] d98f6c2f7a 189533, background-position has low accuracy. Specifically, it was not allowing fractional percentages.
r+sr=dbaron
2003-01-19 02:36:04 +00:00
[email protected] e7d68bd7e6 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.
See also revision 3.188 of this file.
2003-01-17 12:16:36 +00:00
[email protected] 1169b8baa0 Bug 14777 - Give inline background image painting a rhyme and reason to how it works. Implement CSS3 proposal (-moz-)background-inline-policy.
r+sr=roc+moz
2003-01-17 09:33:52 +00:00
[email protected] 82a3644262 Change the algorithm used to darken text when printing a tad to produce better
results.  Bug 141232, r/sr=roc+moz
2003-01-05 04:52:27 +00:00
[email protected] 335bf15f44 186752 - Need one more null check, this time before CallQueryInterface. r+sr=dbaron 2002-12-28 00:03:33 +00:00
[email protected] 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
[email protected] 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
[email protected] 9a64ab0a71 186158 r+sr=dbaron unused function TileImage in nsCSSRendering.cpp 2002-12-21 10:33:38 +00:00
[email protected] 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
[email protected] 39f7aebfb1 Make GetParent on nsStyleContext return an
already_AddRefed<nsIStyleContext>.  Bug 171808, r=jkeiser, sr=dbaron
2002-10-09 01:46:15 +00:00
[email protected] 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
[email protected] 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
[email protected] 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
[email protected] 8ca6bfa788 Bug 45557 - Rounded transparent borders are not transparent.
r=bzbarsky sr=jag
2002-08-30 06:39:34 +00:00
[email protected] c78e7e7845 b=148598 r=mcclusky,sr=kin Speed up scrolling 2002-08-18 00:46:00 +00:00
[email protected] 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
[email protected] 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
[email protected] 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
[email protected] b063d053c8 Backing out changes. Something is interacting wrong with scroll bars.. so I will investigate. 2002-07-29 17:48:22 +00:00
[email protected] 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
[email protected] 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
[email protected] 3f9ae484b0 fix build bustage 2002-04-12 15:26:05 +00:00
[email protected] 8140d2428c b=135208 [email protected] sr=attinasi a=asa Fixed printing of color text when we dont
have a background.
2002-04-12 14:30:00 +00:00
[email protected] 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
[email protected] 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
[email protected] e418006610 Make FindBackground not QI to nsIHTMLBodyElement -- this makes it much
faster.  Bug 129079, [email protected], sr=jst, a=asa
2002-03-05 23:17:32 +00:00
[email protected] 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
[email protected] 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
[email protected] 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
[email protected] 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
[email protected] 9a13af360b bug 41262 - new table border collapsing code. sr=attinasi, r=alexsavulov. 2002-02-19 15:48:28 +00:00
[email protected] 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
[email protected] ea77c55a9b Fix print preview. r=rods sr = attinasi bug =117072. Only control backgrounds painting for printing. 2002-01-15 22:37:15 +00:00
[email protected] 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
[email protected] 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
[email protected] ba1a614b83 Fix crash on certain pages. b=118829 r=jag sr=waterson 2002-01-09 02:36:49 +00:00
[email protected] 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
[email protected] 6e27ede813 Remove bogus/noisy assertion. b=118676 / 116161 2002-01-08 04:11:25 +00:00
[email protected] 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
[email protected] 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
[email protected] 389657361a Fix for 112980, nsITheme API and dynamic skin switching re-enabling. r=ben, sr=waterson 2001-12-17 22:51:39 +00:00
[email protected] 8eed8d366a 113789 - -moz-border-colors doesn't recognize transparent, r=ben, sr=hyatt 2001-12-11 11:13:16 +00:00
[email protected] 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
[email protected] 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
[email protected] 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
[email protected] 5b7457dc0e Bug 73382. Clean up view manager interfaces, 2nd attempt. r=kmcclusk,rs=attinasi 2001-12-01 14:31:45 +00:00