|
|
@ -783,6 +783,8 @@ tests['shadowBlur'] = function(ctx){ |
|
|
|
ctx.lineTo(20,180); |
|
|
|
ctx.lineTo(100,180); |
|
|
|
ctx.stroke(); |
|
|
|
|
|
|
|
ctx.fillRect(150,150,20,20); |
|
|
|
}; |
|
|
|
|
|
|
|
tests['shadowColor'] = function(ctx){ |
|
|
@ -805,6 +807,8 @@ tests['shadowColor'] = function(ctx){ |
|
|
|
ctx.lineTo(20,180); |
|
|
|
ctx.lineTo(100,180); |
|
|
|
ctx.stroke(); |
|
|
|
|
|
|
|
ctx.fillRect(150,150,20,20); |
|
|
|
}; |
|
|
|
|
|
|
|
tests['shadowOffset{X,Y}'] = function(ctx){ |
|
|
@ -829,6 +833,8 @@ tests['shadowOffset{X,Y}'] = function(ctx){ |
|
|
|
ctx.lineTo(20,180); |
|
|
|
ctx.lineTo(100,180); |
|
|
|
ctx.stroke(); |
|
|
|
|
|
|
|
ctx.fillRect(150,150,20,20); |
|
|
|
}; |
|
|
|
|
|
|
|
tests['shadowOffset{X,Y} large'] = function(ctx){ |
|
|
@ -853,6 +859,8 @@ tests['shadowOffset{X,Y} large'] = function(ctx){ |
|
|
|
ctx.lineTo(20,180); |
|
|
|
ctx.lineTo(100,180); |
|
|
|
ctx.stroke(); |
|
|
|
|
|
|
|
ctx.fillRect(150,150,20,20); |
|
|
|
}; |
|
|
|
|
|
|
|
tests['shadowOffset{X,Y} negative'] = function(ctx){ |
|
|
@ -877,6 +885,8 @@ tests['shadowOffset{X,Y} negative'] = function(ctx){ |
|
|
|
ctx.lineTo(20,180); |
|
|
|
ctx.lineTo(100,180); |
|
|
|
ctx.stroke(); |
|
|
|
|
|
|
|
ctx.fillRect(150,150,20,20); |
|
|
|
}; |
|
|
|
|
|
|
|
tests['shadowBlur values'] = function(ctx){ |
|
|
@ -901,6 +911,8 @@ tests['shadowBlur values'] = function(ctx){ |
|
|
|
ctx.lineTo(20,180); |
|
|
|
ctx.lineTo(100,180); |
|
|
|
ctx.stroke(); |
|
|
|
|
|
|
|
ctx.fillRect(150,150,20,20); |
|
|
|
}; |
|
|
|
|
|
|
|
tests['shadowBlur strokeRect()'] = function(ctx){ |
|
|
|