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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user