8 border:
3px solid black;
13 background-color: gray;
14 border:
1px solid black;
15 transform: translateZ(
0);
19 if (window
.testRunner
)
20 testRunner
.dumpAsTextWithPixelResults();
22 if (window
.internals
) {
23 window
.internals
.settings
.setAccelerated2dCanvasEnabled(true);
27 var canvas
= document
.getElementById("canvas");
28 var context
= canvas
.getContext('2d');
29 context
.fillStyle
= 'green';
30 context
.fillRect(0, 0, 150, 100);
31 canvas
.height
= "200px";
34 window
.onload
= doTest
;
39 <canvas id=
"canvas" width=
"50" height=
"50"></canvas>