clip-path-borderBox-1b.html (877B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>CSS Masking: clip-path: clip path border-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="assert" content="Test checks whether clip-path border-box works correctly or not. This test is for clip-path applied to an SVG element."> 11 <meta name="fuzzy" content="maxDifference=0-70; totalPixels=0-500"> 12 </head> 13 <body> 14 <svg width="200" height="200" style="position: absolute; left: 15px; top: 10px;"> 15 <rect x="35" y="40" width="100" height="100" fill="blue" 16 clip-path="circle(50%) border-box"/> 17 </svg> 18 </body> 19 </html>