border-image-slice-004.htm (1305B)
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-slice' property with two values</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-slice" /> 7 <link rel="match" href="reference/border-image-slice-004-ref.html" /> 8 <meta name="flags" content="image" /> 9 <meta name="assert" content="This test checks that if the third and fourth values of inward offsets in the 'border-image-slice' properties used for bottom and left sides are missing, then bottom offset is the same as the top, and left offset is the same as right one." /> 10 <style type="text/css"> 11 div 12 { 13 border: 30px double red; 14 border-image-slice: 20 40; 15 border-image-source: url("support/9grid20-40-red.png"); 16 height: 100px; 17 margin: 50px; 18 width: 100px; 19 } 20 </style> 21 </head> 22 <body> 23 <p>Test passes if there is no red color visible on the page.</p> 24 <div></div> 25 </body> 26 </html>