@@ -2369,20 +2369,20 @@ Renderer.prototype.renderBackgroundRepeating = function(container, bounds, image
23692369 var position = container . parseBackgroundPosition ( bounds , imageContainer . image , index , size ) ;
23702370 var repeat = container . parseBackgroundRepeat ( index ) ;
23712371 switch ( repeat ) {
2372- case "repeat-x" :
2373- case "repeat no-repeat" :
2374- this . backgroundRepeatShape ( imageContainer , position , size , bounds , bounds . left + borderData [ 3 ] , bounds . top + position . top + borderData [ 0 ] , 99999 , imageContainer . image . height , borderData ) ;
2375- break ;
2376- case "repeat-y" :
2377- case "no-repeat repeat" :
2378- this . backgroundRepeatShape ( imageContainer , position , size , bounds , bounds . left + position . left + borderData [ 3 ] , bounds . top + borderData [ 0 ] , imageContainer . image . width , 99999 , borderData ) ;
2379- break ;
2380- case "no-repeat" :
2381- this . backgroundRepeatShape ( imageContainer , position , size , bounds , bounds . left + position . left + borderData [ 3 ] , bounds . top + position . top + borderData [ 0 ] , size . width , size . height , borderData ) ;
2382- break ;
2383- default :
2384- this . renderBackgroundRepeat ( imageContainer , position , size , { top : bounds . top , left : bounds . left } , borderData [ 3 ] , borderData [ 0 ] ) ;
2385- break ;
2372+ case "repeat-x" :
2373+ case "repeat no-repeat" :
2374+ this . backgroundRepeatShape ( imageContainer , position , size , bounds , bounds . left + borderData [ 3 ] , bounds . top + position . top + borderData [ 0 ] , 99999 , size . height , borderData ) ;
2375+ break ;
2376+ case "repeat-y" :
2377+ case "no-repeat repeat" :
2378+ this . backgroundRepeatShape ( imageContainer , position , size , bounds , bounds . left + position . left + borderData [ 3 ] , bounds . top + borderData [ 0 ] , size . width , 99999 , borderData ) ;
2379+ break ;
2380+ case "no-repeat" :
2381+ this . backgroundRepeatShape ( imageContainer , position , size , bounds , bounds . left + position . left + borderData [ 3 ] , bounds . top + position . top + borderData [ 0 ] , size . width , size . height , borderData ) ;
2382+ break ;
2383+ default :
2384+ this . renderBackgroundRepeat ( imageContainer , position , size , { top : bounds . top , left : bounds . left } , borderData [ 3 ] , borderData [ 0 ] ) ;
2385+ break ;
23862386 }
23872387} ;
23882388
0 commit comments