Wed, 31 Dec 2014 06:55:50 +0100
Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2
michael@0 | 1 | <svg xmlns="http://www.w3.org/2000/svg" |
michael@0 | 2 | xmlns:xlink="http://www.w3.org/1999/xlink" |
michael@0 | 3 | class="reftest-wait"> |
michael@0 | 4 | |
michael@0 | 5 | <script type="application/javascript"> |
michael@0 | 6 | document.addEventListener("MozReftestInvalidate", doTest, false); |
michael@0 | 7 | |
michael@0 | 8 | function doTest() { |
michael@0 | 9 | document.getElementById('red').setAttribute('fill', 'green'); |
michael@0 | 10 | document.documentElement.removeAttribute('class'); |
michael@0 | 11 | } |
michael@0 | 12 | |
michael@0 | 13 | </script> |
michael@0 | 14 | |
michael@0 | 15 | <!-- Tests that patterns are live to fill attribute changes. --> |
michael@0 | 16 | |
michael@0 | 17 | <pattern patternUnits="userSpaceOnUse" id="pat1" width="20" height="20"> |
michael@0 | 18 | <rect x="10" y="10" width="10" height="10" fill="red" id="red" /> |
michael@0 | 19 | </pattern> |
michael@0 | 20 | |
michael@0 | 21 | <rect x="25" y="25" width="430" height="60" stroke="black" fill="url(#pat1)" /> |
michael@0 | 22 | |
michael@0 | 23 | </svg> |