layout/reftests/svg/dynamic-use-remove-width.svg

branch
TOR_BUG_9701
changeset 14
925c144e1f1f
equal deleted inserted replaced
-1:000000000000 0:b9bfb7afb311
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 -->
3
4 <defs>
5 <svg id="d">
6 <rect height="50%" width="100%" fill="blue" />
7 </svg>
8 </defs>
9
10 <use id="u" xlink:href="#d" height="100%" width="11%" />
11
12 <script>
13 function boom()
14 {
15 document.getElementById("u").removeAttribute("width");
16 }
17 window.addEventListener("load", boom, false);
18 </script>
19
20 </svg>

mercurial