no bug - Import translations from android-l10n r=release a=l10n CLOSED TREE
[gecko.git] / layout / reftests / svg / dynamic-conditions-08.svg
blob7b82d35bfa45692cb34cb40879a3315420c72b8c
1 <?xml version="1.0"?>
2 <!--
3 Any copyright is dedicated to the Public Domain.
4 http://creativecommons.org/publicdomain/zero/1.0/
5 -->
6 <svg xmlns="http://www.w3.org/2000/svg" class="reftest-wait" onload="f()" requiredFeatures="x">
7 <title>Test that changing conditional processing attributes dynamically on outer 'svg' elements while redraw is suspended is honored</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.setAttribute("requiredFeatures", "http://www.w3.org/TR/SVG11/feature#Gradient");
16 svg.unsuspendRedrawAll();
17 setTimeout(function() {
18 svg.removeAttribute("class");
19 }, 1);
20 }, 1);
22 </script>
23 <rect width="100%" height="100%" fill="lime"/>
24 </svg>