border-image-outset-004.html (807B)
1 <!doctype html> 2 <title>border-image w/ non-zero outsets</title> 3 <link rel="help" href="https://drafts.csswg.org/css-backgrounds/#border-images"> 4 <link rel="help" href="https://issues.chromium.org/378404999"> 5 <link rel="match" href="reference/ref-filled-green-100px-square.xht"> 6 <style> 7 #target { 8 position: absolute; 9 top: 10px; 10 left: 10px; 11 width: 80px; 12 height: 80px; 13 background: conic-gradient(rgba(255, 0, 0, 0.5) 0 0), conic-gradient(red 0 0); 14 border-image: conic-gradient(green 0 0) 1 fill / 10px / 10px; 15 } 16 #back { 17 position: relative; 18 width: 100px; 19 height: 100px; 20 background-color: red; 21 } 22 </style> 23 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 24 <div id="back"> 25 <img id="target" src="support/green_color.png"> 26 </div>