[whatwg] Using SVG instead of Canvas for extensions

Charles Pritchard chuck at jumis.com
Sat Jan 14 12:35:42 PST 2012

There have been quite a few threads and requests for extensions to the 
Canvas 2d API.

I've been working on some extensions to help Canvas authors meet WCAG2 
conformance, over at public-canvas-api.

I want to point out to all of you, that many of the features you'd like 
to see in Canvas can be accomplished via drawImage and SVG.
SVG support in the image element is working in many browsers.

There are many methods available in SVG that are not available in 
Canvas. Use SVG images as a means to enable them in your Canvas interface.
It's not a perfect solution, but for some things, like dotted lines, it 
can work out.


More information about the whatwg mailing list