6 <canvas id=
"mycanvas" width=
"512" height=
"512"></canvas>
9 testRunner
.dumpAsText()
12 var canvas
= document
.getElementById('mycanvas');
13 var ctx
= canvas
.getContext('2d');
14 ctx
.fillStyle
= "rgb(255,165,0)";
15 ctx
.fillRect(0, 0, 512, 512);
18 ctx
.fillStyle
= "rgb(255,165,0)";
19 ctx
.fillRect(0, 0, 256, 512);
20 document
.body
.appendChild(document
.createElement("p")).appendChild(document
.createTextNode("If we got this far without an assertion, this test passed."));