3 <title>Bug
1219985: Only the context attributes from the first getContext call should be respected.
</title>
5 <div style=
"width: 200px; height: 200px; background-color: red;">
6 <canvas id=
"c" width=
"200" height=
"200"></canvas>
11 var c
= document
.getElementById('c');
12 var ctx
= c
.getContext('2d', { alpha
: true });
13 ctx
= c
.getContext('2d', { alpha
: false });
14 ctx
.fillStyle
= 'green';
15 ctx
.fillRect(50, 50, 100, 100);