layout/reftests/svg/use-02-extref-resource.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 <?xml version="1.0"?>
     2 <svg xmlns="http://www.w3.org/2000/svg">
     3   <g color="ghostwhite">
     4     <defs>
     5       <linearGradient id="linearGrad1" gradientUnits="objectBoundingBox" y1="0" x1="0" y2="1" x2="1" >
     6       	<stop offset="000%" stop-color="orange" />
     7       	<stop offset="033%" stop-color="red"    />
     8       	<stop offset="050%" stop-color="gold"   />
     9       	<stop offset="066%" stop-color="red"    />
    10       	<stop offset="100%" stop-color="orange" />
    11       </linearGradient>
    13       <radialGradient id="radialGrad1" gradientUnits="objectBoundingBox" cx="0.5" cy="0.5" r="0.5" fx="0.15" fy="0.15" >
    14       	<stop offset="000%" stop-color="orange" />
    15       	<stop offset="033%" stop-color="red"    />
    16       	<stop offset="050%" stop-color="gold"   />
    17       	<stop offset="066%" stop-color="red"    />
    18       	<stop offset="100%" stop-color="orange" />
    19       </radialGradient>
    20     </defs>
    22     <g>
    23       <rect id="rect1" x="0" y="0" width="200" height="125" stroke="none" />
    24       <rect id="rect2" x="200" y="0" width="200" height="125" stroke="none" />
    25       <rect id="rect3" x="0" y="125" width="200" height="125" stroke="none" fill="currentColor"/>
    26       <rect id="rect4" x="200" y="125" width="200" height="125" stroke="none" fill="url(#radialGrad1)" />
    27     </g>
    28   </g>
    29 </svg>

mercurial