Bug 1649121: part 48) Rename `MakeEmpty` in `ContentIteratorBase::InitInternal`....
[gecko.git] / layout / reftests / svg / pattern-live-01b.svg
blob60011c4efa0e2744c9d23c0503b973e4c95b5eb9
1 <svg xmlns="http://www.w3.org/2000/svg"
2 xmlns:xlink="http://www.w3.org/1999/xlink"
3 class="reftest-wait">
5 <script type="application/javascript">
6 document.addEventListener("MozReftestInvalidate", doTest, false);
8 function doTest() {
9 document.getElementById('red').setAttribute('fill', 'green');
10 document.documentElement.removeAttribute('class');
13 </script>
15 <!-- Tests that patterns are live to fill attribute changes. -->
17 <pattern patternUnits="userSpaceOnUse" id="pat1" width="20" height="20">
18 <rect x="10" y="10" width="10" height="10" fill="red" id="red" />
19 </pattern>
21 <rect x="25" y="25" width="430" height="60" stroke="black" fill="url(#pat1)" />
23 </svg>