[whatwg] Adding SVG Filter-like functionality to Canvas 2D Context

Hans Schmucker hansschmucker at gmail.com
Mon Jul 6 16:37:08 PDT 2009


I should really add one point. The Canvas spec, above all, is
predictable. You pretty much know exactly what you'll get when you
perform certain actions. Relying directly on SVG filters makes things
harder to understand and predict. A flat, stripped-down API on the
other hand could provide the same amount of predictability that we're
used to from Canvas,

If you directly include SVG, a developer who wants to use it has to
understand all of SVG, which is a pretty big spec, with lots of
unexpected behaviour. And as a result, often incorrect behaviour in
implementations.

--hans



More information about the whatwg mailing list