Added a clip for the borders and fixed how they are rendered. r=karnaze

bugs:10311,8737,14566


git-svn-id: svn://10.0.0.236/trunk@51847 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dcone%netscape.com
1999-10-26 14:34:17 +00:00
parent e181f8b3fa
commit 73c37400ce
6 changed files with 314 additions and 350 deletions

View File

@@ -947,7 +947,7 @@ nsFormControlHelper::PaintFocus(nsIRenderingContext& aRenderingContext,
borderStyles[i] = NS_STYLE_BORDER_STYLE_DOTTED;
borderColors[i] = black;
}
nsCSSRendering::DrawDashedSides(0, aRenderingContext, borderStyles, borderColors, aOutside,
nsCSSRendering::DrawDashedSides(0, aRenderingContext,aDirtyRect, borderStyles, borderColors, aOutside,
aInside, PR_FALSE, nsnull);
}