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

Fri, 16 Jan 2015 18:13:44 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 18:13:44 +0100
branch
TOR_BUG_9701
changeset 14
925c144e1f1f
permissions
-rw-r--r--

Integrate suggestion from review to improve consistency with existing code.

     1 <svg xmlns="http://www.w3.org/2000/svg" version="1.1"
     2      xmlns:xlink="http://www.w3.org/1999/xlink" >
     4   <g style="fill: blue;">
     5     <g id="g1">
     6       <rect id="rect" x="20%" width="4%" height="100%"/>
     7     </g>
     8   </g>
    10   <g style="fill: green;">
    11     <g id="g2">
    12       <use x="20%" xlink:href="#g1"/>
    13     </g>
    14   </g>
    16   <g style="fill: red;">
    17     <use x="20%" xlink:href="#g2"/>
    18   </g>
    20 </svg>

mercurial