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/dynamic-marker-02.svg
<!--
Any copyright is dedicated to the Public Domain.
-->
<svg xmlns="http://www.w3.org/2000/svg" class="reftest-wait">
<script>
<![CDATA[
document.addEventListener("MozReftestInvalidate", doTest, false);
setTimeout(doTest, 4000); // fallback for running outside reftest
function doTest() {
n = document.getElementById("m1");
n.style.overflow = "visible";
document.documentElement.removeAttribute("class");
}
]]>
</script>
<defs>
<marker id="m1" orient="auto" markerUnits="strokeWidth">
<rect width="100%" height="100%" fill="blue"/>
</marker>
</defs>
<rect width="100%" height="100%" fill="yellow"/>
<line x1="30" x2="30" y1="10" y2="10" stroke="red" stroke-width="3" marker-end="url(#m1)"/>
</svg>