Re: An inherent flaw in <canvas>?

On Sun, Jan 30, 2011 at 11:49 PM, Justin Anthony Knapp
<justinkoavf@gmail.com> wrote:
> Should we be concerned about this?
> http://petewarden.typepad.com/searchbrowser/2011/01/a-fundamental-bug-in-html5s-canvas.html

No.  It's a fundamental restriction of an immediate-mode,
one-shape-at-a-time API that this sort of thing will happen,
especially if anti-aliasing is involved.

To fix this you need the ability to do several operations at once.
SVG addresses this by being completely retained, so the UA can figure
out when it should merge boundaries automatically.  <canvas> will gain
some sort of retained API in the future that will allow the same
ability.

In other words, this is either already fixed or will fix itself in the
future.  Nothing to be concerned about right now.

~TJ

Received on Monday, 31 January 2011 18:51:52 UTC