I seem to have stumbled upon an error in implementing a canvas in Chrome. If you create a canvas element with a large width (for example, 17000), any paths drawn on this canvas after a certain distance down the canvas are obtained as soon as a pixel or two wide. In addition, the width cannot be a whole pixel or not drawn at all.
Here is an example illustrating the problem. Two rectangles should have the same width, but this is not the case.
http://jsbin.com/ehuvew/2/edit
Has anyone come across this? Does anyone know of a workaround?
javascript html5-canvas canvas
Chmille4
source share