gecko/layout/svg/crashtests/386566-1.svg
jruderman@hmc.edu a2e7301a9f Add crashtest
2008-03-26 16:54:47 -07:00

22 lines
546 B
XML

<svg xmlns="http://www.w3.org/2000/svg" height="5" onload="setTimeout(boom, 30);" class="reftest-wait">
<bindings xmlns="http://www.mozilla.org/xbl"><binding id="foo"><content></content></binding></bindings>
<script>
function boom()
{
document.getElementById("rr").style.MozBinding = "url('#foo')";
document.documentElement.setAttribute('height', "5px");
setTimeout(done, 30);
}
function done()
{
document.documentElement.removeAttribute("class");
}
</script>
<rect id="rr" x="50%" width="25%" height="10em" fill="red"/>
</svg>