layout/reftests/svg/suspend-05.svg

Wed, 31 Dec 2014 06:55:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:55:50 +0100
changeset 2
7e26c7da4463
permissions
-rw-r--r--

Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2

     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 -->
    10   <script>
    11     function f() {
    12       var svg = document.documentElement;
    13       svg.suspendRedraw(10000);
    14       setTimeout(function() {
    15         svg.unsuspendRedrawAll();
    16         svg.removeAttribute("class");
    17       }, 1);
    18     }
    19   </script>
    20   <rect width="100%" height="100%" fill="lime"/>
    21 </svg>

mercurial