border-image-006.html (1083B)
1 <!DOCTYPE html> 2 3 <meta charset="UTF-8"> 4 5 <title>CSS Backgrounds and Borders Test: border-image-slice (basic)</title> 6 7 <link rel="author" title="Jérémie Patonnier" href="mailto:jeremie@patonnier.net"> 8 <link rel="help" href="http://www.w3.org/TR/css3-background/#border-image-slice"> 9 <link rel="match" href="reference/border-image-006-ref.html"> 10 11 <meta name="flags" content=""> 12 13 <!-- 14 15 This is a follow-up to 16 Pull Request 8788: Update css-backgrounds/border-image tests 17 https://github.com/web-platform-tests/wpt/pull/8788 18 19 Credit should go to Chris Nardi for trying to fix 20 16 border-image tests with 2 relevant commits 21 22 --> 23 24 <style> 25 div#outer-test 26 { 27 border: red solid 25px; 28 width: 50px; 29 30 border-image-source: url("support/1x1-green.png"); 31 } 32 33 div#inner-blue 34 { 35 border: blue solid 1px; 36 height: 48px; 37 } 38 </style> 39 40 <p>Test passes if there is an hollow blue square with smaller filled green squares at its corners and <strong>no red</strong>. 41 42 <div id="outer-test"> 43 <div id="inner-blue"></div> 44 </div>