layout/svg/crashtests/386566-1.svg

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/svg/crashtests/386566-1.svg	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,21 @@
     1.4 +<svg xmlns="http://www.w3.org/2000/svg" height="5" onload="setTimeout(boom, 30);" class="reftest-wait">
     1.5 +     
     1.6 +<bindings xmlns="http://www.mozilla.org/xbl"><binding id="foo"><content></content></binding></bindings>
     1.7 +
     1.8 +<script>
     1.9 +function boom()
    1.10 +{
    1.11 +  document.getElementById("rr").style.MozBinding = "url('#foo')";
    1.12 +  document.documentElement.setAttribute('height', "5px");
    1.13 +  setTimeout(done, 30);
    1.14 +}
    1.15 +
    1.16 +function done()
    1.17 +{
    1.18 +  document.documentElement.removeAttribute("class");
    1.19 +}
    1.20 +</script>
    1.21 +
    1.22 +<rect id="rr" x="50%" width="25%" height="10em" fill="red"/>
    1.23 +
    1.24 +</svg>

mercurial