11 Tests paint invalidation of canvas when it's resized. Passes if there is a whole green circle.
12 <canvas id=
"canvas" width=
"500" height=
"500"></canvas>
14 <script src=
"resources/text-based-repaint.js"></script>
16 function repaintTest() {
17 document
.getElementById('canvas').style
.width
= '500px';
19 onload
= runRepaintTest
;
21 var ctx
= document
.getElementById('canvas').getContext('2d');
23 ctx
.arc(250, 250, 250, 0, 2 * Math
.PI
);
24 ctx
.fillStyle
= 'green';