summaryrefslogtreecommitdiffstats
path: root/layout/svg/crashtests/386566-1.svg
blob: fd44879c4fead8fe8c83bb000cf20043bb64270e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<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>