3 Any copyright is dedicated to the Public Domain.
4 http://creativecommons.org/licenses/publicdomain/
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 -->
12 var svg = document.documentElement;
13 setTimeout(function() {
14 svg.suspendRedraw(
10000);
15 setTimeout(function() {
16 var r = document.createElementNS(
"http://www.w3.org/2000/svg",
"rect");
17 r.setAttribute(
"width",
"100%");
18 r.setAttribute(
"height",
"100%");
19 r.setAttribute(
"fill",
"lime");
21 svg.unsuspendRedrawAll();
22 svg.removeAttribute(
"class");
27 <rect width=
"100%" height=
"100%" fill=
"red"/>