Browse Source

More tests

v1.x
Tj Holowaychuk 14 years ago
parent
commit
8c11097d09
  1. 12
      test/public/tests.js

12
test/public/tests.js

@ -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){

Loading…
Cancel
Save