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

Wed, 31 Dec 2014 06:55:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:55:50 +0100
changeset 2
7e26c7da4463
permissions
-rw-r--r--

Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2

     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>

mercurial