Backed out 6 changesets (bug 1921980) for causing wrench bustages. CLOSED TREE
[gecko.git] / layout / reftests / svg / dynamic-use-remove-width.svg
blobcadfa43f410ddf93481138837a46ec7fb763c595
1 <svg xmlns="http://www.w3.org/2000/svg"
2 xmlns:xlink="http://www.w3.org/1999/xlink"
3 class="reftest-wait">
4 <!-- this is a test for https://bugzilla.mozilla.org/show_bug.cgi?id=521682 -->
6 <defs>
7 <svg id="d">
8 <rect height="50%" width="100%" fill="blue" />
9 </svg>
10 </defs>
12 <use id="u" xlink:href="#d" height="100%" width="11%" />
14 <script>
15 document.addEventListener("MozReftestInvalidate", doTest, false);
16 setTimeout(doTest, 4000); // fallback for running outside reftest
18 function doTest() {
19 document.getElementById("u").removeAttribute("width");
20 document.documentElement.removeAttribute('class');
22 </script>
24 </svg>