<svg id="svg" width="100%" height="100%" xmlns="http://www.w3.org/2000/svg">
<title>The entire image should be white.</title>
<defs>
<filter id="morph">
<feMorphology operator="erode" radius="0"/>
</filter>
</defs>
<script>
<![CDATA[
for(var i = 0; i < 100; i+=5)
{
for(var j = 0; j < 100; j+=5)
{
var rect = document.createElementNS("http://www.w3.org/2000/svg", "rect");
rect.setAttribute("x", i);
rect.setAttribute("y", j);
rect.setAttribute("width", "5");
rect.setAttribute("height", "5");
rect.setAttribute("filter", "url(#morph)");
document.getElementById("svg").appendChild(rect);
}
}
if (window.testRunner)
testRunner.dumpAsText();
]]>
</script>
</svg>