Open
Description
This issue was originally filed by kbeck...@gmail.com
In this example http://xn--dahlstrm-t4a.net/svg/html/get-embedded-svg-document-script.html
It is possible to access the contents of an SVG embedded with the embed Tag:
function findSVGElements()
{
var elms = document.querySelectorAll(".emb");
for (var i = 0; i < elms.length; i++)
{
var subdoc = elms[i].contentDocument;
if (subdoc)
subdoc.getElementById("svgbar").setAttribute("fill", "lime");
}
}
Dart is missing the contentDocument property and thus this code can not be re-produced in Dart..
Karsten