Made the image accessible from CSS via list-style-image.

git-svn-id: svn://10.0.0.236/trunk@22532 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
evaughan%netscape.com
1999-03-02 05:00:51 +00:00
parent 9f8f8bbc42
commit e361d199bf
5 changed files with 97 additions and 109 deletions

View File

@@ -317,7 +317,7 @@ nsButtonFrameRenderer::PaintButton (nsIPresContext& aPresContext,
nsFramePaintLayer aWhichLayer,
const nsRect& aRect)
{
printf("painted width='%d' height='%d'\n",aRect.width, aRect.height);
//printf("painted width='%d' height='%d'\n",aRect.width, aRect.height);
// draw the border and background inside the focus and outline borders
PaintBorderAndBackground(aPresContext, aRenderingContext, aDirtyRect, aWhichLayer, aRect);
@@ -585,7 +585,7 @@ nsButtonFrameRenderer::AddFocusBordersAndPadding(nsIPresContext& aPresContext,
aMetrics.width += aBorderPadding.left + aBorderPadding.right;
aMetrics.height += aBorderPadding.top + aBorderPadding.bottom;
printf("requested width='%d' height='%d'\n",aMetrics.width, aMetrics.height);
// printf("requested width='%d' height='%d'\n",aMetrics.width, aMetrics.height);
}