tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

href-gradient-element.html (1203B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>href - gradient element</title>
      4 <meta name="assert" content="The gradient element should accept href">
      5 <link rel="match" href="href-gradient-element-ref.html">
      6 <body>
      7  <svg width="300" height="300" viewBox="0 0 300 300"
      8       xmlns:xlink="http://www.w3.org/1999/xlink">
      9    <linearGradient id="MyGradient">
     10      <stop offset="5%"  stop-color="green"/>
     11      <stop offset="95%" stop-color="gold"/>
     12    </linearGradient>
     13    <linearGradient id="MyGradient2">
     14      <stop offset="5%"  stop-color="red"/>
     15      <stop offset="95%" stop-color="blue"/>
     16    </linearGradient>
     17    <linearGradient id="CopiedGradient" href="#MyGradient"
     18                    xlink:href="#MyGradient2">
     19    </linearGradient>
     20    <rect fill="url(#CopiedGradient)" stroke="black" x="0" y="0"
     21          width="100" height="100"/>
     22 
     23    <radialGradient id="MyRadialGradient">
     24      <stop offset="0%" stop-color="red"/>
     25      <stop offset="100%" stop-color="blue"/>
     26    </radialGradient>
     27    <radialGradient id="CopiedRadialGradient" href="#MyRadialGradient"/>
     28    <rect x="110" y="0" rx="15" ry="15" width="100" height="100"
     29          fill="url(#CopiedRadialGradient)"/>
     30  </svg>
     31 </body>