href-pattern-element.html (897B)
1 <!DOCTYPE html> 2 <meta charset="utf-8"> 3 <title>href - pattern element</title> 4 <meta name="assert" content="The pattern element should accept href"> 5 <link rel="match" href="href-pattern-element-ref.html"> 6 <body> 7 <svg width="300" height="300" viewBox="0 0 300 300"> 8 <pattern id="Pattern" x="0" y="0" width=".25" height=".25"> 9 <rect x="0" y="0" width="25" height="25" fill="skyblue"/> 10 <circle cx="25" cy="25" r="20" fill="green" fill-opacity="0.5"/> 11 </pattern> 12 <pattern id="Pattern2" x="0" y="0" width=".25" height=".25"> 13 <rect x="0" y="0" width="25" height="25" fill="skyblue"/> 14 <circle cx="25" cy="25" r="20" fill="red" fill-opacity="0.5"/> 15 </pattern> 16 <pattern id="CopiedPattern" href="#Pattern" xlink:href="#Pattern2"> 17 </pattern> 18 <rect fill="url(#CopiedPattern)" stroke="black" x="0" y="0" 19 width="200" height="200"/> 20 </svg> 21 </body>