2 <!-- Test based on that found at
3 http://philip.html5.org/tests/canvas/suite/tests/index.2d.transformation.transform.html
5 <title>Canvas test:
2d.transformation.transform.nan
</title>
6 <canvas id=
"canvas" class=
"output" width=
"100" height=
"100"><p class=
"fallback">FAIL (fallback content)
</p></canvas>
8 var ctx
= document
.getElementById("canvas").getContext("2d");
9 ctx
.fillStyle
= '#f00';
10 ctx
.fillRect(0, 0, 100, 100);
11 ctx
.transform(NaN
,0, 0,NaN
, 0,0);
12 ctx
.fillStyle
= '#0f0';
13 ctx
.fillRect(-100, -100, 200, 200);