suspend-05.svg 624 B

12345678910111213141516171819202122
  1. <?xml version="1.0"?>
  2. <!--
  3. Any copyright is dedicated to the Public Domain.
  4. http://creativecommons.org/licenses/publicdomain/
  5. -->
  6. <svg xmlns="http://www.w3.org/2000/svg" class="reftest-wait" onload="f()">
  7. <title>Test that unsuspendRedrawAll works</title>
  8. <!-- https://bugzilla.mozilla.org/show_bug.cgi?id=615146 -->
  9. <script>
  10. function f() {
  11. var svg = document.documentElement;
  12. svg.suspendRedraw(10000);
  13. setTimeout(function() {
  14. svg.unsuspendRedrawAll();
  15. svg.removeAttribute("class");
  16. }, 1);
  17. }
  18. </script>
  19. <rect width="100%" height="100%" fill="lime"/>
  20. </svg>