Permalink
Browse files

Merge pull request #68 from paullewis/master

Updates the clearRect test as per discussions in #67
  • Loading branch information...
2 parents 4268023 + 78cd6d3 commit 32dbb53542dd9c083162f4fa7b51abcba917ff97 @ziegs ziegs committed Sep 25, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 static/tests/canvasclear.html
@@ -21,6 +21,7 @@
// create a canvas
canvas = document.createElement('canvas');
context = canvas.getContext('2d');
+ context.fillStyle = "#000000";
canvasStyle = canvas.style;
// set its width and height using CSS
@@ -41,6 +42,7 @@
}
function test() {
+ context.fillRect(0, 0, 1, 1);
context.clearRect(0, 0, size, size);
}

0 comments on commit 32dbb53

Please sign in to comment.