border-image-width-009-ref.html (815B)
1 <!DOCTYPE html> 2 3 <meta charset="UTF-8"> 4 5 <title>CSS Reference Test</title> 6 7 <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/"> 8 9 <style> 10 div 11 { 12 border: transparent solid 50px; 13 border-image-source: url("../support/9-colored-areas.png"); 14 border-image-slice: 5% 10% 15% 20%; 15 margin-bottom: 8px; 16 width: 0px; 17 } 18 19 div#sub-test1 20 { 21 border-image-width: 50px; 22 } 23 24 div#sub-test2 25 { 26 border-image-width: 50px 30px; 27 } 28 29 div#sub-test3 30 { 31 border-image-width: 70px 0px 30px 0px; 32 } 33 34 div#sub-test4 35 { 36 border-image-width: 0px 70px 0px 30px; 37 } 38 </style> 39 40 <div id="sub-test1"></div> 41 42 <div id="sub-test2"></div> 43 44 <div id="sub-test3"></div> 45 46 <div id="sub-test4"></div>