clip-path-localRef-1-ref.html (631B)
1 <!DOCTYPE HTML> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>Reference for clip-path linked to local-ref URL</title> 6 <link rel="author" title="CJ Ku" href="mailto:cku@mozilla.com"> 7 <link rel="author" title="Mozilla" href="https://www.mozilla.org"> 8 <svg height="0" width="0"> 9 <defs> 10 <clipPath id="c1"> 11 <circle cy="110" cx="137" r="90" /> 12 </clipPath> 13 </defs> 14 </svg> 15 <style> 16 div { 17 width: 300px; 18 height: 300px; 19 background-color: blue; 20 clip-path: url(#c1); 21 } 22 </style> 23 </head> 24 <body> 25 <div></div> 26 </body> 27 </html>