From 59adcbe4a41c71a0a25a225ee25286c0dc9f2074 Mon Sep 17 00:00:00 2001 From: Tj Holowaychuk Date: Mon, 15 Nov 2010 17:05:30 -0800 Subject: [PATCH] Added another putImageData() test --- test/public/tests.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/public/tests.js b/test/public/tests.js index 3ecf3fc..8a82524 100644 --- a/test/public/tests.js +++ b/test/public/tests.js @@ -1486,6 +1486,6 @@ tests['putImageData() 4'] = function(ctx){ ctx.fillRect(j*25,i*25,25,25); } } - var data = ctx.getImageData(10,25,10,50); - ctx.putImageData(data,50,10); + var data = ctx.getImageData(0,0,50,50); + ctx.putImageData(data,30,30,10,10,30,30); }; \ No newline at end of file