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/489868-1.svg
<svg xmlns:xlink="http://www.w3.org/1999/xlink" ↩
class="reftest-wait">↩
<html:style>↩
.gencon:after { content: counter(chicken); }↩
</html:style>↩
<script type="text/javascript">↩
var dc;↩
var defs;↩
function boom()↩
{↩
var define = document.getElementById("define");↩
define.setAttribute("class", "gencon");↩
document.documentElement.removeAttribute("class");↩
}↩
window.addEventListener("load", boom, false);↩
</script>↩
<defs id="defs">↩
<g id="define">↩
<rect x="0" y="0" width="75" height="75" fill="green"/>↩
</g>↩
</defs>↩
<use xlink:href="#define" x="20" y="20" id="use" />↩
</svg>↩