Fri, 16 Jan 2015 18:13:44 +0100
Integrate suggestion from review to improve consistency with existing code.
1 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
2 <!-- this is a test for https://bugzilla.mozilla.org/show_bug.cgi?id=521682 -->
4 <defs>
5 <svg id="d">
6 <rect height="50%" width="100%" fill="blue" />
7 </svg>
8 </defs>
10 <use id="u" xlink:href="#d" height="100%" width="11%" />
12 <script>
13 function boom()
14 {
15 document.getElementById("u").removeAttribute("width");
16 }
17 window.addEventListener("load", boom, false);
18 </script>
20 </svg>