I use the following code to draw a hollow rectangular.
ctx = canvas.getContext("2d");
ctx.shadowOffsetX = 1;
ctx.shadowOffsetY = 1;
// ctx.shadowBlur = 1;
ctx.strokeStyle = '#f00';
ctx.lineWidth = 1;
ctx.strokeRect(x, y, w,h);
It is fine. But when I set the ctx’s shadowBlur property, the rectangular is filled. And it is fine in firefox.

I have report a bug at google code. The solution is change linewidth from 1 to 1.1. And it works.
Get more information at:
chromium Issue 121251