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/svg/script-empty-01.svg
<!--
Any copyright is dedicated to the Public Domain.
-->
<title>Testcase for that xlink:href attribute overrides script content</title>
<rect id="r" width="100%" height="100%" fill="lime"/>
<script xlink:href="">
document.getElementById("r").style.fill = "red";
</script>
</svg>