border-image-repeat-004.htm (1325B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <title>CSS Test: The 'border-image-repeat' property with 'stretch' as a value</title> 5 <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> 6 <link rel="help" href="http://www.w3.org/TR/css3-background/#the-border-image-repeat" /> 7 <link rel="match" href="reference/border-image-repeat-004-ref.html" /> 8 <meta name="flags" content="image" /> 9 <meta name="assert" content="This test checks that the 'stretch' value for 'border-image-repeat' property specifies that the image is stretched to fill the sides of the border image area." /> 10 <style type="text/css"> 11 div 12 { 13 border: 40px double red; 14 border-image-repeat: stretch; 15 border-image-slice: 27; 16 border-image-source: url("support/blue-and-red-diamonds-81x81.png"); 17 height: 100px; 18 margin: 70px; 19 width: 100px; 20 } 21 </style> 22 </head> 23 <body> 24 <p>Test passes if there is only one (and streched) blue diamond on each side of the border.</p> 25 <div></div> 26 </body> 27 </html>