Bug 1919788 - LSNG: Always acquire a directory lock for PreparedDatastoreOp; r=dom...
[gecko.git] / layout / reftests / svg / suspend-07.svg
blob25f6e337f7f7ce640c3bb1c509806c6321a0cbd2
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 setTimeout(function() {
14 svg.suspendRedraw(10000);
15 setTimeout(function() {
16 svg.removeChild(document.getElementById("r"));
17 svg.unsuspendRedrawAll();
18 svg.removeAttribute("class");
19 }, 1);
20 }, 1);
22 </script>
23 <rect width="100%" height="100%" fill="lime"/>
24 <rect id="r" width="100%" height="100%" fill="red"/>
25 </svg>