Bug 1649121: part 48) Rename `MakeEmpty` in `ContentIteratorBase::InitInternal`....
[gecko.git] / layout / reftests / svg / dynamic-inner-svg-01.svg
blob8709a574a6d89b87210e337cdd78108e7c824c1f
1 <!--
2 Any copyright is dedicated to the Public Domain.
3 http://creativecommons.org/publicdomain/zero/1.0/
4 -->
5 <svg xmlns="http://www.w3.org/2000/svg" class="reftest-wait"
6 onload="startTest()">
8 <script>
9 <![CDATA[
11 function startTest() {
12 document.addEventListener("MozReftestInvalidate", boom, false);
13 setTimeout(boom, 4000); // fallback for running outside reftest
16 function boom() {
17 document.getElementById('inner1').setAttribute('x', 20);
18 document.getElementById('inner2').setAttribute('width', 100);
19 document.documentElement.removeAttribute("class");
22 ]]>
23 </script>
25 <rect width="100%" height="100%" fill="lime"/>
27 <rect x="20" y="20" width="100" height="100" fill="red"/>
29 <svg id="inner1" x="260" y="20" width="100" height="100">
30 <rect x="0" y="0" width="100" height="100" fill="lime"/>
31 </svg>
33 <rect x="20" y="140" width="100" height="100" fill="red"/>
35 <svg id="inner2" x="20" y="140" width="1" height="100">
36 <rect x="0" y="0" width="100" height="100" fill="lime"/>
37 </svg>
39 </svg>