Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

SVG Preview (Scaled)

Preview of https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/reftests/bugs/978911-1.svg
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" class="reftest-wait">
<title>The circle should shrink and move to upper-left a bit.
It should remain a circle, with no artifacts left behind.</title>
<script>
document.addEventListener("MozReftestInvalidate", doTest, false);
function doTest() {
document.getElementById("target").setAttribute("transform", "scale(1.8)");
document.documentElement.removeAttribute("class");
}
</script>
<defs>
<circle id="smiley" fill="orange" cx="50" cy="50" r="20"/>
</defs>
<use id="target" xlink:href="#smiley" transform="scale(2)"/>
</svg>