Chrome Canvas Error

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?

+8
javascript html5-canvas canvas
source share
1 answer

I checked and confirmed the above behavior on chrome VersΓ£o 19.0.1084.52 (Ubuntu)

also checked the limits where it occurs and the width of 8192 pixels

this seems to be related to the chrome error message: http://code.google.com/p/chromium/issues/detail?id=121405

0
source share

All Articles