strokeRect(x, y, 0, 0); should not raise an exception (WebKit) lineWidth = 100; strokeRect(x, y, 1, 1); shouldn't make a diamond (Opera)