dart-lang/web-ui — pull request #279 by dasmoth (2012-12-22 19:19:35+00:00)
Title: Compiler support for SVG

When compiling templates containing SVG, I ran into two issues:

1. Type errors because references to SVG elements were being stored in variables of type html.UnknownElement.

2. Errors because the wrong constructor was being called to create SVG elements.

The attached patch appears to fix these issues, and templates such as:

now work as expected.