strokeStyle with gradient test-case



function draw() {
var ctx = document.getElementById('canvas').getContext('2d');
lingrad = ctx.createLinearGradient(0,0,150,150);
lingrad.addColorStop(0,"rgba(255,0,0,255)");
lingrad.addColorStop(1,"rgba(0,255,0,255)");
ctx.strokeStyle = lingrad;
ctx.lineWidth = 20;
ctx.strokeRect(30,30,90,90);
}