Small error in background rendering that index is 0 instead if i. r=rods. b=23704
git-svn-id: svn://10.0.0.236/trunk@57549 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -2233,7 +2233,7 @@ PRInt16 borderRadii[4],i;
|
||||
|
||||
// rounded version of the border
|
||||
for(i=0;i<4;i++){
|
||||
if (borderRadii[0] > 0){
|
||||
if (borderRadii[i] > 0){
|
||||
PaintRoundedBackground(aPresContext,aRenderingContext,aForFrame,aDirtyRect,aBorderArea,aColor,aSpacing,aDX,aDY,borderRadii);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user