2 <canvas id=
"can" width=
200 height=
256 style=
"transform: translateZ(0)"></canvas>
3 Test passes if DRT doesn't crash.
5 var can
= document
.querySelector("#can");
6 var ctx
= can
.getContext("2d");
7 ctx
.fillStyle
= "green";
8 ctx
.fillRect(0, 0, 300, 300);
9 document
.body
.offsetTop
;
11 if (window
.testRunner
)
12 testRunner
.dumpAsText();