clip-path-strokeBox-1b.html (839B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>CSS Masking: clip-path: clip path stroke-box</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 <link rel="help" href="https://www.w3.org/TR/css-masking-1/#the-clip-path"> 9 <link rel="match" href="clip-path-geometryBox-1-ref.html"> 10 <meta name="fuzzy" content="maxDifference=0-64; totalPixels=0-260"> 11 <meta name="assert" content="Test checks whether clip-path stroke-box works correctly or not."> 12 </head> 13 <body> 14 <svg width="200" height="200" style="position: absolute; left: 0px; top: 0px;"> 15 <rect x="60" y="60" width="80" height="80" fill="blue" stroke="blue" stroke-width="20" clip-path="circle(50%) stroke-box"/> 16 </svg> 17 </body> 18 </html>