layout/reftests/svg/dynamic-use-nested-01b.svg

Thu, 15 Jan 2015 21:13:52 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:13:52 +0100
branch
TOR_BUG_9701
changeset 12
7540298fafa1
permissions
-rw-r--r--

Remove forgotten relic of ABI crash risk averse overloaded method change.

     1 <svg xmlns="http://www.w3.org/2000/svg" version="1.1"
     2      xmlns:xlink="http://www.w3.org/1999/xlink"
     3      onload="setTimeout(boom, 50);" class="reftest-wait">
     5 <script><![CDATA[
     7 // reftest for bug 467498
     9 function boom()
    10 {
    11   var rect = document.getElementById("rect");
    12   rect.setAttribute("height", "100%");
    13   document.documentElement.removeAttribute('class');
    14 }
    16 ]]></script>
    18   <g style="fill: blue;">
    19     <g id="g1">
    20       <rect id="rect" x="20%" width="4%" height="20%"/>
    21     </g>
    22   </g>
    24   <g style="fill: green;">
    25     <g id="g2">
    26       <use x="20%" xlink:href="#g1"/>
    27     </g>
    28   </g>
    30   <g style="fill: red;">
    31     <use x="20%" xlink:href="#g2"/>
    32   </g>
    34 </svg>

mercurial