From 02ccab744bc91b1af671de2f4013a404bc1f2d69 Mon Sep 17 00:00:00 2001 From: "dcone%netscape.com" Date: Wed, 1 Dec 1999 14:45:59 +0000 Subject: [PATCH] Took out the clip for backgrounds.. not needed r=rods. bug=16685 git-svn-id: svn://10.0.0.236/trunk@54908 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/layout/base/nsCSSRendering.cpp | 2 +- mozilla/layout/html/style/src/nsCSSRendering.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/layout/base/nsCSSRendering.cpp b/mozilla/layout/base/nsCSSRendering.cpp index 1d1f8f9766f..16f51a6b161 100644 --- a/mozilla/layout/base/nsCSSRendering.cpp +++ b/mozilla/layout/base/nsCSSRendering.cpp @@ -2134,7 +2134,7 @@ nsCSSRendering::PaintBackground(nsIPresContext* aPresContext, theTransform->SetToIdentity(); theTransform->AddScale(app2dev, app2dev); - aRenderingContext.SetClipRect(srcRect, nsClipCombine_kReplace, clip); + //aRenderingContext.SetClipRect(srcRect, nsClipCombine_kReplace, clip); // copy the initial image to our buffer, this takes twips and converts to pixels.. // which is what the image is in diff --git a/mozilla/layout/html/style/src/nsCSSRendering.cpp b/mozilla/layout/html/style/src/nsCSSRendering.cpp index 1d1f8f9766f..16f51a6b161 100644 --- a/mozilla/layout/html/style/src/nsCSSRendering.cpp +++ b/mozilla/layout/html/style/src/nsCSSRendering.cpp @@ -2134,7 +2134,7 @@ nsCSSRendering::PaintBackground(nsIPresContext* aPresContext, theTransform->SetToIdentity(); theTransform->AddScale(app2dev, app2dev); - aRenderingContext.SetClipRect(srcRect, nsClipCombine_kReplace, clip); + //aRenderingContext.SetClipRect(srcRect, nsClipCombine_kReplace, clip); // copy the initial image to our buffer, this takes twips and converts to pixels.. // which is what the image is in