> (There is already a bug open on SVG -
http://code.google.com/p/dart/issues/detail?id=772
> If you think it is exactly the same issue, add to that, otherwise create a
> new issue.)
>
> Thanks for creating a nice test case.
>
Not sure its the same. The code I have made correctly inserts the SVG
element into the page and no JavaScript errors are produced. However
nothing is shown!.
If I add the following svg markup to the HTML page by hand
<svg height="100" version='1.1'>
<ellipse cx="740" cy="60" rx="50" ry="25" fill="red"/>
</svg>
Then it shows correctly. But if I try to access it from Dart:
Element svg = document.query("svg");
svg.attributes = {
"height": 250,
"width": 250,
"version": "1.1"
};
then the attributes are correctly updated in the DOM but the actual
SVG picture does not show any more.
I will fill a new bug
--
Lars