Fri, 16 Jan 2015 18:13:44 +0100
Integrate suggestion from review to improve consistency with existing code.
1 <!--
2 Any copyright is dedicated to the Public Domain.
3 http://creativecommons.org/publicdomain/zero/1.0/
4 -->
5 <svg xmlns="http://www.w3.org/2000/svg" width="700" height="200" viewBox="0 0 700 200">
6 <linearGradient id="g" gradientUnits="userSpaceOnUse" x1="0" y1="-13" x2="0" y2="3">
7 <stop offset="0" stop-color="red"/>
8 <stop offset="1" stop-color="yellow"/>
9 </linearGradient>
10 <g transform="translate(100,100)">
11 <rect x="0" y="-13" width="16" height="16" fill="url(#g)"/>
12 <rect x="0" y="-13" width="16" height="16" stroke="black" stroke-width="2" fill="none"/>
13 </g>
14 </svg>