377592-1.svg 758 B

12345678910111213141516171819202122232425262728
  1. <svg xmlns="http://www.w3.org/2000/svg"
  2. xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  3. onload="setTimeout(boom, 30);"
  4. class="reftest-wait">
  5. <script>
  6. var emptyBinding = "url('data:text/xml,%3Cbindings%20xmlns%3D%22http%3A%2F%2Fwww.mozilla.org%2Fxbl%22%3E%3Cbinding%20id%3D%22foo%22%3E%3Ccontent%3E%0A%0A%20%20%20%20%0A%3C%2Fcontent%3E%3C%2Fbinding%3E%3C%2Fbindings%3E%0A')";
  7. function boom()
  8. {
  9. var foreignObject = document.getElementById("foreignObject")
  10. foreignObject.style.MozBinding = emptyBinding;
  11. document.documentElement.removeAttribute("class");
  12. }
  13. </script>
  14. <foreignObject width="500" height="500" transform="scale(.7,.7)" id="foreignObject" y="300">
  15. <xul:menuitem />
  16. </foreignObject>
  17. </svg>