4 div { background: -webkit-canvas(squares); width:
600px; height:
600px; border:
2px solid black }
8 testRunner
.dumpAsText();
11 var ctx
= document
.getCSSCanvasContext("4d", "squares", w
, h
);
13 alert("FAIL! ctx wasn't null: " + ctx
);
18 <body onload=
"draw(300, 300)">