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

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

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

mercurial