1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/svg/dynamic-marker-02.svg Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,36 @@ 1.4 +<!-- 1.5 + Any copyright is dedicated to the Public Domain. 1.6 + http://creativecommons.org/publicdomain/zero/1.0/ 1.7 +--> 1.8 +<svg xmlns="http://www.w3.org/2000/svg" class="reftest-wait" 1.9 + onload="startTest()"> 1.10 + 1.11 +<script> 1.12 +<![CDATA[ 1.13 + 1.14 +function startTest() { 1.15 + document.addEventListener("MozReftestInvalidate", boom, false); 1.16 + setTimeout(boom, 4000); // fallback for running outside reftest 1.17 +} 1.18 + 1.19 +function boom() { 1.20 + n = document.getElementById("m1"); 1.21 + n.style.overflow = "visible"; 1.22 + document.documentElement.removeAttribute("class"); 1.23 +} 1.24 + 1.25 +]]> 1.26 +</script> 1.27 + 1.28 + <defs> 1.29 + <marker id="m1" orient="auto" markerUnits="strokeWidth"> 1.30 + <rect width="100%" height="100%" fill="blue"/> 1.31 + </marker> 1.32 + </defs> 1.33 + 1.34 + 1.35 + <rect width="100%" height="100%" fill="yellow"/> 1.36 + 1.37 + <line x1="30" x2="30" y1="10" y2="10" stroke="red" stroke-width="3" marker-end="url(#m1)"/> 1.38 + 1.39 +</svg>