Canvas strokeStyle with gradient test-case

Current Browser

FireFox 3.0.7

Safari 3.2.2

Chrome 1.0.154.48

Opera 9.64

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);            
}