3 img { content: -webkit-canvas(img); width:
24px; height:
24px; }
6 <p> crbug.com/
521152: Tests for crash introduced by r200510: should display a green square.
</p>
8 var ctx
= document
.getCSSCanvasContext("2d", "img", 24, 24);
9 ctx
.fillStyle
= "rgb(0,255,1)";
10 ctx
.fillRect (0, 0, 24, 24);