2 <!-- Test based on that found at
3 http://philip.html5.org/tests/canvas/suite/tests/index.2d.transformation.transform.html
5 After the non-invertible transform the fillRect call should have no effect
7 <title>Canvas test:
2d.transformation.transform.non-invertible
</title>
8 <canvas id=
"canvas" class=
"output" width=
"100" height=
"100"><p class=
"fallback">FAIL (fallback content)
</p></canvas>
10 var ctx
= document
.getElementById("canvas").getContext("2d");
11 ctx
.fillStyle
= '#0f0';
12 ctx
.fillRect(0, 0, 100, 100);
13 ctx
.transform(0,0, 0,0, 0,0);
14 ctx
.fillStyle
= '#f00';
15 ctx
.fillRect(0, 0, 100, 100);